CN111263307A - A kind of network hosting method and device, storage medium - Google Patents

A kind of network hosting method and device, storage medium Download PDF

Info

Publication number
CN111263307A
CN111263307A CN202010092008.0A CN202010092008A CN111263307A CN 111263307 A CN111263307 A CN 111263307A CN 202010092008 A CN202010092008 A CN 202010092008A CN 111263307 A CN111263307 A CN 111263307A
Authority
CN
China
Prior art keywords
incoming call
communication device
data service
call request
preset
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.)
Granted
Application number
CN202010092008.0A
Other languages
Chinese (zh)
Other versions
CN111263307B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010092008.0A priority Critical patent/CN111263307B/en
Publication of CN111263307A publication Critical patent/CN111263307A/en
Application granted granted Critical
Publication of CN111263307B publication Critical patent/CN111263307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • 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)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请一示例性实施例公开了一种网络托管方法,所述方法应用于具有通信功能的通信设备,包括:中断所述通信设备与数据业务的连接;当检测到的来电请求时,将所述来电请求转移至预设的托管中心;当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求。本申请一示例性实施例还同时提供了一种网络托管装置及计算机存储介质。

Figure 202010092008

An exemplary embodiment of the present application discloses a network hosting method, which is applied to a communication device with a communication function, and includes: interrupting the connection between the communication device and a data service; when an incoming call request is detected, transferring the incoming call request to a preset hosting center; when an incoming call request reported by the preset hosting center is received, accessing the data service to respond to the incoming call request. An exemplary embodiment of the present application also provides a network hosting device and a computer storage medium.

Figure 202010092008

Description

一种网络托管方法及装置、存储介质A kind of network hosting method and device, storage medium

技术领域technical field

本申请涉及语音通话技术,涉及但不限于一种网络托管方法及装置、存储介质。The present application relates to voice call technology, and relates to, but is not limited to, a network hosting method and device, and a storage medium.

背景技术Background technique

在相关技术中,很多时候手机只要有数据业务可以上网即可,而无需关心到底使用的是无线局域网(Wireless Local Area Network,WLAN)或者数据业务网络,用户如果在一个相对位置固定的地方可以使用WLAN,那么此时数据业务就不是必须的,只有通话业务此时是必须的,这种情况下如果手机一直通过用户识别卡(Subscriber Identity Module,SIM)驻网,由于需要持续与基站进行通信,需要消耗大量的功耗。In the related art, in many cases, the mobile phone can access the Internet as long as it has data services, and does not need to care about whether the wireless local area network (WLAN) or data service network is used. WLAN, then the data service is not necessary at this time, only the call service is necessary at this time. In this case, if the mobile phone is always on the network through the Subscriber Identity Module (SIM), because it needs to communicate with the base station continuously, Need to consume a lot of power consumption.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请一示例性实施例为解决相关技术中存在的至少一个问题而提供一种网络托管方法及装置、存储介质。In view of this, an exemplary embodiment of the present application provides a network hosting method and device, and a storage medium to solve at least one problem existing in the related art.

本申请一示例性实施例的技术方案是这样实现的:The technical solution of an exemplary embodiment of the present application is implemented as follows:

本申请一示例性实施例提供了一种网络托管方法,应用于具有通信功能的通信设备,所述方法包括:An exemplary embodiment of the present application provides a network hosting method, which is applied to a communication device with a communication function, and the method includes:

中断所述通信设备与所属运营商的数据业务的连接;Interrupting the connection between the communication device and the data service of the operator to which it belongs;

当检测到的来电请求时,将所述来电请求转移至预设的托管中心;When an incoming call request is detected, transfer the incoming call request to a preset hosting center;

当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求。When an incoming call request reported by the preset hosting center is received, the data service is accessed to respond to the incoming call request.

在上述方法中,在所述中断所述通信设备与所属运营商的数据业务的连接之前,所述方法还包括:In the above method, before the connection between the communication device and the data service of the operator to which it belongs is interrupted, the method further includes:

确定所述通信设备处于当前位置的时长;determining how long the communication device has been in the current location;

对应地,所述中断所述通信设备与所属运营商的数据业务的连接,包括:Correspondingly, the interruption of the connection between the communication device and the data service of the operator includes:

如果所述时长大于等于时长阈值,确定所述通信设备当前连接的运营商的数据业务;If the duration is greater than or equal to the duration threshold, determine the data service of the operator to which the communication device is currently connected;

注销所述通信设备与所述数据业务的连接。The connection of the communication device to the data service is deregistered.

在上述方法中,在所述中断所述通信设备与所属运营商的数据业务的连接之前,所述方法还包括:In the above method, before the connection between the communication device and the data service of the operator to which it belongs is interrupted, the method further includes:

获取用于接收来电业务的所述预设的托管中心;obtaining the preset hosting center for receiving the incoming call service;

开启呼叫转移功能,将来电业务转移至所述预设的托管中心。Turn on the call transfer function to transfer the incoming call service to the preset hosting center.

在上述方法中,在所述获取所述预设的托管中心之后,所述方法还包括:In the above method, after obtaining the preset hosting center, the method further includes:

接入所述通信设备所处位置的当前局域网;Access the current local area network where the communication device is located;

采用所述预设的托管中心,将检测到的来电请求通过所述当前局域网上报至所述通信设备。Using the preset hosting center, the detected incoming call request is reported to the communication device through the current local area network.

在上述方法中,所述当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求,包括:In the above method, when receiving an incoming call request reported by the preset hosting center, accessing the data service to respond to the incoming call request includes:

当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务;When receiving the incoming call request reported by the preset hosting center, register the data service;

采用所述数据业务中的通话业务,响应所述来电请求。Using the call service in the data service to respond to the incoming call request.

在上述方法中,在所述当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务之后,所述方法还包括:In the above method, after the data service is registered when the incoming call request reported by the preset hosting center is received, the method further includes:

关闭所述呼叫转移功能,以关闭所述预设的托管中心。Turn off the call forwarding function to turn off the preset hosting center.

在上述方法中,所述方法还包括:In the above method, the method further includes:

获取当前连接的所述局域网的网络信息;Obtain the network information of the currently connected local area network;

如果所述网络信息满足预设条件,关闭所述预设的托管中心。If the network information satisfies a preset condition, the preset hosting center is closed.

在上述方法中,所述方法还包括:In the above method, the method further includes:

如果检测到所述通信设备与所述局域网断开连接,关闭所述预设的托管中心,并接入所述数据业务。If it is detected that the communication device is disconnected from the local area network, the preset hosting center is closed, and the data service is accessed.

本申请一示例性实施例提供一种网络托管装置,所述装置包括:第一中断模块、第一转移模块和第一接入模块,其中:An exemplary embodiment of the present application provides a network hosting device, the device includes: a first interruption module, a first transfer module, and a first access module, wherein:

所述第一中断模块,用于中断所述通信设备与所属运营商的数据业务的连接;the first interruption module, configured to interrupt the connection between the communication device and the data service of the operator to which it belongs;

所述第一转移模块,用于当检测到的来电请求时,将所述来电请求转移至预设的托管中心;the first transfer module, configured to transfer the incoming call request to a preset hosting center when an incoming call request is detected;

所述第一接入模块,用于当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求。The first access module is configured to access the data service when receiving an incoming call request reported by the preset hosting center to respond to the incoming call request.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第一确定模块,用于确定所述通信设备处于当前位置的时长;a first determining module, configured to determine the duration that the communication device is in the current position;

对应地,所述第一中断模块,包括:Correspondingly, the first interrupt module includes:

第一确定子模块,用于如果所述时长大于等于时长阈值,确定所述通信设备当前连接的运营商的数据业务;a first determination submodule, configured to determine the data service of the operator currently connected to the communication device if the duration is greater than or equal to a duration threshold;

第一注销子模块,用于注销所述通信设备与所述数据业务的连接。The first deregistration submodule is used to deregister the connection between the communication device and the data service.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第一获取模块,用于获取用于接收来电业务的所述预设的托管中心;a first acquisition module, configured to acquire the preset hosting center for receiving an incoming call service;

第一开启模块,用于开启呼叫转移功能,将来电业务转移至所述预设的托管中心。The first enabling module is used for enabling the call transfer function to transfer the incoming call service to the preset hosting center.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第二接入模块,用于接入所述通信设备所处位置的当前局域网;a second access module, configured to access the current local area network where the communication device is located;

第一上报模块,用于采用所述预设的托管中心,将检测到的来电请求通过所述当前局域网上报至所述通信设备。The first reporting module is configured to use the preset hosting center to report the detected incoming call request to the communication device through the current local area network.

在上述装置中,所述第一接入模块,包括:In the above device, the first access module includes:

第一注册子模块,用于当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务;a first registration submodule, configured to register the data service when receiving an incoming call request reported by the preset hosting center;

第一响应子模块,用于采用所述数据业务中的通话业务,响应所述来电请求。The first response submodule is configured to respond to the incoming call request by using the call service in the data service.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第一关闭模块,用于关闭所述呼叫转移功能,以关闭所述预设的托管中心。The first closing module is used for closing the call forwarding function to close the preset hosting center.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第二获取模块,用于获取当前连接的所述局域网的网络信息;The second acquisition module is used to acquire the network information of the currently connected local area network;

第二关闭模块,用于如果所述网络信息满足预设条件,关闭所述预设的托管中心。A second closing module, configured to close the preset hosting center if the network information satisfies a preset condition.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第三关闭模块,用于如果检测到所述通信设备与所述局域网断开连接,关闭所述预设的托管中心,并接入所述数据业务。A third closing module, configured to close the preset hosting center and access the data service if it is detected that the communication device is disconnected from the local area network.

本申请一示例性实施例提供一种网络托管设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述网络托管方法中的步骤。An exemplary embodiment of the present application provides a network hosting device, including a memory and a processor, where the memory stores a computer program that can be executed on the processor, and when the processor executes the program, the above-mentioned network hosting method is implemented A step of.

本申请一示例性实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述网络托管方法中的步骤。An exemplary embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing network hosting method.

本申请一示例性实施例一示例性提供了一种网络托管方法及装置、存储介质,其中,首先断开通信设备与所属运营商的数据业务的连接,当检测到来电请求时,将来电请求转移到设定的托管中心,然后由托管中心上传给通信设备,这时通信设备接入数据业务,然后,采用数据业务中的通话业务响应来电请求,以实现通话功能;这样,当未检测到来电请求时,不接入数据业务,当检测到来电请求时,接入数据业务以响应来电请求,从而节省通信设备的功耗。An exemplary embodiment of the present application exemplarily provides a network hosting method and device, and a storage medium, wherein the connection between the communication device and the data service of the operator to which it belongs is firstly disconnected, and when an incoming call request is detected, the incoming call request It is transferred to the set hosting center, and then uploaded to the communication device by the hosting center. At this time, the communication device accesses the data service, and then uses the call service in the data service to respond to the incoming call request to realize the call function; When an incoming call request is made, the data service is not connected, and when an incoming call request is detected, the data service is connected to respond to the incoming call request, thereby saving the power consumption of the communication device.

附图说明Description of drawings

图1为本申请一示例性实施例网络托管方法实现流程示意图;FIG. 1 is a schematic diagram of the implementation flow of a network hosting method according to an exemplary embodiment of the present application;

图2为本申请一示例性实施例网络托管方法的另一实现流程示意图;FIG. 2 is a schematic flowchart of another implementation of a network hosting method according to an exemplary embodiment of the present application;

图3为申请一示例性实施例网络托管方法的应用场景示意图;3 is a schematic diagram of an application scenario of an application for a network hosting method according to an exemplary embodiment;

图4为本申请一示例性实施例网络托管装置的组成结构示意图;FIG. 4 is a schematic diagram of the composition and structure of a network hosting device according to an exemplary embodiment of the present application;

图5为本申请一示例性实施例的一种设备硬件实体示意图。FIG. 5 is a schematic diagram of a device hardware entity according to an exemplary embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请一示例性实施例中的附图,对本申请一示例性实施例中的技术方案进行清楚、完整地描述。The technical solutions in an exemplary embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings in an exemplary embodiment of the present application.

本申请一示例性实施例提出一种网络托管方法,该方法应用于通信设备,另外,该方法所实现的功能可以通过设备的处理器调用程序代码来实现,当然程序代码可以保存在计算机存储介质中,可见,该设备还包括处理器和存储介质。An exemplary embodiment of the present application proposes a network hosting method, which is applied to a communication device. In addition, the functions implemented by the method can be implemented by calling a program code by a processor of the device. Of course, the program code can be stored in a computer storage medium. , it can be seen that the device also includes a processor and a storage medium.

图1为本申请一示例性实施例网络托管方法实现流程示意图,如图1所示,所述方法包括以下步骤:FIG. 1 is a schematic diagram of the implementation flow of a network hosting method according to an exemplary embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:

步骤S101,中断所述通信设备与数据业务的连接。Step S101, the connection between the communication device and the data service is interrupted.

这里,该通信设备可以是任意具有通信功能的设备,比如,手机、平板电脑或者笔记本电脑等。将通信设备的数据业务注销,其中,所述数据业务包括网络业务和通话业务。在一些可能的实现方式中,首先要确定该移动设备中识别卡所接入的运营商的数据业务,然后,将该识别卡注销该数据业务,以使该通信设备当前不能连接数据业务,比如,将手机中的识别卡断开与数据业务的连接,使得该手机长时间驻网,降低功耗。Here, the communication device may be any device having a communication function, such as a mobile phone, a tablet computer, or a notebook computer. The data service of the communication device is cancelled, wherein the data service includes network service and call service. In some possible implementations, the data service of the operator to which the identification card in the mobile device is connected is first determined, and then the identification card is cancelled from the data service, so that the communication device cannot currently connect to the data service, such as , disconnect the identification card in the mobile phone from the data service, so that the mobile phone stays on the network for a long time and reduces power consumption.

步骤S102,当检测到的来电请求时,将所述来电请求转移至预设的托管中心。Step S102, when an incoming call request is detected, transfer the incoming call request to a preset hosting center.

这里,来电请求可以是其他通信设备发送的;预设的托管中心可以是第三方服务中心,用于接收来电业务的呼叫转移,并将接收到的来电业务通过网络上报至通信设备,以使通信设备接通数据业务。当该通信设备所属的基站检测到来电请求时,按照该通信设备中设定的呼叫转移,将来电请求转移至预设的托管中心。Here, the incoming call request may be sent by other communication devices; the preset hosting center may be a third-party service center, which is used to receive call transfer of incoming call services, and report the received incoming call services to the communication device through the network, so that the communication The device is connected to the data service. When the base station to which the communication device belongs detects an incoming call request, the incoming call request is transferred to a preset hosting center according to the call forwarding set in the communication device.

步骤S103,当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应来电请求。Step S103, when receiving the incoming call request reported by the preset hosting center, access the data service to respond to the incoming call request.

这里,将来电请求转移至预设的托管中心之后,该托管中心将来电请求上报给通信设备,通信设备接收到托管中心上报的来电请求之后,接入数据业务,从而采用数据业务中的通话业务响应来电请求;这样,在检测到来电请求的情况下,接通数据业务,避免长时间的驻网,从而能够降低功耗。Here, after the incoming call request is transferred to the preset hosting center, the hosting center reports the incoming call request to the communication device, and after receiving the incoming call request reported by the hosting center, the communication device accesses the data service, thereby using the call service in the data service. Respond to the incoming call request; in this way, when the incoming call request is detected, the data service is connected to avoid a long time on the network, so that the power consumption can be reduced.

在本申请一示例性实施例中,通过断开通信设备与所属运营商的数据业务的连接,当检测到来电请求时,将来电请求转移到设定的托管中心,然后由托管中心上传给通信设备,这时通信设备接入数据业务,然后,采用数据业务中的通话业务响应来电请求,以实现通话功能,从而节省通信设备的功耗。In an exemplary embodiment of the present application, by disconnecting the communication device from the data service of the operator to which it belongs, when an incoming call request is detected, the incoming call request is transferred to a set hosting center, and then the hosting center uploads it to the communication At this time, the communication device accesses the data service, and then uses the call service in the data service to respond to the incoming call request, so as to realize the call function, thereby saving the power consumption of the communication device.

在一些实施例中,为了保证断开通信设备的数据业务之后,仍然不影响该通信设备正常联网,所述方法还包括以下步骤,如图2所示,图2为本申请一示例性实施例网络托管方法的另一实现流程示意图,结合图2所示的步骤,进行以下说明:In some embodiments, in order to ensure that after the data service of the communication device is disconnected, the normal networking of the communication device is still not affected, the method further includes the following steps, as shown in FIG. 2 , which is an exemplary embodiment of the application Another schematic flow chart of the implementation of the network hosting method, combined with the steps shown in FIG. 2 , the following descriptions are made:

步骤S201,确定所述通信设备处于当前位置的时长。Step S201, determining the duration of the current position of the communication device.

在一些可能的实现方式中,确定通信设备处于当前位置的特定范围内的时长,比如,确定该通信设备处于当前位置的10米范围内的时长,该距离可以由局域网的覆盖范围决定,比如,局域网的覆盖范围是20米,那么确定该通信设备处于当前位置的20米范围内的时长。In some possible implementations, the length of time that the communication device is within a specific range of the current position is determined, for example, the length of time that the communication device is within 10 meters of the current position is determined, and the distance may be determined by the coverage of the local area network, for example, The coverage of the local area network is 20 meters, then determine the length of time that the communication device is within 20 meters of the current location.

步骤S202,如果所述时长大于等于时长阈值,确定所述通信设备当前接入的运营商的数据业务。Step S202, if the duration is greater than or equal to a duration threshold, determine the data service of the operator currently accessed by the communication device.

比如,如果该时长大于等于时长阈值(比如,大于10个小时),确定该通信设备当前接入的运营商的数据业务。For example, if the duration is greater than or equal to the duration threshold (for example, greater than 10 hours), the data service of the operator currently accessed by the communication device is determined.

步骤S203,注销所述通信设备与所述数据业务的连接。Step S203: Deregister the connection between the communication device and the data service.

这里,如果该通信设备所处的位置在长时间内仅有微小的变化,甚至没有变化,那么说明该通信设备可以断开与数据业务的连接,仅接入局域网,以实现网络连接,不需要局域网和数据业务同时接入,从而降低设备的功耗。Here, if the location of the communication device only changes slightly or even does not change for a long time, it means that the communication device can disconnect from the data service and only access the local area network to achieve network connection, without the need for The local area network and data services are accessed at the same time, thereby reducing the power consumption of the device.

上述步骤S202和步骤S203给出了一种实现“中断所述通信设备与数据业务的连接”的方式,在该方式中,当通信设备所处的位置在长时间内仅有微小的变化时,将该通信设备的数据业务注销,避免该通信设备由于长时间的驻网,造成的功耗损失。The above-mentioned steps S202 and S203 provide a way of realizing "interrupting the connection between the communication device and the data service", in this way, when the position of the communication device only changes slightly in a long time, The data service of the communication device is cancelled, so as to avoid the loss of power consumption caused by the communication device being on the network for a long time.

步骤S204,获取用于接收来电业务的所述预设的托管中心。Step S204, acquiring the preset hosting center for receiving the incoming call service.

这里,获取第三方服务中心,即预设的托管中心,作为能够接收进行呼叫转移的来电业务中的来电请求。Here, a third-party service center, that is, a preset hosting center, is obtained as an incoming call request in an incoming call service that can receive call forwarding.

步骤S205,开启呼叫转移功能,将来电业务转移至所述预设的托管中心。In step S205, the call transfer function is enabled, and the incoming call service is transferred to the preset hosting center.

这里,将通信设备的呼叫转移功能开启,并将该通信设备的来电业务转移至预设的托管中心。Here, the call transfer function of the communication device is enabled, and the incoming call service of the communication device is transferred to a preset hosting center.

步骤S206,接入所述通信设备所处位置的当前局域网。Step S206, accessing the current local area network where the communication device is located.

在一些可能的实现方式中,当通信设备所处的位置在长时间内仅有微小的变化时,先检测该通信设备所处的位置的局域网是否正常,如果正常,断开该通信设备的数据业务,接入该当前局域网;这样保证该通信设备的网络是正常的,而且不会同时既连接数据业务还连接局域网,以造成功耗较大。In some possible implementations, when the location of the communication device only changes slightly for a long time, it is first detected whether the local area network where the communication device is located is normal, and if it is normal, the data of the communication device is disconnected service, access the current local area network; this ensures that the network of the communication device is normal, and will not be connected to both the data service and the local area network at the same time, resulting in high power consumption.

步骤S207,采用所述预设的托管中心,将检测到的来电请求通过所述当前局域网上报至所述通信设备。Step S207, using the preset hosting center to report the detected incoming call request to the communication device through the current local area network.

这里,当检测到来电请求时,将该来电请求转移至预设的托管中心,然后,该托管中心通过当前局域网将来电请求上报至所述通信设备。Here, when an incoming call request is detected, the incoming call request is transferred to a preset hosting center, and then the hosting center reports the incoming call request to the communication device through the current local area network.

上述步骤S204至步骤S207实现了当通信设备所处的位置在长时间内仅有微小的变化时,如果当前局域网正常,先断开数据业务,仅连接当前局域网,当检测到来电请求时,先转移到托管中心,然后由托管中心通过当前局域网上报至通信设备,降低了设备的功耗。The above steps S204 to S207 realize that when the location of the communication device only changes slightly in a long time, if the current local area network is normal, the data service is disconnected first, and only the current local area network is connected. It is transferred to the hosting center, and then reported to the communication device by the hosting center through the current local area network, which reduces the power consumption of the device.

步骤S208,当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务。Step S208, when receiving the incoming call request reported by the preset hosting center, register the data service.

这里,当接收到托管中心通局域网上报的来电请求时,重新接入数据业务,以通过该数据业务中的通话业务的功能,响应该来电请求。Here, when an incoming call request reported by the hosting center via the local area network is received, the data service is re-accessed to respond to the incoming call request through the function of the call service in the data service.

步骤S209,采用所述数据业务中的通话业务,响应所述来电请求。Step S209, using the call service in the data service to respond to the incoming call request.

这里,采用该数据业务中的通话业务的功能,响应该来电请求。Here, the function of the call service in the data service is used to respond to the incoming call request.

在本申请一示例性实施例中,当通信设备所处的位置在长时间内仅有微小的变化时,如果当前局域网正常,先断开数据业务,仅连接当前局域网,当检测到来电请求时,先转移到托管中心,然后由托管中心通过当前局域网上报至通信设备,通信设备接通数据业务,以响应该来电请求;这样,使用第三方的托管中心托管设备的通话业务,此时可以断开数据业务的网络功能,只连局域网的网络,以达到节省设备功耗的目的。In an exemplary embodiment of the present application, when the location of the communication device only changes slightly for a long time, if the current local area network is normal, the data service is disconnected first, and only the current local area network is connected, and when an incoming call request is detected , first transferred to the hosting center, and then reported to the communication device by the hosting center through the current local area network, and the communication device connected to the data service to respond to the incoming call request; in this way, the call service of the hosting device hosted by the third-party hosting center can be interrupted at this time. Open the network function of the data service and only connect to the local area network network to achieve the purpose of saving the power consumption of the equipment.

在一些实施例中,为了保证能够及时响应来电请求,可及时关闭托管中心,在步骤S208之后,可以在以下两种情况下关闭托管中心:In some embodiments, in order to ensure that the incoming call request can be responded to in a timely manner, the hosting center can be shut down in time, and after step S208, the hosting center can be shut down in the following two cases:

情况一:关闭所述呼叫转移功能,以关闭所述预设的托管中心。Case 1: Turn off the call forwarding function to turn off the preset hosting center.

这里,可以随时关闭呼叫转移功能,以关闭预设的托管中心,同时接通数据业务,以保证该通信设备及时接通网络,能够及时的响应来电请求。Here, the call forwarding function can be turned off at any time to turn off the preset hosting center and at the same time connect the data service, so as to ensure that the communication device can connect to the network in time and can respond to the incoming call request in time.

情况二:首先,获取当前连接的所述局域网的网络信息。Case 2: First, the network information of the currently connected local area network is obtained.

这里,网络信息包括:带宽、时延或带宽时延积等表征网络质量的参数。Here, the network information includes parameters that characterize network quality, such as bandwidth, delay, or bandwidth-delay product.

然后,如果所述网络信息满足预设条件,关闭所述预设的托管中心。Then, if the network information satisfies a preset condition, the preset hosting center is closed.

这里,关闭该托管中心之后,要及时接入数据业务,以避免影响该通信设备正常的获取网络数据。如果网络信息中包含的每一参数的值均满足对应的参数阈值,确定该网络信息满足条件,比如,带宽小于预设带宽阈值,时延大于预设时延阈值,网络速率低于预设速率阈值等,网络信息满足预设条件表明当前局域网的网络质量不佳,这时,断开与该局域网的连接,即关闭呼叫转移功能,关闭托管中心,并接入数据业务,以保证该通信设备能够正常的获取网络数据,以及正常进行通话业务等。Here, after closing the hosting center, the data service should be accessed in time to avoid affecting the normal acquisition of network data by the communication device. If the value of each parameter included in the network information satisfies the corresponding parameter threshold, it is determined that the network information satisfies the conditions, for example, the bandwidth is less than the preset bandwidth threshold, the delay is greater than the preset delay threshold, and the network rate is lower than the preset rate If the network information meets the preset conditions, it indicates that the network quality of the current local area network is not good. At this time, disconnect the connection with the local area network, that is, turn off the call forwarding function, turn off the hosting center, and access data services to ensure that the communication equipment It can obtain network data normally, and carry out call services normally.

在其他实施例中,如果检测到所述通信设备与所述局域网断开连接,关闭所述预设的托管中心,并接入所述数据业务;这样,一旦局域网的网络质量较差或者已断开的情况下,及时的接入数据业务,既可以保证该通信设备能够正常的获取网络数据,以及正常进行通话业务等,还可以降低设备功耗。In other embodiments, if it is detected that the communication device is disconnected from the local area network, the preset hosting center is closed, and the data service is accessed; in this way, once the network quality of the local area network is poor or disconnected When the communication device is enabled, timely access to data services can not only ensure that the communication device can normally obtain network data and perform call services, etc., but also reduce device power consumption.

本申请一示例性实施例提供一种网络托管方法,实现通信设备如果在一个相对位置固定的地方可以使用WLAN,那么该通信设备的调制解调器(Modem)(2/3/4吉(G)业务)此时数据业务就不是必须的,只有Modem(2/3/4G业务)的通话业务(Call Service,CS)此时是必须的。可以把CS业务通过呼叫转移转移到一个“托管中心”(比如,第三方服务平台),然后就可以断开该通信设备的Modem(2/3/4G业务)的连接,此时只需要保持WLAN在线即可,如果用户有来电,则“托管中心”通过数据链路通知到用户手机,用户手机重新注册Modem(2/3/4G业务),用户接听电话;从而实现即降低手机功耗,又可以保证用户的业务不会产生影响。An exemplary embodiment of the present application provides a network hosting method, so that if a communication device can use a WLAN in a place with a fixed relative position, the modem (Modem) of the communication device (2/3/4 gigabit (G) service) At this time, the data service is not necessary, and only the call service (Call Service, CS) of the Modem (2/3/4G service) is necessary at this time. The CS service can be transferred to a "hosting center" (for example, a third-party service platform) through call transfer, and then the Modem (2/3/4G service) connection of the communication device can be disconnected. At this time, it is only necessary to keep the WLAN Online, if the user has an incoming call, the "hosting center" will notify the user's mobile phone through the data link, the user's mobile phone will re-register the Modem (2/3/4G service), and the user will answer the call; thus reducing the power consumption of the mobile phone, and It can ensure that the user's business will not be affected.

图3为申请一示例性实施例网络托管方法的应用场景示意图,如图3所示,所述方法可以通过以下过程实现:FIG. 3 is a schematic diagram of an application scenario of an application for a network hosting method according to an exemplary embodiment. As shown in FIG. 3 , the method can be implemented through the following process:

第一步,通信设备301通过连接无线路由器302连接WLAN。In the first step, the communication device 301 is connected to the WLAN by connecting the wireless router 302 .

这里,通信设备301需要连接WLAN并可以正常使用并可以正常使用。从而为网络托管做准备。Here, the communication device 301 needs to be connected to the WLAN and can be used normally and can be used normally. Thereby preparing for web hosting.

第二步,通信设备301将开启呼叫转移功能,将所有来电转移到预先设定好的托管中心303。In the second step, the communication device 301 will enable the call forwarding function to forward all incoming calls to the pre-set hosting center 303 .

这里,用户开启网络托管功能,即启动托管中心303。此时用户的手机将开启呼叫转移功能,将所有来电转移到预先设定好的“托管中心”。Here, the user enables the web hosting function, that is, starts the hosting center 303 . At this time, the user's mobile phone will turn on the call forwarding function, and all incoming calls will be forwarded to the pre-set "hosting center".

第三步,通信设备301断开与运营商304的基站的连接。In the third step, the communication device 301 disconnects from the base station of the operator 304 .

这里,通信设备301(比如,手机)注销(断开)Modem(2/3/4G业务),此时通信设备301只连接WLAN进行上网。Here, the communication device 301 (for example, a mobile phone) logs out (disconnects) the Modem (2/3/4G service), and at this time, the communication device 301 only connects to the WLAN to access the Internet.

第四步,当接收到来电业务,运营商304的基站将该来电业务呼叫转移到托管中心,托管中心303通过WLAN网络通知通信设备301有来电,通信设备301重新注册Modem(2/3/4G业务),完成本次通话。The fourth step, when receiving the incoming call service, the base station of the operator 304 transfers the incoming call service call to the hosting center, the hosting center 303 notifies the communication device 301 of an incoming call through the WLAN network, and the communication device 301 re-registers the Modem (2/3/4G) business) to complete the call.

这里,如果通信设备301为手机,当接收到来电业务时,运营商会呼转到托管中心,托管中心通过WLAN网络通知用户手机有来电,手机重新注册Modem(2/3/4G业务),完成本次通话。Here, if the communication device 301 is a mobile phone, when an incoming call service is received, the operator will call to the hosting center, and the hosting center will notify the user that there is an incoming call on the mobile phone through the WLAN network, and the mobile phone will re-register the Modem (2/3/4G service) to complete this operation. calls.

第五步,当检测到WLAN已经断开连接或者WLAN网络质量不佳,则重新注册Modem(2/3/4G业务)。In the fifth step, when it is detected that the WLAN has been disconnected or the quality of the WLAN network is poor, the Modem (2/3/4G service) is re-registered.

这里,用户还可以手动关闭网络托管功能。Here, users can also manually turn off the web hosting feature.

在本申请一示例性实施例中,通过在同时注册Modem网络和WLAN网络的情况下,使用第三方的托管中心托管用户的通话业务,此时可以断开Modem网络,只连WLAN网络,以达到节省手机功耗的目的。In an exemplary embodiment of the present application, when the Modem network and the WLAN network are registered at the same time, a third-party hosting center is used to host the user's call service. At this time, the Modem network can be disconnected and only the WLAN network can be connected to achieve The purpose of saving mobile phone power consumption.

本申请一示例性实施例提供一种网络托管装置,该装置包括所包括的各模块、以及各模块所包括的各单元,可以通过计算机设备中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。An exemplary embodiment of the present application provides a network hosting device. The device includes each module included and each unit included in each module, which can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic Circuit implementation; in the implementation process, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA) or the like.

图4为本申请一示例性实施例网络托管装置的组成结构示意图,如图4所示,所述装置400包括:第一中断模块401、第一转移模块402和第一接入模块403,其中:FIG. 4 is a schematic structural diagram of a network hosting device according to an exemplary embodiment of the present application. As shown in FIG. 4 , the device 400 includes: a first interruption module 401 , a first transfer module 402 and a first access module 403 , wherein :

所述第一中断模块401,用于中断所述通信设备与所属运营商的数据业务的连接;The first interruption module 401 is configured to interrupt the connection between the communication device and the data service of the operator to which it belongs;

所述第一转移模块402,用于当检测到的来电请求时,将所述来电请求转移至预设的托管中心;The first transfer module 402 is configured to transfer the incoming call request to a preset hosting center when an incoming call request is detected;

所述第一接入模块403,用于当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求。The first access module 403 is configured to access the data service when receiving an incoming call request reported by the preset hosting center to respond to the incoming call request.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第一确定模块,用于确定所述通信设备处于当前位置的时长;a first determining module, configured to determine the duration that the communication device is in the current position;

对应地,所述第一中断模块401,包括:Correspondingly, the first interrupt module 401 includes:

第一确定子模块,用于如果所述时长大于等于时长阈值,确定所述通信设备当前连接的运营商的数据业务;a first determination submodule, configured to determine the data service of the operator currently connected to the communication device if the duration is greater than or equal to a duration threshold;

第一注销子模块,用于注销所述通信设备与所述数据业务的连接。The first deregistration submodule is used to deregister the connection between the communication device and the data service.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第一获取模块,用于获取用于接收来电业务的所述预设的托管中心;a first acquisition module, configured to acquire the preset hosting center for receiving an incoming call service;

第一开启模块,用于开启呼叫转移功能,将来电业务转移至所述预设的托管中心。The first enabling module is used for enabling the call transfer function to transfer the incoming call service to the preset hosting center.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第二接入模块,用于接入所述通信设备所处位置的当前局域网;a second access module, configured to access the current local area network where the communication device is located;

第一上报模块,用于采用所述预设的托管中心,将检测到的来电请求通过所述当前局域网上报至所述通信设备。The first reporting module is configured to use the preset hosting center to report the detected incoming call request to the communication device through the current local area network.

在上述装置中,所述第一接入模块403,包括:In the above device, the first access module 403 includes:

第一注册子模块,用于当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务;a first registration submodule, configured to register the data service when receiving an incoming call request reported by the preset hosting center;

第一响应子模块,用于采用所述数据业务中的通话业务,响应所述来电请求。The first response submodule is configured to respond to the incoming call request by using the call service in the data service.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第一关闭模块,用于关闭所述呼叫转移功能,以关闭所述预设的托管中心。The first closing module is used for closing the call forwarding function to close the preset hosting center.

在上述方法中,所述装置还包括:In the above method, the device further includes:

第二获取模块,用于获取当前连接的所述局域网的网络信息;The second acquisition module is used to acquire the network information of the currently connected local area network;

第二关闭模块,用于如果所述网络信息满足预设条件,关闭所述预设的托管中心。A second closing module, configured to close the preset hosting center if the network information satisfies a preset condition.

在上述装置中,所述装置还包括:In the above device, the device further includes:

第三关闭模块,用于如果检测到所述通信设备与所述局域网断开连接,关闭所述预设的托管中心,并接入所述数据业务。A third closing module, configured to close the preset hosting center and access the data service if it is detected that the communication device is disconnected from the local area network.

以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The descriptions of the above apparatus embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

需要说明的是,本申请一示例性实施例中,如果以软件功能模块的形式实现上述的网络托管方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请一示例性实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请一示例性实施例不限制于任何特定的硬件和软件结合。It should be noted that, in an exemplary embodiment of the present application, if the above-mentioned network hosting method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. . Based on this understanding, the technical solution of an exemplary embodiment of the present application can be embodied in the form of a software product in essence or in a part that contributes to the related technology. The computer software product is stored in a storage medium and includes several instructions It is used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other mediums that can store program codes. As such, an exemplary embodiment of the present application is not limited to any particular combination of hardware and software.

图5为本申请一示例性实施例的一种设备硬件实体示意图,如图5所示,本申请一示例性实施例提供了一种设备500,包括:FIG. 5 is a schematic diagram of a device hardware entity according to an exemplary embodiment of the present application. As shown in FIG. 5 , an exemplary embodiment of the present application provides a device 500, including:

处理器51以及存储有所述处理器51可执行指令的存储介质52,所述存储介质52通过通信总线53依赖所述处理器51执行操作,当所述指令被所述处理器51执行时,执行上述实施例一所述的网络托管方法。The processor 51 and the storage medium 52 storing the executable instructions of the processor 51. The storage medium 52 relies on the processor 51 to perform operations through the communication bus 53. When the instructions are executed by the processor 51, The network hosting method described in the first embodiment above is executed.

需要说明的是,实际应用时,设备中的各个组件通过通信总线53耦合在一起。可理解,通信总线53用于实现这些组件之间的连接通信。通信总线53除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为通信总线53。It should be noted that, in practical application, various components in the device are coupled together through the communication bus 53 . It can be understood that the communication bus 53 is used to realize the connection communication between these components. In addition to the data bus, the communication bus 53 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the various buses are labeled as communication bus 53 in FIG. 5 .

这里,需要说明的是,所述设备通常为具有前置双摄或者后置双摄功能的移动设备,所述移动设备可以以各种形式来实施。例如,本申请一示例性实施例中所描述的移动设备可以包括手机、平板电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)等。Here, it should be noted that the device is usually a mobile device with a dual front camera or a dual rear camera function, and the mobile device may be implemented in various forms. For example, the mobile device described in an exemplary embodiment of the present application may include a mobile phone, a tablet computer, a palmtop computer, a personal digital assistant (Personal Digital Assistant, PDA), and the like.

对应地,本申请一示例性实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的网络托管方法中的步骤。Correspondingly, an exemplary embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the network hosting method provided in the foregoing embodiment.

这里需要指出的是:以上存储介质和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请存储介质和设备实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be pointed out here that the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the embodiments of the storage medium and device of the present application, please refer to the description of the method embodiments of the present application to understand.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请一示例性实施例的实施过程构成任何限定。上述本申请一示例性实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, rather than an example of the present application. The implementation of the illustrative examples constitutes no limitation. The above-mentioned serial numbers of an exemplary embodiment of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本申请一示例性实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit; it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of an exemplary embodiment of the present application.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, the execution includes: The steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other media that can store program codes.

或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请一示例性实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得设备执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of an exemplary embodiment of the present application can be embodied in the form of a software product in essence or in a part that contributes to the related technology. The computer software product is stored in a storage medium and includes several instructions It is used to cause the device to execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.

以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (10)

1.一种网络托管方法,应用于具有通信功能的通信设备,其特征在于,所述方法包括:1. A network hosting method, applied to a communication device with a communication function, wherein the method comprises: 中断所述通信设备与数据业务的连接;interrupting the connection of the communication device with the data service; 当检测到的来电请求时,将所述来电请求转移至预设的托管中心;When an incoming call request is detected, transfer the incoming call request to a preset hosting center; 当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求。When an incoming call request reported by the preset hosting center is received, the data service is accessed to respond to the incoming call request. 2.根据权利要求1所述的方法,其特征在于,在所述中断所述通信设备与数据业务的连接之前,所述方法还包括:2. The method according to claim 1, characterized in that before the interruption of the connection between the communication device and the data service, the method further comprises: 确定所述通信设备处于当前位置的时长;determining how long the communication device has been in the current location; 对应地,所述中断所述通信设备与数据业务的连接,包括:Correspondingly, the interrupting the connection between the communication device and the data service includes: 如果所述时长大于等于时长阈值,确定所述通信设备当前接入的运营商的数据业务;If the duration is greater than or equal to the duration threshold, determine the data service of the operator currently accessed by the communication device; 注销所述通信设备与所述数据业务的连接。The connection of the communication device to the data service is deregistered. 3.根据权利要求1所述的方法,其特征在于,在所述中断所述通信设备与所属运营商的数据业务的连接之前,所述方法还包括:3 . The method according to claim 1 , wherein before the connection of the communication device and the data service of the operator to which it belongs is interrupted, the method further comprises: 3 . 获取用于接收来电业务的所述预设的托管中心;obtaining the preset hosting center for receiving the incoming call service; 开启呼叫转移功能,将来电业务转移至所述预设的托管中心。Turn on the call transfer function to transfer the incoming call service to the preset hosting center. 4.根据权利要求3所述的方法,其特征在于,在所述获取所述预设的托管中心之后,所述方法还包括:4. The method according to claim 3, wherein after acquiring the preset hosting center, the method further comprises: 接入所述通信设备所处位置的当前局域网;Access the current local area network where the communication device is located; 采用所述预设的托管中心,将检测到的来电请求通过所述当前局域网上报至所述通信设备。Using the preset hosting center, the detected incoming call request is reported to the communication device through the current local area network. 5.根据权利要求1所述的方法,其特征在于,所述当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求,包括:5. The method according to claim 1, wherein, when receiving an incoming call request reported by the preset hosting center, accessing the data service to respond to the incoming call request, comprising: 当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务;When receiving the incoming call request reported by the preset hosting center, register the data service; 采用所述数据业务中的通话业务,响应所述来电请求。Using the call service in the data service to respond to the incoming call request. 6.根据权利要求5所述的方法,其特征在于,在所述当接收到所述预设的托管中心上报的来电请求时,注册所述数据业务之后,所述方法还包括:6. The method according to claim 5, wherein after the data service is registered when the incoming call request reported by the preset hosting center is received, the method further comprises: 关闭所述呼叫转移功能,以关闭所述预设的托管中心。Turn off the call forwarding function to turn off the preset hosting center. 7.根据权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 1 to 6, wherein the method further comprises: 获取当前连接的所述局域网的网络信息;Obtain the network information of the currently connected local area network; 如果所述网络信息满足预设条件,关闭所述预设的托管中心。If the network information satisfies a preset condition, the preset hosting center is closed. 8.根据权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:8. The method according to any one of claims 1 to 6, wherein the method further comprises: 如果检测到所述通信设备与所述局域网断开连接,关闭所述预设的托管中心,并接入所述数据业务。If it is detected that the communication device is disconnected from the local area network, the preset hosting center is closed, and the data service is accessed. 9.一种网络托管装置,其特征在于,所述装置包括:第一中断模块、第一转移模块和第一接入模块,其中:9. A network hosting device, characterized in that the device comprises: a first interrupt module, a first transfer module and a first access module, wherein: 所述第一中断模块,用于中断所述通信设备与所属运营商的数据业务的连接;the first interruption module, configured to interrupt the connection between the communication device and the data service of the operator to which it belongs; 所述第一转移模块,用于当检测到的来电请求时,将所述来电请求转移至预设的托管中心;the first transfer module, configured to transfer the incoming call request to a preset hosting center when an incoming call request is detected; 所述第一接入模块,用于当接收到所述预设的托管中心上报的来电请求时,接入所述数据业务,以响应所述来电请求。The first access module is configured to access the data service when receiving an incoming call request reported by the preset hosting center to respond to the incoming call request. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1至8任一项所述网络托管方法中的步骤。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps in the network hosting method according to any one of claims 1 to 8 are implemented.
CN202010092008.0A 2020-02-14 2020-02-14 A kind of network hosting method and device, storage medium Active CN111263307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010092008.0A CN111263307B (en) 2020-02-14 2020-02-14 A kind of network hosting method and device, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010092008.0A CN111263307B (en) 2020-02-14 2020-02-14 A kind of network hosting method and device, storage medium

Publications (2)

Publication Number Publication Date
CN111263307A true CN111263307A (en) 2020-06-09
CN111263307B CN111263307B (en) 2021-09-24

Family

ID=70947269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010092008.0A Active CN111263307B (en) 2020-02-14 2020-02-14 A kind of network hosting method and device, storage medium

Country Status (1)

Country Link
CN (1) CN111263307B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023131071A1 (en) * 2022-01-06 2023-07-13 维沃移动通信有限公司 Cell selection/reselection method and apparatus, terminal, and network side device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118705A (en) * 2009-12-30 2011-07-06 中国移动通信集团公司 Method and device for notifying call information
CN103841590A (en) * 2012-11-27 2014-06-04 中兴通讯股份有限公司 Method, system and terminal for network monitoring and energy-saving control and packet access gateway
CN104981030A (en) * 2015-07-10 2015-10-14 努比亚技术有限公司 Network connection control method and device
CN106255075A (en) * 2016-07-18 2016-12-21 北京小米移动软件有限公司 The processing method and processing device of communication event, electronic equipment
CN108337212A (en) * 2017-01-19 2018-07-27 中国移动通信有限公司研究院 A kind of terminal trustship method, terminal, server and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118705A (en) * 2009-12-30 2011-07-06 中国移动通信集团公司 Method and device for notifying call information
CN103841590A (en) * 2012-11-27 2014-06-04 中兴通讯股份有限公司 Method, system and terminal for network monitoring and energy-saving control and packet access gateway
CN104981030A (en) * 2015-07-10 2015-10-14 努比亚技术有限公司 Network connection control method and device
CN106255075A (en) * 2016-07-18 2016-12-21 北京小米移动软件有限公司 The processing method and processing device of communication event, electronic equipment
CN108337212A (en) * 2017-01-19 2018-07-27 中国移动通信有限公司研究院 A kind of terminal trustship method, terminal, server and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023131071A1 (en) * 2022-01-06 2023-07-13 维沃移动通信有限公司 Cell selection/reselection method and apparatus, terminal, and network side device

Also Published As

Publication number Publication date
CN111263307B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
US8880053B2 (en) Signaling over cellular networks to reduce the Wi-Fi energy consumption of mobile devices
CN110557798B (en) Method and device for determining URSP
JP6517370B2 (en) Method and terminal for interaction between terminal and network device
CN106559591B (en) Method and device for calling mobile terminal based on call transfer
US8717945B2 (en) Application-specific chargeback of content cached at the wireless tower
WO2009158155A2 (en) Fault tolerant distributed mobile architecture
CN1964406A (en) A method and system for data pushing
CN100444655C (en) A method for implementing short message transfer
CN112929943B (en) Electronic price tag relay communication method, electronic price tag relay communication equipment and computer readable storage medium
US8320545B2 (en) System, method, and logic for determining presence status according to the location of endpoints
TWI286024B (en) Communication system, method for extending stand-by time, and computer readable medium therefor
CN111263307A (en) A kind of network hosting method and device, storage medium
CN106465072A (en) Call transfer method and terminal
CN108337706A (en) A kind of switching method of wireless network, mobile terminal and storage medium
CN106559767A (en) Based on the double card double standby mobile phone terminal call method and device that call forwarding is realized
WO2021018284A1 (en) Network handover method, network device, and terminal
WO2018014667A1 (en) Data transmission method and apparatus
JP6754862B2 (en) Methods and terminals for interaction between terminals and network devices
CN112514461B (en) Device, method and computer program for emergency calling
JP2012507227A (en) COMMUNICATION DEVICE AND SERVER, METHOD FOR THEM, AND COMPUTER PROGRAM
US9992255B2 (en) Apparatuses and methods for application-specific congestion control for data communication (ACDC), and storage medium thereof
Li et al. An energy‐efficient framework for ubiquitous phone access
KR100541756B1 (en) Mass data transmission method in wireless communication system
CN203445898U (en) Instant communication system
CN110049516B (en) Data transmission method, server and computer readable storage medium

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