WO2019149029A1 - Service equipment switching method, and device for same - Google Patents

Service equipment switching method, and device for same Download PDF

Info

Publication number
WO2019149029A1
WO2019149029A1 PCT/CN2019/070320 CN2019070320W WO2019149029A1 WO 2019149029 A1 WO2019149029 A1 WO 2019149029A1 CN 2019070320 W CN2019070320 W CN 2019070320W WO 2019149029 A1 WO2019149029 A1 WO 2019149029A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
service device
migrated
information
core network
Prior art date
Application number
PCT/CN2019/070320
Other languages
French (fr)
Chinese (zh)
Inventor
周凯
何国洲
卢金华
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019149029A1 publication Critical patent/WO2019149029A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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

Definitions

  • the embodiment of the present invention relates to the technical field of the Internet of Things, and particularly to a service device switching method and device thereof.
  • the disaster recovery system refers to the establishment of two or more sets of functionally identical internet technology (IT) systems in remote locations, where health monitoring and function switching can be performed between each other.
  • IT internet technology
  • the disaster recovery system of the narrowband internet of things (NB-IoT) scenario can be switched to the standby service device to establish the user equipment and standby in the event that the primary service device that is linked with the user equipment fails.
  • the user equipment configures the internet protocol (IP) address of the primary service device and the backup service device before leaving the factory, and configures the user equipment to use the constrained application protocol (CoAP) confirmation (The confirmable, CON) message mode performs data interaction with the service device, and the data interaction may include user equipment registration, data reporting, and the like.
  • IP internet protocol
  • CoAP constrained application protocol
  • CON confirmable, CON
  • the data interaction may include user equipment registration, data reporting, and the like.
  • the data is first reported to the evolved packet core (EPC), and the EPC reports the data to the primary service device.
  • EPC evolved packet core
  • the response message is fed back to the EPC, and the EPC feeds back the response message to the user equipment when receiving the response message, and the user equipment receives the response message of the EPC feedback.
  • the user equipment determines that the main service device is working properly. If the user equipment does not receive the response message of the EPC feedback within the specified time, the user equipment retransmits the message. If the user equipment fails to resend the preset number of times, the data is reported to the backup service device, that is, the primary service device is switched to the standby service device.
  • the user equipment retransmits multiple times to detect whether the primary service device works normally, and if the primary service device fails, the user equipment triggers the slave device.
  • the service device switches to the alternate service device, which increases the additional power consumption of the user device.
  • the technical problem to be solved by the embodiments of the present application is to provide a service device switching method and a device thereof, which can reduce the power consumption of the user equipment without triggering the switching of the service device by the user equipment.
  • a first aspect of the embodiments of the present application provides a service device switching method, including:
  • the first service device determines, according to the user equipment migration policy, the user equipment to be migrated from the user equipment that establishes a connection with the second service device;
  • the first service device notifies the user equipment to be migrated to register with the first service device.
  • the second service device is the primary service device
  • the first service device is the backup service device
  • the first service device determines, according to the user equipment migration policy, that the user equipment to be migrated from the second service device to the second service device is to be
  • the migrating user equipment registers with the first service device to establish a connection between the user equipment to be migrated and the first service device, and the user equipment is not required to trigger the switching of the service device, and the power consumption of the user equipment can be reduced.
  • the location of the first service device and the second service device in the same city or the same area may be limited, and the disaster recovery deployment cost of the operator may be reduced.
  • the first service device notifies the user equipment to be migrated to register with the first service device by using the following steps:
  • the first service device sends the addressing information of the first service device and the addressing information of the user equipment to be migrated to the core network gateway, so that the core network gateway sends the first service to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  • the addressing information of the device, the addressing information of the first service device is used to register the user equipment to be migrated with the first service device.
  • the addressing information may include at least one of a device identifier and an internet protocol (IP) address, and the device identifier may be a device ID or an international mobile subscriber identification number (IMSI). It can also be a media access control (MAC) address.
  • IP internet protocol
  • IMSI international mobile subscriber identification number
  • the first service device after the first service device notifies the user equipment to be migrated to register with the first service device, the first service device further receives registration information from the core network gateway, where the registration information includes the user equipment to be migrated.
  • the device identifier may further include a device identifier of the user equipment to be migrated.
  • the core network gateway when receiving the device identifier of the user equipment to be migrated from the user equipment to be migrated, locates the user equipment to be migrated, and determines the user equipment to be migrated. location information;
  • the first service device registers the user equipment to be migrated according to the registration information, and sends the registration confirmation information to the core network gateway, and the core network gateway forwards the registration confirmation information to the user equipment to be migrated, where the registration confirmation information is used to indicate the user equipment to be migrated.
  • the connection with the first service device is established successfully.
  • the first service device sends the addressing information of the first service device to the user equipment to be migrated through the core network gateway, so as to establish a connection between the first service device and the user equipment to be migrated, and switch the user equipment to be migrated from the second service device.
  • the core network gateway is equivalent to a transit station between the first service device and the user equipment to be migrated.
  • the user equipment to be migrated is passively switched instead of actively triggering, so the power consumption of the user equipment can be reduced.
  • the core network gateway may be configured to determine which address device or devices to send the addressing information of the first service device; and the addressing information of the user equipment to be migrated In the case of the device identification and the IP address, the core network gateway can be facilitated to better determine which address device or devices to transmit the addressing information of the first service device.
  • the first serving device before receiving the registration information from the core network gateway, the first serving device sends an authorization check code to the core network gateway, where the authorization check code is used by the core network gateway.
  • a service device performs security verification.
  • the authorization check code may be sent together with the addressing information of the first service device and the addressing information of the user equipment to be migrated.
  • the authorization check code performs security check on the first service device, which improves security.
  • the first service device receives real-time data from the second service device, where the real-time data includes a user equipment that establishes a connection with the second service device.
  • the device identifier is configured to perform data synchronization between the first service device and the second service device, so that the first service device determines the user device to be migrated from the user device that establishes a connection with the second service device according to the user device migration policy.
  • the foregoing real-time data further includes attribute information of the user equipment that establishes a connection with the second service device, where the attribute information may include user interaction information, rule information, data report information, and At least one of area information, device type, and activity information.
  • the first service device selects the user equipment that meets the user equipment migration policy from the user equipment that establishes the connection with the second service device according to the attribute information of the user equipment that establishes the connection with the second service device, and the user equipment that meets the user equipment migration policy Determined as the user device to be migrated.
  • the second service device synchronizes the information of the user equipment with which the connection is established to the first service device, so that the first service device determines the user equipment to be migrated from the user devices according to the user equipment migration policy.
  • the first serving device may determine whether the second serving device is faulty by periodically sending a request message to the second serving device, and the request message may not carry any parameters to reduce the network. Load and pressure.
  • the first service device periodically sends a request message to the second service device. If the response message is received for each request message sent, the second service device can be determined to work normally, and there is no fault; If the response message is not received within the time period, it is determined that the second service device is faulty, that is, the consecutive preset number of request messages do not receive the response message, and then the second service device is determined to be faulty.
  • the preset time period may be related to the period of sending the request message, and the preset time period and the specific number of the preset number are not limited.
  • the first serving device determines whether the second serving device is faulty by periodically sending a request message to the second serving device, and does not need to detect whether the second serving device works normally, and can reduce the participation of the user device, thereby reducing the user equipment. Power consumption.
  • the first service device may determine whether the second service device is faulty by periodically sending a request message to the second service device and the participation of the administrator, and the request message may not be carried. Any parameters to reduce network load and stress.
  • the first service device periodically sends a request message to the second service device. If the response message is received for each request message sent, the second service device can be determined to work normally, and there is no fault; If the response message is not received within the time period, the second service device may be faulty, but the final failure is determined by the administrator.
  • the first service device may send a fault estimation message to the administrator device, where the fault estimation message is used to notify the administrator that the second service device may be faulty, and the administrator logs in to the second service device to detect if the fault estimation message is received. And in the case of determining that the second service device is faulty, sending, by the administrator device, an acknowledgement instruction to the first service device, the determining command indicating, for the fault estimation message, that the second service device is faulty, and the first service device receives the acknowledgement In the case of an instruction, the second service device failure is determined.
  • the first service device may output a fault estimation message in the form of an alarm log, so that the administrator detects whether the second service device is faulty, and sends a confirmation command to the first service device or directly in the first service if the second service device fails.
  • a confirmation command is input on the device, so that the first service device determines that the second service device is faulty.
  • the accuracy is higher than that determined by the first service device, but it may take a little longer than the method determined by the first service device.
  • the first service device may determine the user equipment migration policy by receiving the migration policy from the second service device, and the first service device receives all the information that will be received from the second service device.
  • the migration policy is determined as a user equipment migration policy.
  • One or more of the migration policies may be selected randomly or by default, and the one or more are determined as user equipment migration policies, and the user equipment migration policy may also be determined according to the selection instruction.
  • the method for determining the user equipment migration policy is flexible, so that the method for determining the user equipment to be migrated is flexible, and flexible user equipment migration can be implemented.
  • the foregoing migration policy includes at least one of an interactive migration policy, a rule triggered migration policy, a data report migration policy, a regional migration policy, a type migration policy, and an activity migration policy. .
  • a second aspect of the embodiments of the present application provides a service device switching apparatus, where the service device switching apparatus has a function of implementing the method provided by the first aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the service device switching apparatus includes: a processing module and a first transceiver module; and a processing module, configured to: from the second service device according to the user equipment migration policy, in case the second service device fails Determining the user equipment to be migrated in the user equipment that establishes the connection; the first transceiver module is configured to notify the user equipment to be migrated to register with the first service equipment.
  • the service device switching device includes: a processor, a transceiver, and a memory, wherein the transceiver is configured to receive and transmit information, the memory stores computer execution instructions, and the processor passes the bus and the memory and the transceiver Connected, the processor executes a computer execution instruction stored in the memory, so that the service device switching device performs the following operation: in case the second service device fails, the user device establishes a connection with the second service device according to the user device migration policy Determining the user equipment to be migrated; notifying the user equipment to be migrated to register with the first service device.
  • the principle and the beneficial effects of the device can be referred to the method described in the first aspect and the beneficial effects thereof. Therefore, the implementation of the device can be referred to the implementation of the method, and the repeated description is not repeated.
  • a third aspect of embodiments of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the method of the first aspect described above.
  • a fourth aspect of an embodiment of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
  • a fifth aspect of the embodiments of the present application provides another service device switching method, including:
  • the core network gateway receives the addressing information of the first service device and the addressing information of the user equipment to be migrated from the first serving device, where the addressing information includes at least one of a device identifier and an IP address;
  • the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  • the addressing information of the first service device is used to register the user equipment to be migrated with the first service device.
  • the core network gateway does not need to have the addressing information of the first service device, and the first service device notifies when the handover is needed, so that the transit function of the core network gateway is flexible.
  • the registration is received from the user equipment to be migrated. And sending the registration information to the first service device, where the registration information includes the device identifier of the user equipment to be migrated; receiving the registration confirmation information from the first service device, and sending the registration confirmation information to the user equipment to be migrated, and the registration confirmation information is used.
  • the connection between the user equipment to be migrated and the first service device is successfully established.
  • the first service device has completed registration with the user equipment to be migrated, and the connection between the two has been established.
  • the user equipment to be migrated can report data to the first service device, and the first service device can send an instruction to the user equipment to be migrated.
  • the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the device mode of the user equipment to be migrated, and the device mode may be classified into a discontinuous reception mode. Extended discontinuous reception mode and power saving mode.
  • the user equipment to be migrated can directly report the device mode to the core network gateway, and the core network gateway can also determine the device mode of the user equipment to be migrated according to the information sent by the user equipment to be migrated.
  • the core network gateway immediately obtains the addressing information of the user equipment to be migrated and the addressing information of the user equipment to be migrated.
  • the address information sends the addressing information of the first service device to the user equipment to be migrated.
  • the core network gateway does not immediately send the standby to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated.
  • the addressing information of the service device is first cached, and the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated when the next paging time window arrives.
  • the core network gateway does not immediately send the standby service device to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated.
  • the addressing information is first cached, and when the data reported by the user equipment to be migrated is received, the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  • the core network gateway receives the addressing information of the first serving device from the user equipment to be migrated according to the addressing information of the user equipment to be migrated, and receives the addressing information from the first serving device.
  • a sixth aspect of the embodiments of the present application provides a service device switching apparatus, where the service device switching apparatus has a function of implementing the method provided by the fifth aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the service device switching device includes: a first transceiver module and a second transceiver module; and a first transceiver module, configured to receive, by the first service device, addressing information of the first service device and to be migrated
  • the addressing information of the user equipment, the addressing information includes at least one of a device identifier and an IP address
  • the second transceiver module is configured to send the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  • the address information, the addressing information of the first service device is used to register the user equipment to be migrated with the first service device.
  • the service device switching device includes: a processor, a transceiver, and a memory, wherein the transceiver is configured to receive and transmit information, the memory stores computer execution instructions, and the processor passes the bus and the memory and the transceiver Connected, the processor executes a computer execution instruction stored in the memory to cause the service device switching device to perform: receiving, by the transceiver, the addressing information of the first service device and the addressing information of the user device to be migrated from the first serving device Transmitting the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, where the addressing information includes at least one of a device identifier and an IP address, where the addressing information of the first serving device is used.
  • the user equipment to be migrated is registered with the first service device.
  • the principle and the beneficial effects of the device can be referred to the method described in the fifth aspect and the beneficial effects thereof. Therefore, the implementation of the device can be referred to the implementation of the method, and the repeated description is not repeated.
  • a seventh aspect of the present application provides a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the method described in the fifth aspect above.
  • An eighth aspect of the embodiments of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the above fifth aspect.
  • FIG. 1 is a schematic diagram of a network architecture to which an embodiment of the present application is applied;
  • FIG. 2 is a schematic flowchart of an existing user equipment reporting data to a service device
  • FIG. 3 is a schematic flowchart of a method for switching a service device in an existing manner
  • FIG. 4 is a schematic flowchart of a method for switching a service device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of detecting whether a primary service device is faulty by a backup service device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a process for detecting whether a primary service device is faulty by a backup service device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of establishing a connection between a backup service device and a user equipment according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of a logical structure of a service device according to an embodiment of the present application.
  • FIG. 8 is a simplified schematic diagram of a physical structure of a service device according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a logical structure of a core network gateway according to an embodiment of the present application.
  • FIG. 10 is a simplified schematic diagram of a physical structure of a core network gateway according to an embodiment of the present application.
  • the service device which is an Internet of Things (IoT) platform, provides data collection and management functions for various sensors and subscriber identity module (SIM) cards, and can open data to third-party application systems. Let applications quickly build their own IoT business.
  • the service device is responsible for establishing a connection with the IoT user equipment, and managing and processing the data reported by the IoT user equipment, which can be deployed in the cloud.
  • the IoT platform integrates the IoT connection management platform and the server, and the IoT connection management platform assists in establishing a connection with the user equipment.
  • the server is used to manage and process the data reported by the IoT user equipment, and issue commands.
  • the service device is an NB-IoT platform
  • the disaster recovery system can be divided into a primary service device (ie, a primary NB-IoT platform) and a backup service device (ie, a standby NB-IoT platform).
  • a primary service device ie, a primary NB-IoT platform
  • a backup service device ie, a standby NB-IoT platform
  • the device can be switched to the alternate service device to ensure data interaction between the NB-IoT user device and the service device.
  • the user equipment which is applied to the user equipment in the NB-IoT scenario, may include, but is not limited to, a smart meter, a smart water meter, a smart gas meter, a smart parking sensor, a smart home device, a shared bicycle, and a shared application.
  • the physical equipment of the NB-IoT chip or module is integrated in the streetlights of automobiles and road traffic. It should be noted that the user equipments involved in the embodiments of the present application are all NB-IoT user equipments.
  • the user equipment to be migrated is a user equipment that needs to be migrated from the primary service device to the standby service device in the event of a failure of the primary service device, or may be migrated from the backup service device to the case where the backup service device fails.
  • User device of the primary service device is a user equipment that needs to be migrated from the primary service device to the standby service device in the event of a failure of the primary service device, or may be migrated from the backup service device to the case where the backup service device fails.
  • a migration strategy a migration algorithm, is used to determine which user devices or devices are migrated from the primary service device to the backup service device or from the backup service device to the primary service device.
  • the migration policy may include, but is not limited to, at least one of an interactive migration policy, a rule triggered migration policy, a data report migration policy, a zone migration policy, a type migration policy, and an activity migration policy.
  • An interactive migration strategy for migrating user-aware user devices such as shared bicycles, smart parking sensors, and more.
  • the user equipment is instructed by the user to determine which user equipments interact with the user.
  • the service device stores a history of user commands. Each time a user issues a command, the service device records a history of user commands.
  • the user command history records the device ID of the user device.
  • the user command history records the user devices that interact with the user, and then determines to migrate the user devices.
  • the device identifier may be a device ID, an IMSI, or a MAC address.
  • the rule triggers the migration policy, and is used to migrate the user equipment that meets the rule information.
  • the rule information may include the device identifier, trigger time, and trigger condition of the user equipment.
  • the third-party application system can set the rule information to the primary service device, or the backup service device, or the primary service device and the backup service device. For example, if the primary service device fails in the early morning, and the user equipment collected in batches is about to trigger the collection of data, the user equipment needs to be migrated to the backup service device. By analyzing the rule information, it is possible to predict which user devices are about to meet the rules and migrate these user devices.
  • the data is reported to be migrated to the user equipment that needs to report data in the current time period.
  • the service device records the historical data of the user equipment according to the time when the data is reported by the user equipment. Each time the user equipment reports a data, the service device stores a data in the database, and the stored information includes the device identifier of the user equipment.
  • the historical data can be used to analyze the possible reporting time of the user equipment, and compare the fault time of the service equipment with the data time reported by the user equipment. It can be determined which user equipments will report data and migrate these user equipments.
  • the area migration policy is used to migrate user equipment in a specified area, for example, to migrate user equipment in the government location and hotspot area.
  • the EPC locates the geographic location of the user equipment by using the cell information, and reports the geographic location of the user equipment to the service device, where the service device stores the geographic location of the user equipment.
  • the service device can determine the user devices that need to be migrated according to the specified area, and migrate the user devices.
  • a type migration policy for migrating user devices of the specified type When a user equipment accesses a service device, each user equipment is classified into a certain category, for example, a smart refrigerator belongs to one category, a smart water meter is classified into one category, and a shared bicycle belongs to one category. It can be understood that the service device has already determined the type of the user device when adding the user device for management, and then the user device of the type can be migrated according to the specified type.
  • An active mobility migration policy is used to migrate user devices with specified activeness. Activeness refers to the active interaction between user devices and service devices.
  • the service device can count the active status of the user equipment according to the historical record of the data reported by the user equipment and the commands sent by the user equipment, and sort according to the activity level of the user equipment.
  • the activity level can be divided into three levels: high, medium, and low. User equipment can be migrated in batches according to activity.
  • the user equipment migration policy is the finalized migration policy, that is, the final determination of which migration strategy or migration policies are used to migrate the user equipment.
  • the user equipment migration policy may be one or more of the foregoing six migration strategies, and may be other migration strategies than the foregoing six migration policies.
  • the core network gateway is used to provide user session management and bearer control, data forwarding, internet protocol (IP) address allocation, and non-3rd generation partnership project (3GPP) user access.
  • the core network gateway may be a public data network gateway (PGW/P-GW) in the fourth generation mobile communication (4th-generation) core network architecture, that is, a PGW in the EPC, or may be a third generation.
  • PGW/P-GW public data network gateway
  • GGSN generalized radio service
  • GGSN fifth-generation mobile communication
  • the device mode refers to the power-saving technology mode of the NB-IoT user equipment, which can be divided into discontinuous reception mode (DRX), extended discontinuous reception (eDRX), and power saving mode. , PSM).
  • DRX discontinuous reception mode
  • eDRX extended discontinuous reception
  • PSM power saving mode
  • the DRX cycle is configured by the base station and broadcast to the user equipment through system messages.
  • the paging channel is monitored every DRX cycle to check whether downlink service is reached.
  • the EPC receives the downlink data packet, caches the data packet, and pages the user equipment, triggers the user equipment to establish an air interface connection, and then forwards the downlink data packet.
  • the DRX period of NB-IoT ranges from 1.28s, 2.56s, 5.12s or 10.24s.
  • the service device can assume that the user device is reachable at any time.
  • eDRX in each eDRX cycle, has a paging time window (PTW).
  • the user equipment only listens to the paging channel in the PTW according to the eDRX cycle, so as to receive the downlink service, and the time outside the PTW is in a sleep state. Do not listen to the paging signal and cannot receive downlink traffic.
  • the length of the eDRX and the length of the PTW are configurable.
  • the user equipment and the mobility management entity (MME) negotiate the value of the MME to the user equipment.
  • the MME can use the access point name. , APN) or IMSI segment configuration.
  • the EPC receives the downlink data packet outside the PTW, and caches the data packet (only one can be cached for each user equipment).
  • the MME When entering the PTW, the MME pages the user equipment, triggers the user equipment to establish an air interface connection, and then forwards the data packet to User equipment.
  • the service device can issue commands to the user equipment at any time, but if the user equipment is not online, the EPC can only cache one message. After the message is sent, it takes up to one eDRX cycle to reach the user equipment.
  • the downlink service delay is not required (for example, the smart water meter, the downlink service is mainly parameter location, firmware, etc., and the user equipment can wait for the uplink data to enter the connection state and then initiate), and the PSM can be used to further save the power consumption of the user equipment.
  • the receiver Once the user equipment accesses the PSM mode, the receiver will be shut down and the system message and paging message of the air interface will no longer be received.
  • the network side cannot actively contact the user equipment. Only when the user equipment needs to send uplink data or needs to perform periodic location update, Will actively wake up to perform the upstream business process.
  • the base station considers that it is in the connected state after being received by the base station for a period of time (for example, 5 s, specifically configured according to the base station inactivity timer), and can be immediately sent.
  • FIG. 1 is a schematic diagram of a network architecture in which an embodiment of the present application is applied.
  • the network architecture shown in Figure 1 includes user equipment, access networks, core networks, and IoT platforms. It should be noted that the configuration and the number of the devices and network elements shown in FIG. 1 are not sufficient to limit the embodiments of the present application.
  • the user equipment may include, but is not limited to, a physical device integrated with an NB-IoT chip and a module such as a smart water meter, a smart meter, a shared bicycle, and a smart refrigerator.
  • the access network mainly completes the communication and management functions between the mobile communication network and the user equipment.
  • the access network includes a base station, which may be a base station (node B, NB) in 3G, or an evolved node B (eNB) in 4G, or may be a base station in 5G or a future communication system.
  • a base station which may be a base station (node B, NB) in 3G, or an evolved node B (eNB) in 4G, or may be a base station in 5G or a future communication system.
  • the function of the core network is mainly to provide a user connection, management of the user, and completion of the service, as an interface provided by the bearer network to the external network.
  • the establishment of user connections includes mobility management, call management, switching/routing, and recording notifications.
  • User management includes user description, quality of service (QoS), user communication records, security, and the like.
  • the bearer connection includes an external public switched telephone network (PSTN), an external circuit data network and a packet data network, a server, and the like.
  • PSTN public switched telephone network
  • the basic services that the core network can provide include mobile office, e-commerce, communications, entertainment services, travel and location-based services, remote sensing services, simple messaging services (such as surveillance control), and more.
  • the core network shown in FIG. 1 is an EPC in 4G, including a PGW, an MME, a serving gateway (SGW), a policy and charging rules function (PCRF), and a user subscriber server (home subscriber server). , HSS). It should be noted that the core network shown in FIG. 1 does not constitute a limitation on the embodiment of the present application, and may also be a core network in a 5G communication system or a core network in a future communication system.
  • the core network is connected to the primary service device. In the event that the primary service device fails, the core network switches to connect with the backup service device to ensure data interaction between the user device and the service device.
  • a schematic diagram of a process for reporting data to an existing user equipment to a service device may include, but is not limited to, the following steps:
  • Step S201 The user equipment sends first registration information to the EPC, where the first registration information includes an IP address of the service device and an IMSI value of the user equipment. Accordingly, the EPC receives the first registration information from the user equipment.
  • the user equipment sends the first registration information to the EPC through the access network, and specifically sends the first registration information to the PGW in the EPC.
  • the first registration information includes an IP address of the service device and an IMSI value of the user equipment, so that the EPC sends the IMSI value of the user equipment to the service device corresponding to the IP address.
  • Step S202 The EPC sends second registration information to the service device, where the second registration information includes an IMSI value of the user equipment. Accordingly, the service device receives the second registration information from the EPC.
  • the EPC when receiving the first registration message, caches the device information of the user equipment, and sends the second registration information to the service device according to the IP address of the service device, where the second registration information includes the IMSI value of the user equipment.
  • the device information of the user equipment includes an IMSI value of the user equipment, a device mode (DRX, eDRX, or PSM) of the user equipment, a device type of the user equipment, and a device ID of the user equipment.
  • Step S203 the service device sends a subscription message to the EPC. Accordingly, the EPC receives the subscription message from the service device.
  • the service device When receiving the second registration information, the service device registers the user equipment according to the IMSI value of the user equipment, and stores the IMSI value of the user equipment. Upon completion of the registration of the user equipment, a connection between the user equipment and the service device is established, and the service device sends a subscription message to the EPC, the subscription message being used to subscribe to the data of the user equipment.
  • Step S204 The EPC sends a subscription message to the user equipment. Accordingly, the user equipment receives the subscription message from the EPC.
  • the EPC When receiving the subscription message sent by the service device, the EPC sends a subscription message to the user equipment, where the subscription message is used to subscribe to the data of the user equipment.
  • Step S205 the user equipment sends data to the EPC. Accordingly, the EPC receives data from the user equipment.
  • the user equipment sends the data to be reported to the EPC in the non-confirmable (NON) message mode of the CoAP when the data needs to be reported.
  • NON non-confirmable
  • Step S206 the EPC sends data to the service device. Accordingly, the service device receives data from the EPC.
  • the EPC When receiving the data that needs to be reported sent by the user equipment, the EPC sends the data that needs to be reported to the service device.
  • the EPC can process the received data and send the processed data to the service device.
  • the service device performs subsequent processing in the case that the data sent by the EPC is received.
  • the embodiment of the present application does not introduce the subsequent processing. Because it is a non-acknowledgment message mode, the service device does not need to feed back an acknowledgment message to the EPC.
  • the user equipment configures the IP addresses of the primary service device and the backup service device, and configures the user device to acknowledge the message mode to report data to the service device. It can be understood that the acknowledgement message mode requires a service device feedback response message.
  • the response message may be sent to the EPC by a cloud inter-gateway (CIG) in the service device.
  • the cloud gateway is a protocol conversion module in the IoT platform, which is used for protocol conversion between different protocol data of the user equipment and user equipment access protocol data of the IoT platform standard.
  • FIG. 3 is a schematic flowchart of a method for switching a service device in an existing manner, where the process may include, but is not limited to, the following steps:
  • Step S301 the user equipment sends the first data to the EPC. Accordingly, the EPC receives the first data from the user equipment.
  • Step S302 the EPC sends the first data to the primary service device. Accordingly, the primary serving device receives the first data from the EPC.
  • Step S303 the primary service device sends a first response message to the EPC. Accordingly, the EPC receives the first response message from the primary service device.
  • Step S304 the EPC sends a first response message to the user equipment. Accordingly, the user equipment receives the first response message from the EPC.
  • Step S301 - Step S304 is a process in the case that the primary service device is in normal working condition. If the user equipment does not receive the first response message within a specified time, indicating that the primary service device may be faulty, the user equipment resends the first data to the EPC. If the response message is still not received after retransmission, it indicates that the primary service device is faulty, then the user equipment switches to the standby service device, and the following steps are performed:
  • Step S305 the user equipment sends the second data to the EPC. Accordingly, the EPC receives the second data from the user equipment.
  • the second data may be the same as or different from the first data.
  • Step S306 the EPC sends the second data to the standby service device. Accordingly, the alternate service device receives the second data from the EPC.
  • Step S307 the standby service device sends a second response message to the EPC. Accordingly, the EPC receives a second response message from the alternate serving device.
  • Step S308 the EPC sends a second response message to the user equipment. Accordingly, the user equipment receives a second response message from the EPC.
  • the user equipment retransmits multiple times to detect whether the primary service device works normally, and the user equipment triggers the handover from the primary service device to the backup service.
  • the device which increases the extra power consumption of the user device.
  • the smart water meter has a battery life of about 5 years. If it is retransmitted multiple times to detect whether the main service equipment is working properly, the battery life will be reduced, and the replacement of the smart water meter battery is not as simple as the replacement of the mobile phone battery, in other words, replacement. Smart water meter batteries are more troublesome.
  • the embodiment of the present application provides a service device switching method and device thereof, which does not require the user equipment to detect whether the service device works normally, and does not need the user equipment to trigger the switching of the service device, and can reduce the power consumption of the user equipment.
  • FIG. 4 is a schematic flowchart of a method for switching a service device according to an embodiment of the present disclosure. The method may include, but is not limited to, the following steps:
  • Step S401 In the case that the second service device is faulty, the first service device determines, according to the user equipment migration policy, the user equipment to be migrated from the user equipment that establishes a connection with the second service device.
  • the first service device may be a primary service device or a backup service device
  • the second service device may be a primary service device or a backup service device. If the first service device is the primary service device, the second service device is the backup service device; if the first service device is the backup service device, the second service device is the primary service device.
  • the second service device is a service device to which the user equipment is to be migrated before the handover, and the first service device is the service device to which the user equipment is to be migrated after the handover.
  • the embodiment of the present application introduces the first service device as the backup service device and the second service device as the primary service device.
  • the first service device may determine whether the second service device is faulty, that is, the backup service device may detect whether the primary service device is faulty, and the backup service device may detect whether the primary service device is faulty in the following two manners.
  • the first service device periodically sends a request message to the second service device. If the first service device does not receive the response message within the preset time period, determining that the second service device is faulty, that is, determining that the primary service device is faulty. .
  • the preset time period may be related to the period of sending the request message, for example, the period is 10s, and the preset time period is 30s. See the description of Figure 5a for details.
  • the first service device periodically sends a request message to the second service device. If the first service device does not receive the response message within the preset time period, the device sends a fault estimation message, where the fault estimation message indicates the second service.
  • the device may be faulty, and in the event that the first serving device receives an acknowledgment command for the fault speculative message, determining that the second serving device is faulty, ie, determining that the primary serving device is faulty. See the description of Figure 5b for details.
  • the first service device may send a fault speculative message to the administrator device, may also send a fault speculative message to the operation and maintenance system, and may output a fault speculative message or the like in the form of the alarm log in the first service device.
  • the operation and maintenance system can operate and maintain the primary service device and the backup service device.
  • the first service device may receive real-time data sent by the second service device, that is, the first service device performs hot backup with the second service device.
  • a hot backup is a backup of a system that is in normal operation.
  • the real-time data may include a device identifier of the user equipment that establishes a connection with the second service device, where the device identifier may be a device ID, an IMSI, or a MAC address. It can be understood that there is more than one user equipment establishing a connection with the second service device, and the real-time data includes the device identifiers of all the user equipments that establish a connection with the second service device. And, in a case that the new user equipment is connected to the second service device, the second service device sends the device identifier of the new user device to the first service device, so that the first service device adds the device identifier of the new user device. . In the case that the user equipment is disconnected from the second service device, the second service device sends the device identifier of the disconnected user device to the first service device, so that the first service device deletes the disconnected user device. Device identification.
  • the real-time data may further include attribute information of the user equipment that establishes a connection with the second service device, and the attribute information may include, but is not limited to, at least user interaction information, rule information, data report information, area information, device type, and activity information.
  • attribute information may include, but is not limited to, at least user interaction information, rule information, data report information, area information, device type, and activity information.
  • the user interaction information includes multiple user command history records. Each time a user sends a command to the user device, the second service device records a history of the user command. User interaction information can be used to determine whether an interactive migration policy is met.
  • the rule information may be used to determine whether the rule triggers the migration policy, and the rule information may include a trigger time, a trigger condition, and the like.
  • the data reporting information is used to determine whether the data reporting migration policy is met, and the data reporting information may include the reporting time.
  • the area information is the geographic location of the user equipment that is connected to the second service device by the EPC, and is used to determine whether the area migration policy is met.
  • the device type can be reported by the user device or by the EPC or the second service device.
  • the device type is used to determine whether the type migration policy is met.
  • the activity information includes a history record of the data reported by the user equipment and a command sent by the second service device, and may be used by the second service device to determine whether the activity migration policy is met.
  • the real-time data may further include an IP address of the user equipment that establishes a connection with the second service device, so that after determining the user equipment to be migrated, the information may be sent to the user equipment to be migrated according to the IP address or according to the device identifier and the IP address.
  • the first service device may acquire the user equipment migration policy before determining the user equipment to be migrated from the user equipment that establishes a connection with the second service device according to the user equipment migration policy. It can be understood that the first service device acquiring the user equipment migration policy may be before determining that the primary service device is faulty, or after determining that the primary service device is faulty.
  • the first serving device receives the migration policy from the second serving device, and determines the received migration policy as the user device migration policy. In other words, which migration policies are sent by the primary service device to the alternate service device, these migration policies are determined as user device migration policies.
  • the second service device may selectively send the migration policy to the first service device, and the first service device determines the received migration policy as the user migration policy.
  • the administrator can log in to the maintenance interface of the second service device and select the migration policy to be sent to the first service device.
  • the first service device receives the migration policy from the second service device, and the administrator can log in to the maintenance interface of the first service device, where the maintenance interface displays the migration policy received from the second service device, and the management A selection instruction can be input for these migration policies, and one or more of the migration policies are selected, and the first service device determines the selected migration policy as the user equipment migration policy.
  • the migration policies sent by the administrator from the primary service device to the alternate service device are selected, and the selected migration policy is determined as the user device migration policy.
  • the migration policy received by the first service device from the second service device may include, but is not limited to, an interactive migration policy, a rule triggered migration policy, a data reporting migration policy, a regional migration policy, a type migration policy, and an active mobility migration. At least one of the strategies.
  • the second service device may store the migration policy in an operation and maintenance (O&M) portal.
  • O&M operation and maintenance
  • the O&M portal can be located on the second service device and is open to the administrator, that is, the administrator can control when the migration policy is sent to the first service device.
  • the first serving device selects the user equipment that satisfies the user equipment migration policy from the user equipment that establishes the connection with the second service device according to the real-time data received from the second service device, and determines the user equipment that meets the user equipment migration policy as User equipment to be migrated.
  • the number of user equipment migration policies is one, the user equipment that meets the user equipment migration policy is determined as the user equipment to be migrated. If the number of the user equipment migration policies is two or more, the user equipment that satisfies the user equipment migration policies is determined as the user equipment to be migrated.
  • the user equipment migration policy includes a zone migration policy, and the area information of a user equipment matches the area specified by the area migration policy, that is, the area information of the user equipment meets the area migration policy, and the user can be the user.
  • the device is determined to be the user device to be migrated.
  • the user equipment to be migrated is determined according to the user equipment migration policy, so that the user equipment migration is performed in a targeted manner, that is, the targeted migration according to the attribute information of the user equipment can reduce the service loss.
  • Step S402 The first service device notifies the user equipment to be migrated to register with the first service device.
  • the first service device notifies the user equipment to be migrated to register with the first service device to establish a connection with the user equipment to be migrated. It can be understood that, in the case of a failure of the second service device, the connection between the user equipment to be migrated and the user equipment may have been disconnected, so the first service device needs to establish a connection with the user equipment to be migrated. Or, in the case of a fault, the second service device cannot process the data reported by the user equipment to be migrated, and the command cannot be sent to the user equipment to be migrated. Therefore, the user equipment to be migrated needs to be registered with the first service device. The connection between the two service devices is switched to the connection with the first service device.
  • the first service device notifies the user equipment to be migrated to register with the first service device through the core network gateway.
  • the first serving device sends the addressing information of the first serving device and the addressing information of the user device to be migrated to the core network gateway, and the core network gateway sends the user to be migrated according to the addressing information of the user device to be migrated.
  • the device sends the addressing information of the first service device, and the user equipment to be migrated registers with the first service device through the core network gateway when receiving the addressing information of the first service device.
  • the first serving device sends the addressing information of the user equipment to be migrated to the core network gateway, and the core network gateway obtains the addressing of the first service device from the source address information of the message sent by the first serving device. And transmitting the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, and the user equipment to be migrated passes through the core network after receiving the addressing information of the first service device.
  • the gateway registers with the first service device.
  • the core network gateway may further determine that the user equipment migration is to be performed through a pre-agreed message or a cell sent by the backup service device, and obtain the first service according to the source address of the message or the pre-configured information. Addressing information for the device.
  • a user equipment is registered on the service device, that is, a connection between the user equipment and the service device is established, and the user equipment can report data to the service device, and can receive a command sent by the service device.
  • the process of establishing a connection between the first service device and the user equipment to be migrated can be referred to the description of FIG. 6.
  • the user equipment to be migrated is determined from the user equipment that establishes a connection with the primary service device according to the user equipment migration policy, and the user equipment to be migrated is notified to the first
  • the service device is registered to establish a connection between the backup service device and the user device to be migrated, without the user device triggering the switching of the service device, reducing the dependence on the user device, reducing the power consumption of the user device, and facilitating the promotion of the NB-IoT.
  • Application of user equipment is described in the case that the primary service device is faulty.
  • first service device and the second service device in the embodiment of the present application is flexible, and it is not necessary to limit the two to be in the same city or the same region, which can reduce the disaster recovery deployment cost of the operator.
  • FIG. 5 is a schematic flowchart of a method for detecting whether a primary service device is faulty by a backup service device according to an embodiment of the present disclosure, which may include:
  • Step S501a the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • the request message may be a hypertext transfer protocol (HTTP) request message, and the request message does not carry any parameters.
  • HTTP hypertext transfer protocol
  • the alternate serving device may periodically send a request message to the primary serving device, for example, the alternate serving device sends a request message to the primary serving device every 10 seconds.
  • the specific period value is not limited in the embodiment of the present application.
  • Step S502a the primary service device sends an acknowledgement message to the backup service device. Accordingly, the alternate service device receives an acknowledgment message from the primary service device.
  • the confirmation message may be an HTTP 200 acknowledgment message, and the acknowledgment message does not carry any parameters.
  • the acknowledgment message is used to respond to the request message indicating that the primary service device has received the request message.
  • the standby service device receives the confirmation message, indicating that the primary service device is working normally and there is no fault.
  • Step S503a the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • Step S504a the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • Step S505a the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • step S503a - step S505a that is, the standby service device does not receive the acknowledgement message after sending the request message three times to the master service device.
  • Step S506a the standby service device determines that the primary service device is faulty.
  • the standby service device does not receive the acknowledgment message after sending the three-time request message, it can be determined that the primary service device is faulty at this time. It can be understood that, in the case that the backup service device does not receive the confirmation message, the primary service device may be determined to be faulty.
  • the specific value of the preset number of times is not limited in the embodiment of the present application.
  • the backup service device may be determined that the primary service device is faulty at this time, and the specific value of the preset time period is not used in the embodiment of the present application. limited. For example, the period in which the standby service device sends the request message to the primary service device is 10 s, and the preset time period is 30 s. If the acknowledgment message is not received within 30 s, the primary service device failure may be determined at this time.
  • the standby service device can directly determine that the primary service device is faulty if the acknowledgment message is not received by the preset number of times request message, or if the acknowledgment message is not received within the preset time period.
  • FIG. 5 is a schematic flowchart of another method for detecting whether a primary service device is faulty by the backup service device according to an embodiment of the present disclosure, which may include:
  • Step S501b the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • Step S502b the primary service device sends an acknowledgement message to the backup service device. Accordingly, the alternate service device receives an acknowledgment message from the primary service device.
  • Step S503b the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • Step S504b the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • Step S505b the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
  • Step S506b the backup service device sends a fault estimation message to the administrator device. Accordingly, the administrator device receives the fault speculative message from the alternate serving device.
  • the standby service device does not receive the acknowledgement message after sending the three-time request message, it may be considered that the primary service device may be faulty at this time. It can be understood that, in the case that the standby service device does not receive the acknowledgment message, the primary service device may be faulty at this time, and the specific value of the preset number of times is not limited in the embodiment of the present application. .
  • the backup service device may be considered that the primary service device may be faulty at this time, and the specific value of the preset time period is in the embodiment of the present application. Not limited. For example, the period in which the backup service device sends the request message to the primary service device is 10s, and the preset time period is 30s. If the confirmation message is not received within 30s, the primary service device may be considered to be faulty.
  • the alternate serving device may send fault guessing information to the administrator device indicating that the primary serving device may be faulty.
  • the administrator device is a device operated by the administrator, and is used to monitor the service device, receive information sent by the service device, and send information to the service device, such as a mobile phone.
  • the administrator can be the maintenance engineer of the primary service device or the maintenance engineer of the primary service device and the backup service device.
  • the backup service device can send a fault speculative message to the administrator device by sending a short message or sending an email.
  • the backup service device may also send a fault estimation message to the operation and maintenance system, and the operation and maintenance system may perform fault detection on the primary service device if the fault estimation message is received.
  • the backup service device may also output a fault estimation message on the standby service device side in a manner of alerting the log to notify the administrator that the primary service device may be faulty.
  • the backup service device may also send or output a fault estimation message in other manners, which is not enumerated in the embodiments of the present application.
  • step S507b the administrator device sends an acknowledgement command to the backup service device. Accordingly, the alternate service device receives a confirmation command from the administrator device.
  • the administrator device When the administrator device receives the fault estimation message, the administrator can log in to the primary service device to check whether the primary service device is faulty. When the primary service device fails, the administrator sends the backup device to the backup service device. The confirmation command or the administrator directly enters a confirmation command on the alternate service device, which is used to indicate that the primary service device is faulty. The administrator device can send a confirmation command to the backup service device by replying to the short message, replying to the email, and clicking the fault confirmation button.
  • the operation and maintenance system when receiving the fault estimation message, performs fault detection on the primary service device, and in the case of determining that the primary service device is faulty, sends an acknowledgement instruction to the backup service device, where the acknowledgement command is used to indicate that the primary service device is faulty. . It is also possible for the administrator of the operation and maintenance system to check whether the primary service device is faulty, and to send the confirmation command to the backup service device through the operation and maintenance system in the event that the primary service device is determined to be faulty.
  • the administrator checks whether the primary service device is faulty.
  • the primary service device fails, the administrator can directly input a confirmation command on the backup service device.
  • the confirmation command is used to indicate that the primary service device is faulty.
  • Step S508b the standby service device determines that the primary service device is faulty.
  • the standby service device may determine that the primary service device is faulty upon receiving the confirmation command.
  • the standby service device determines that the primary service device is faulty upon receiving the confirmation command sent by the administrator.
  • the processes shown in FIG. 5a and FIG. 5b are all determined by the backup service device to determine the failure of the primary service device. Compared with the method for detecting whether the primary service device works normally by the user device, the power consumption of the user equipment can be reduced, and the pressure on the wireless network can be reduced. And the load (because of the method detected by the user equipment to confirm the message mode, the feedback response message is needed, which will cause pressure and load on the wireless network).
  • FIG. 6 is a schematic diagram of a process of establishing a connection between a backup service device and a user equipment according to an embodiment of the present disclosure, which may include:
  • Step S601 The backup service device sends the addressing information of the standby service device and the addressing information of the user equipment to be migrated to the core network gateway.
  • the core network gateway receives the addressing information of the standby service device and the addressing information of the user equipment to be migrated from the standby service device.
  • the backup service device sends the addressing information of the standby service device and the addressing information of the user equipment to be migrated to the core network gateway in the case that the user equipment to be migrated is determined.
  • the addressing information may include at least one of a device identification and an IP address.
  • the device identifier can be a device ID, an IMSI, or a MAC address.
  • the device ID and IP address of the user equipment to be migrated can be obtained from real-time data.
  • the backup service device may send the addressing information of the backup service device and the addressing information of the user equipment to be migrated to the core network gateway by using a message, that is, the message carries the addressing information of the standby service device and Addressing information of the user equipment to be migrated.
  • a message that is, the message carries the addressing information of the standby service device and Addressing information of the user equipment to be migrated.
  • the specific name of this message is not limited in the embodiment of the present application.
  • the backup service device may send the addressing information of the user equipment to be migrated to the core network gateway by using a message, that is, the message carries the addressing information of the user equipment to be migrated.
  • the specific name of this message is not limited in the embodiment of the present application.
  • the core network gateway can obtain the addressing information of the standby service device by using other methods, for example, the source address of the message sent by the backup service device, and the addressing information of the backup service device is obtained, and the core network gateway obtains the information through the pre-configured information, for example, the pre-configured information.
  • the configuration information includes addressing information of the alternate service device.
  • the core network gateway or the user device to be migrated may search for the IP address of the standby service device according to the device identifier of the backup service device, for example, according to the device identifier of the backup service device. Find the IP address of the alternate service device in the domain name system (DNS). If the addressing information of the standby service device includes the IP address of the standby service device, the core network gateway may directly send the IP address of the standby service device to the user equipment to be migrated.
  • DNS domain name system
  • the core network gateway may directly send the device identifier and the IP address of the standby service device to the user equipment to be migrated.
  • the addressing information may also include other information for determining the IP address of the alternate serving device.
  • the backup service device further sends an authorization check code to the core network gateway, where the authorization check code can be sent together with the addressing information of the standby service device and the addressing information of the user equipment to be migrated, that is, carried Sent in the same message.
  • the authorization check code can also be sent together with the addressing information of the user equipment to be migrated.
  • the authorization check code is used by the core network gateway to perform security check on the standby service device. In the case of non-encrypted transmission between the backup service device and the core network gateway, the security of the transmission can be ensured by the authorization check code.
  • Step S602 The core network gateway sends the addressing information of the standby service device to the user equipment to be migrated.
  • the user equipment to be migrated receives the addressing information of the standby service device from the core network gateway.
  • the core network gateway when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated, may send the addressing information of the standby service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  • the user equipment to be migrated is registered with the backup service device according to the addressing information of the standby service device.
  • the core network gateway sends the addressing information of the standby service device to the user equipment to be migrated according to the device mode of the user equipment to be migrated.
  • the user equipment to be migrated can directly report the device mode to the core network gateway, and the core network gateway can also determine the device mode of the user equipment to be migrated according to the information sent by the user equipment to be migrated.
  • the core network gateway immediately sends the addressing information of the user equipment to be migrated according to the addressing information of the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated.
  • the device sends addressing information for the alternate service device.
  • the core network gateway does not immediately send the backup service device to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated.
  • the address information is cached first, and the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated when the next PTW arrives.
  • the core network gateway does not immediately send the backup service device to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated.
  • the address information is cached first, and when the data reported by the user equipment to be migrated is received, the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  • the core network gateway may be configured to determine which address device or devices to send the addressing information of the first service device; and the addressing information of the user equipment to be migrated In the case of the device identification and the IP address, the core network gateway can be facilitated to better determine which address device or devices to transmit the addressing information of the first service device.
  • Step S603 The user equipment to be migrated sends registration information to the core network gateway, where the registration information includes the equipment identifier of the user equipment to be migrated.
  • the core network gateway receives the registration information from the user equipment to be migrated.
  • the device identifier of the user equipment to be migrated included in the registration information is used to identify which or which user equipment to be migrated requests registration, that is, request to establish a connection with the backup service device.
  • the device ID of the user equipment to be migrated may be a device ID, an IMSI, or a MAC address.
  • the user equipment to be migrated when receiving the addressing information of the standby service device, sends registration information to the core network gateway according to the addressing information of the standby service device, for requesting registration on the backup service device.
  • Step S604 the core network gateway sends the registration information to the backup service device. Accordingly, the alternate service device receives the registration information from the core network gateway.
  • the core network gateway sending the registration information to the backup service device may further include the device identifier of the user equipment to be migrated.
  • the core network gateway After receiving the registration information sent by the user equipment to be migrated, the core network gateway locates the geographic location of the user equipment to be migrated by using the cell information, determines the location information of the user equipment to be migrated, that is, the geographic location, and sends the location information to the backup service device.
  • the registration information of the device identifier and the location information of the user equipment to be migrated is carried, so that the backup service device obtains the geographical location of the user equipment to be migrated.
  • the core network gateway determines the geographical location of the smart water meter installation, and sends the registration information of the device identifier and the location information of the user equipment to be migrated to the backup service device, so that the backup service device obtains the installation geographic location of the smart water meter.
  • Step S605 the standby service device sends registration confirmation information to the core network gateway. Accordingly, the core network gateway receives registration confirmation information from the alternate service device.
  • the standby service device When receiving the registration information, the standby service device registers the user equipment to be migrated, and sends registration confirmation information to the core network gateway.
  • the registration confirmation information is used to respond to the registration information sent by the core network gateway, that is, the backup service device receives the registration information, and registers the user equipment to be migrated, and the connection between the user equipment to be migrated and the first service device is successfully established.
  • Step S606 The core network gateway sends registration confirmation information to the user equipment to be migrated.
  • the user equipment to be migrated receives the first registration confirmation information from the core network gateway.
  • the registration confirmation information sent by the core network gateway to the user equipment to be migrated is used to respond to the registration information sent by the user equipment to be migrated, that is, the backup service device receives the registration information, and the backup service device registers the user equipment to be migrated.
  • the connection with the first service device is established successfully.
  • the user equipment to be migrated can report data to the backup service device through the core network gateway, that is, the data is first sent to the core.
  • the network gateway sends the data to the backup service device by the core network gateway.
  • the backup service device can also send commands to the user equipment to be migrated through the core network gateway.
  • the user equipment is not required to trigger the handover of the service device, and the connection between the user equipment and the user equipment is directly established by the backup service device to implement the handover of the service device.
  • the interaction process between the user equipment to be migrated and the base station is omitted, that is, the access network procedure is omitted.
  • the base station is equivalent to a relay station between the user equipment to be migrated and the core network gateway.
  • FIG. 7 is a schematic diagram of a logical structure of a service device according to an embodiment of the present disclosure.
  • the service device may be a first service device, that is, a backup service device.
  • the service device 70 can include a processing module 701 and a first transceiver module 702.
  • the processing module 701 is configured to determine, in the case that the second service device is faulty, the user equipment to be migrated from the user equipment that establishes a connection with the second service device according to the user equipment migration policy.
  • the first transceiver module 702 is configured to notify the user equipment to be migrated to register with the first service device.
  • the processing module 701 is configured to perform step S401 in the embodiment shown in FIG. 4, where the first transceiver module is configured to perform step S402 in the embodiment shown in FIG.
  • the first transceiver module 702 is specifically configured to send, to the core network gateway, addressing information of the first service device and addressing information of the user equipment to be migrated, where the addressing information includes the device identifier and the network interconnection protocol. At least one of the IP addresses, the addressing information of the user equipment to be migrated is used to enable the core network gateway to send the addressing information of the first serving device to the user equipment to be migrated, where the addressing information of the first serving device is used to be migrated.
  • the user equipment registers with the first service device.
  • the first transceiver module 702 is further configured to receive registration information from a core network gateway, where the registration information includes a device identifier of the user equipment to be migrated, and send registration confirmation information to the core network gateway according to the registration information, where the registration confirmation information is used.
  • the connection between the user equipment to be migrated and the first service device is successfully established.
  • the service device 70 further includes a second transceiver module 703, configured to receive an authorization verification code from the second service device, and is further configured to receive real-time data from the second service device, and is also used to periodically
  • the service device sends a request message, and is further configured to receive a response message sent by the second service device, and is further configured to receive a migration policy from the second service device.
  • the service device 70 further includes a third transceiver module 704, configured to send a fault estimation message, and further configured to receive a confirmation instruction for the fault estimation message.
  • the first transceiver module 702 is configured to execute S601, step S604, and step S605 in the embodiment shown in FIG. 6;
  • the second transceiver module 703 is configured to perform step S501a-step S505a in the embodiment shown in FIG. 5a, FIG. 5b. Step S501b to step S505b in the illustrated embodiment;
  • the third transceiver module 704 is configured to perform step S506b and step S507b in the embodiment shown in FIG. 5b.
  • first transceiver module 702 is configured to communicate with a core network gateway
  • second transceiver module 703 is configured to communicate with a second service device
  • third transceiver module 704 is configured to communicate with an administrator device.
  • FIG. 8 is a simplified schematic diagram of a physical structure of a service device according to an embodiment of the present application.
  • the service device may be a first service device, that is, a backup service device.
  • the service device 80 includes a transceiver 801, a processor 802, and a memory 803.
  • the transceiver 801, the processor 802, and the memory 803 may be connected to one another via a bus 804, or may be connected in other manners.
  • Related functions implemented by the processing module 701 shown in FIG. 7 may be implemented by one or more processors 802.
  • the related functions implemented by the first transceiver module 702, the second transceiver module 703, and the third transceiver module 704 shown in FIG. 7 can be implemented by the transceiver 801.
  • the memory 803 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read only memory (EPROM), or A compact disc read-only memory (CD-ROM) for storing related instructions and data.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read only memory
  • CD-ROM compact disc read-only memory
  • the transceiver 801 is configured to transmit data and/or signaling, as well as receive data and/or signaling.
  • the transceiver 801 can be divided into a transceiver 8011 that communicates with a core network gateway, a transceiver 8012 that communicates with a primary service device, and a transceiver 8013 that communicates with an administrator device.
  • the transceiver 8011 is configured to perform S601, step S604, and step S605 in the embodiment shown in FIG. 6; the transceiver 8012 is configured to perform steps S501a-S505a in the embodiment shown in FIG. 5a, in the embodiment shown in FIG. 5b. Step S501b - step S505b; the transceiver 8013 is configured to perform step S506b and step S507b in the embodiment shown in Fig. 5b.
  • the processor 802 may include one or more processors, for example, including one or more central processing units (CPUs).
  • the processor 802 may be a single core CPU, It can be a multi-core CPU.
  • the processor 802 is configured to perform step S401 in the embodiment shown in FIG. 4, step S506a in the embodiment shown in FIG. 5a, and step S508b in the embodiment shown in FIG. 5b.
  • the memory 803 is used to store program codes and data of the service device switching device 80.
  • Figure 8 only shows a simplified design of the service device.
  • the service device may also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are in this application. Within the scope of protection.
  • FIG. 9 is a schematic diagram of a logical structure of a core network gateway according to an embodiment of the present application.
  • the core network gateway may be a PGW.
  • the core network gateway 90 can include a first transceiver module 901 and a second transceiver module 902.
  • the first transceiver module 901 is configured to receive, by the first serving device, addressing information of the first serving device and addressing information of the user device to be migrated, where the addressing information includes at least one of a device identifier and an IP address.
  • the second transceiver module 902 is configured to send the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, where the addressing information of the first service device is used to be
  • the migration user device registers with the first service device.
  • the second transceiver module 902 is further configured to receive registration information from the user equipment to be migrated.
  • the first transceiver module 901 is further configured to send the registration information to the first service device, where the registration information includes a device identifier of the user equipment to be migrated.
  • the first transceiver module 901 is further configured to receive registration confirmation information from the first serving device.
  • the second transceiver module 902 is further configured to send the registration confirmation information to the user equipment to be migrated, where the registration confirmation information is used to indicate that the connection between the user equipment to be migrated and the first service device is successfully established. .
  • the core network gateway 90 may further include a processing module 903.
  • the processing module 903 is configured to determine a device mode of the user equipment to be migrated, where the device mode is a discontinuous reception mode, or an extended discontinuous reception mode, or a power saving mode.
  • the first transceiver module 901 is configured to perform step S601, step S604, and step S605 in the embodiment shown in FIG. 6; the second transceiver module 902 is configured to perform step S602, step S603, and step in the embodiment shown in FIG. S606. It can be understood that the first transceiver module 901 is configured to communicate with a backup service device, and the second transceiver module 902 is configured to communicate with a user device to be migrated.
  • FIG. 10 is a simplified schematic diagram of a physical structure of a core network gateway according to an embodiment of the present application.
  • the core network gateway may be a PGW.
  • the core network gateway 100 includes a transceiver 1001, a processor 1002, and a memory 1003.
  • the transceiver 1001, the processor 1002, and the memory 1003 may be connected to one another via a bus 1004 or may be connected in other manners.
  • the related functions implemented by the first transceiver module 901 and the second transceiver module 902 shown in FIG. 9 can be implemented by the transceiver 1001.
  • Related functions implemented by the processing module 903 shown in FIG. 9 may be implemented by one or more processors 1002.
  • the memory 1003 includes, but is not limited to, a RAM, a ROM, an EPROM, a CD-ROM, and the memory 1003 is used for related instructions and data.
  • the transceiver 1001 is configured to transmit data and/or signaling, as well as receive data and/or signaling.
  • the transceiver 1001 in view of communicating with different devices, can be divided into a transceiver 1001a that communicates with the backup service device and a transceiver 1001b that communicates with the user device to be migrated.
  • the transceiver 1001a is configured to perform step S601, step S604, and step S605 in the embodiment shown in FIG. 6;
  • the transceiver 1001b is configured to perform step S602, step S603, and step S606 in the embodiment shown in FIG. 6.
  • the processor 1002 may include one or more processors, for example, including one or more CPUs.
  • the processor 1002 is a CPU
  • the CPU may be a single core CPU or a multi-core CPU.
  • the processor 1002 is configured to determine a device mode of the user equipment to be migrated.
  • the memory 1003 is used to store program codes and data of the core network gateway 100.
  • Figure 10 only shows a simplified design of the core network gateway.
  • the core network gateway may also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are in this embodiment. Within the scope of protection of the application.
  • the embodiment of the present application further provides a service device switching system, including a first service device, a second service device, a core network gateway, and a user device to be migrated.
  • a service device switching system including a first service device, a second service device, a core network gateway, and a user device to be migrated.
  • the program can be stored in a computer readable storage medium, when the program is executed
  • the flow of the method embodiments as described above may be included.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM or a random access memory RAM, a magnetic disk, or an optical disk.
  • yet another embodiment of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
  • Yet another embodiment of the present application also provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be 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 the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in or transmitted by a computer readable storage medium.
  • the computer instructions may be from a website site, computer, server or data center via a wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Another website site, computer, server, or data center for transmission.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.

Landscapes

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

Abstract

Embodiments of the present application provide a service equipment switching method and a device for the same. The method comprises the following steps: if a second service equipment unit is faulty, a first service equipment unit determining, according to a user equipment migration policy, a user equipment unit to be migrated from user equipment units connected to the second service equipment unit; and the first service equipment unit notifying the user equipment unit to be migrated to register with the first service equipment unit. The embodiments of the present application do not require a user equipment unit to detect whether a service equipment unit is operating normally or to trigger switching of service equipment units, thereby reducing power consumption of a user equipment unit.

Description

一种服务设备切换方法及其装置Service device switching method and device thereof
本申请要求于2018年1月31日提交中国国家知识产权局、申请号为201810101111.X、发明名称为“一种服务设备切换方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on January 31, 2018 by the State Intellectual Property Office of China, application number 201810101111.X, and the invention name is "a service device switching method and its device". The citations are incorporated herein by reference.
技术领域Technical field
本申请实施例涉及物联网技术领域,具体涉及一种服务设备切换方法及其装置。The embodiment of the present invention relates to the technical field of the Internet of Things, and particularly to a service device switching method and device thereof.
背景技术Background technique
容灾系统是指在相隔较远的异地,建立两套或多套功能相同的信息技术(internet technology,IT)系统,互相之间可以进行健康状态监视和功能切换,当一处系统因意外(如火灾、地震等)停止工作时,整个应用系统可以切换到另一处,使得该系统功能可以继续正常工作。应用在窄带物联网(narrow band internet of things,NB-IoT)场景的容灾系统,在与用户设备建立链接的主服务设备发生故障的情况下,可切换至备用服务设备,建立用户设备与备用服务设备之间的连接,以确保用户设备与服务设备之间的数据交互。The disaster recovery system refers to the establishment of two or more sets of functionally identical internet technology (IT) systems in remote locations, where health monitoring and function switching can be performed between each other. When the work is stopped, such as a fire, earthquake, etc., the entire application system can be switched to another location, so that the system function can continue to work normally. The disaster recovery system of the narrowband internet of things (NB-IoT) scenario can be switched to the standby service device to establish the user equipment and standby in the event that the primary service device that is linked with the user equipment fails. A connection between service devices to ensure data interaction between the user device and the service device.
目前,用户设备在出厂前,对其配置主服务设备和备用服务设备的网络互连协议(internet protocol,IP)地址,并配置用户设备使用受限应用协议(constrained application protocol,CoAP)的确认(confirmable,CON)消息模式与服务设备进行数据交互,该数据交互可以包括用户设备注册和数据上报等。用户设备在进行数据上报时,首先将数据上报至演进核心网(evolved packet core,EPC),EPC将数据上报至主服务设备。在这个过程中,若主服务设备在正常工作,则向EPC反馈响应消息,EPC在接收到该响应消息的情况下向用户设备反馈响应消息,用户设备在接收到EPC反馈的响应消息的情况下,可确定主服务设备正常工作。若用户设备在规定时间内未接收到EPC反馈的响应消息,则重发,若预设次数重发后依然失败,则向备用服务设备上报数据,即从主服务设备切换至备用服务设备。At present, the user equipment configures the internet protocol (IP) address of the primary service device and the backup service device before leaving the factory, and configures the user equipment to use the constrained application protocol (CoAP) confirmation ( The confirmable, CON) message mode performs data interaction with the service device, and the data interaction may include user equipment registration, data reporting, and the like. When the data is reported by the user equipment, the data is first reported to the evolved packet core (EPC), and the EPC reports the data to the primary service device. In this process, if the primary service device is working normally, the response message is fed back to the EPC, and the EPC feeds back the response message to the user equipment when receiving the response message, and the user equipment receives the response message of the EPC feedback. , to determine that the main service device is working properly. If the user equipment does not receive the response message of the EPC feedback within the specified time, the user equipment retransmits the message. If the user equipment fails to resend the preset number of times, the data is reported to the backup service device, that is, the primary service device is switched to the standby service device.
由上述过程可知,用户设备在未接收到EPC反馈的响应消息的情况下,会多次重发以探测主服务设备是否正常工作,并在主服务设备故障的情况下,由用户设备触发从主服务设备切换至备用服务设备,这样会增加用户设备的额外耗电。According to the above process, if the user equipment does not receive the response message of the EPC feedback, the user equipment retransmits multiple times to detect whether the primary service device works normally, and if the primary service device fails, the user equipment triggers the slave device. The service device switches to the alternate service device, which increases the additional power consumption of the user device.
发明内容Summary of the invention
本申请实施例所要解决的技术问题在于,提供一种服务设备切换方法及其装置,无需用户设备触发服务设备的切换,可以减少用户设备的耗电。The technical problem to be solved by the embodiments of the present application is to provide a service device switching method and a device thereof, which can reduce the power consumption of the user equipment without triggering the switching of the service device by the user equipment.
本申请实施例第一方面提供一种服务设备切换方法,包括:A first aspect of the embodiments of the present application provides a service device switching method, including:
在第二服务设备故障的情况下,第一服务设备根据用户设备迁移策略从与第二服务设备建立连接的用户设备中确定待迁移用户设备;In the case that the second service device is faulty, the first service device determines, according to the user equipment migration policy, the user equipment to be migrated from the user equipment that establishes a connection with the second service device;
第一服务设备通知待迁移用户设备向第一服务设备进行注册。The first service device notifies the user equipment to be migrated to register with the first service device.
可以理解的是,第二服务设备为主服务设备,第一服务设备为备用服务设备。It can be understood that the second service device is the primary service device, and the first service device is the backup service device.
本申请实施例第一方面,通过在第二服务设备故障的情况下,第一服务设备根据用 户设备迁移策略确定需从第二服务设备切换至第二服务设备的待迁移用户设备,并通知待迁移用户设备向第一服务设备进行注册,以建立待迁移用户设备与第一服务设备之间的连接,无需用户设备触发服务设备的切换,可以减少用户设备的耗电。并且,可以不限定第一服务设备和第二服务设备在同一城市或同一地区,选址灵活,可降低运营商的容灾部署成本。In the first aspect of the embodiment of the present application, the first service device determines, according to the user equipment migration policy, that the user equipment to be migrated from the second service device to the second service device is to be The migrating user equipment registers with the first service device to establish a connection between the user equipment to be migrated and the first service device, and the user equipment is not required to trigger the switching of the service device, and the power consumption of the user equipment can be reduced. Moreover, the location of the first service device and the second service device in the same city or the same area may be limited, and the disaster recovery deployment cost of the operator may be reduced.
结合第一方面,在一种可能的实现方式中,第一服务设备通过以下步骤来通知待迁移用户设备向第一服务设备进行注册:With reference to the first aspect, in a possible implementation manner, the first service device notifies the user equipment to be migrated to register with the first service device by using the following steps:
第一服务设备向核心网网关发送第一服务设备的寻址信息和待迁移用户设备的寻址信息,以使核心网网关根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息,第一服务设备的寻址信息用于使待迁移用户设备向第一服务设备进行注册。该寻址信息可以包括设备标识和网络互连协议(internet protocol,IP)地址中的至少一种,设备标识可以是device ID,也可以是国际移动用户识别码(international mobile subscriber identification number,IMSI),还可以是介质访问控制(media access control,MAC)地址等。The first service device sends the addressing information of the first service device and the addressing information of the user equipment to be migrated to the core network gateway, so that the core network gateway sends the first service to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. The addressing information of the device, the addressing information of the first service device is used to register the user equipment to be migrated with the first service device. The addressing information may include at least one of a device identifier and an internet protocol (IP) address, and the device identifier may be a device ID or an international mobile subscriber identification number (IMSI). It can also be a media access control (MAC) address.
结合第一方面,在一种可能的实现方式中,第一服务设备在通知待迁移用户设备向第一服务设备进行注册之后,还从核心网网关接收注册信息,该注册信息包括待迁移用户设备的设备标识,还可以包括待迁移用户设备的设备标识,核心网网关在从待迁移用户设备接收到待迁移用户设备的设备标识的情况下,对待迁移用户设备进行定位,确定待迁移用户设备的位置信息;With reference to the first aspect, in a possible implementation manner, after the first service device notifies the user equipment to be migrated to register with the first service device, the first service device further receives registration information from the core network gateway, where the registration information includes the user equipment to be migrated. The device identifier may further include a device identifier of the user equipment to be migrated. The core network gateway, when receiving the device identifier of the user equipment to be migrated from the user equipment to be migrated, locates the user equipment to be migrated, and determines the user equipment to be migrated. location information;
第一服务设备根据注册信息对待迁移用户设备进行注册,并向核心网网关发送注册确认信息,核心网网关将该注册确认信息转发至待迁移用户设备,该注册确认信息用于指示待迁移用户设备与第一服务设备之间的连接建立成功。The first service device registers the user equipment to be migrated according to the registration information, and sends the registration confirmation information to the core network gateway, and the core network gateway forwards the registration confirmation information to the user equipment to be migrated, where the registration confirmation information is used to indicate the user equipment to be migrated. The connection with the first service device is established successfully.
第一服务设备通过核心网网关向待迁移用户设备发送第一服务设备的寻址信息,以建立第一服务设备与待迁移用户设备之间的连接,将待迁移用户设备从第二服务设备切换至第一服务设备。该过程中,核心网网关相当于第一服务设备与待迁移用户设备之间的中转站。该过程,待迁移用户设备是被动切换,而不是主动触发,因此可以减少用户设备的耗电。The first service device sends the addressing information of the first service device to the user equipment to be migrated through the core network gateway, so as to establish a connection between the first service device and the user equipment to be migrated, and switch the user equipment to be migrated from the second service device. To the first service device. In this process, the core network gateway is equivalent to a transit station between the first service device and the user equipment to be migrated. In this process, the user equipment to be migrated is passively switched instead of actively triggering, so the power consumption of the user equipment can be reduced.
在待迁移用户设备的寻址信息包括设备标识或IP地址的情况下,可以便于核心网网关确定向哪个或哪些用户设备发送第一服务设备的寻址信息;在待迁移用户设备的寻址信息包括设备标识和IP地址的情况下,可以便于核心网网关更好地确定向哪个或哪些用户设备发送第一服务设备的寻址信息。In the case that the addressing information of the user equipment to be migrated includes the device identifier or the IP address, the core network gateway may be configured to determine which address device or devices to send the addressing information of the first service device; and the addressing information of the user equipment to be migrated In the case of the device identification and the IP address, the core network gateway can be facilitated to better determine which address device or devices to transmit the addressing information of the first service device.
结合第一方面,在一种可能的实现方式中,第一服务设备从核心网网关接收注册信息之前,还向核心网网关发送授权校验码,该授权校验码用于核心网网关对第一服务设备进行安全校验。授权校验码可以与第一服务设备的寻址信息和待迁移用户设备的寻址信息一同发送。在第一服务设备的寻址信息和待迁移用户设备的寻址信息采用非加密方式发送时,授权校验码对第一服务设备进行安全校验,可提高安全性。With reference to the first aspect, in a possible implementation manner, before receiving the registration information from the core network gateway, the first serving device sends an authorization check code to the core network gateway, where the authorization check code is used by the core network gateway. A service device performs security verification. The authorization check code may be sent together with the addressing information of the first service device and the addressing information of the user equipment to be migrated. When the addressing information of the first service device and the addressing information of the user equipment to be migrated are sent in a non-encrypted manner, the authorization check code performs security check on the first service device, which improves security.
结合第一方面,在一种可能的实现方式中,在第二服务设备故障之前,第一服务设备从第二服务设备接收实时数据,该实时数据包括与第二服务设备建立连接的用户设备的设备标识,以便第一服务设备与第二服务设备进行数据同步,进而便于第一服务设备根据用户设备迁移策略从与第二服务设备建立连接的用户设备中确定待迁移用户设备。With reference to the first aspect, in a possible implementation manner, before the second service device fails, the first service device receives real-time data from the second service device, where the real-time data includes a user equipment that establishes a connection with the second service device. The device identifier is configured to perform data synchronization between the first service device and the second service device, so that the first service device determines the user device to be migrated from the user device that establishes a connection with the second service device according to the user device migration policy.
结合第一方面,在一种可能的实现方式中,上述实时数据还包括与第二服务设备建立连接的用户设备的属性信息,该属性信息可以包括用户交互信息、规则信息、数据上报信息、所属区域信息、设备类型和活跃度信息中的至少一种。第一服务设备根据与第二服务设备建立连接的用户设备的属性信息从与第二服务设备建立连接的用户设备中选择满足用户设备迁移策略的用户设备,并将满足用户设备迁移策略的用户设备确定为待迁移用户设备。With reference to the first aspect, in a possible implementation, the foregoing real-time data further includes attribute information of the user equipment that establishes a connection with the second service device, where the attribute information may include user interaction information, rule information, data report information, and At least one of area information, device type, and activity information. The first service device selects the user equipment that meets the user equipment migration policy from the user equipment that establishes the connection with the second service device according to the attribute information of the user equipment that establishes the connection with the second service device, and the user equipment that meets the user equipment migration policy Determined as the user device to be migrated.
可以理解的是,第二服务设备将与其建立连接的用户设备的各项信息同步至第一服务设备,以便第一服务设备根据用户设备迁移策略从这些用户设备中确定出待迁移用户设备。It can be understood that the second service device synchronizes the information of the user equipment with which the connection is established to the first service device, so that the first service device determines the user equipment to be migrated from the user devices according to the user equipment migration policy.
结合第一方面,在一种可能的实现方式中,第一服务设备可通过周期性向第二服务设备发送请求消息来确定第二服务设备是否故障,该请求消息可以不携带任何参数,以减少网络负载和压力。With reference to the first aspect, in a possible implementation, the first serving device may determine whether the second serving device is faulty by periodically sending a request message to the second serving device, and the request message may not carry any parameters to reduce the network. Load and pressure.
第一服务设备周期性地向第二服务设备发送请求消息,若针对所发送每个请求消息,都能接收到响应消息,则可确定第二服务设备正常工作,不存在故障;若在预设时间段内未接收到响应消息,则确定第二服务设备故障,也即连续预设个数的请求消息未接收到响应消息,则确定第二服务设备故障。其中,预设时间段可以与发送请求消息的周期相关,预设时间段以及预设个数的具体数值不作限定。The first service device periodically sends a request message to the second service device. If the response message is received for each request message sent, the second service device can be determined to work normally, and there is no fault; If the response message is not received within the time period, it is determined that the second service device is faulty, that is, the consecutive preset number of request messages do not receive the response message, and then the second service device is determined to be faulty. The preset time period may be related to the period of sending the request message, and the preset time period and the specific number of the preset number are not limited.
第一服务设备通过周期性地向第二服务设备发送请求消息来确定第二服务设备是否故障,无需用户设备探测第二服务设备是否正常工作,可以减少用户设备的参与度,进而减少用户设备的耗电。The first serving device determines whether the second serving device is faulty by periodically sending a request message to the second serving device, and does not need to detect whether the second serving device works normally, and can reduce the participation of the user device, thereby reducing the user equipment. Power consumption.
结合第一方面,在一种可能的实现方式中,第一服务设备可通过周期性向第二服务设备发送请求消息以及管理员的参与来确定第二服务设备是否故障,同样该请求消息可以不携带任何参数,以减少网络负载和压力。With reference to the first aspect, in a possible implementation, the first service device may determine whether the second service device is faulty by periodically sending a request message to the second service device and the participation of the administrator, and the request message may not be carried. Any parameters to reduce network load and stress.
第一服务设备周期性地向第二服务设备发送请求消息,若针对所发送每个请求消息,都能接收到响应消息,则可确定第二服务设备正常工作,不存在故障;若在预设时间段内未接收到响应消息,则第二服务设备可能故障,但是最终故障与否由管理员检测决定。The first service device periodically sends a request message to the second service device. If the response message is received for each request message sent, the second service device can be determined to work normally, and there is no fault; If the response message is not received within the time period, the second service device may be faulty, but the final failure is determined by the administrator.
第一服务设备可向管理员设备发送故障推测消息,该故障推测消息用于告知管理员第二服务设备可能故障,管理员在接收到该故障推测消息的情况下,登录第二服务设备进行检测,并在确定第二服务设备故障的情况下,通过管理员设备向第一服务设备发送确认指令,该确定指令针对故障推测消息,指示第二服务设备故障,第一服务设备在接收到该确认指令的情况下,确定第二服务设备故障。The first service device may send a fault estimation message to the administrator device, where the fault estimation message is used to notify the administrator that the second service device may be faulty, and the administrator logs in to the second service device to detect if the fault estimation message is received. And in the case of determining that the second service device is faulty, sending, by the administrator device, an acknowledgement instruction to the first service device, the determining command indicating, for the fault estimation message, that the second service device is faulty, and the first service device receives the acknowledgement In the case of an instruction, the second service device failure is determined.
第一服务设备可以告警日志的形式输出故障推测消息,以便管理员检测第二服务设备是否故障,并在第二服务设备故障的情况下,向第一服务设备发送确认指令或直接在第一服务设备上输入确认指令,以便第一服务设备确定第二服务设备故障。The first service device may output a fault estimation message in the form of an alarm log, so that the administrator detects whether the second service device is faulty, and sends a confirmation command to the first service device or directly in the first service if the second service device fails. A confirmation command is input on the device, so that the first service device determines that the second service device is faulty.
结合管理员的方式,相比第一服务设备自主确定的方式,准确性更高,但可能耗时比第一服务设备自主确定的方式稍长。In combination with the administrator's method, the accuracy is higher than that determined by the first service device, but it may take a little longer than the method determined by the first service device.
结合第一方面,在一种可能的实现方式中,第一服务设备可通过从第二服务设备接收迁移策略的方式来确定用户设备迁移策略,第一服务设备将从第二服务设备接收的所有迁移策略确定为用户设备迁移策略,也可随机或默认从中选择一个或多个,并将这一个或多个确定为用户设备迁移策略,还可以根据选择指令从中确定用户设备迁移策略。 用户设备迁移策略的确定方式灵活,使得确定待迁移用户设备的方式灵活,可以实现灵活的用户设备迁移。With reference to the first aspect, in a possible implementation manner, the first service device may determine the user equipment migration policy by receiving the migration policy from the second service device, and the first service device receives all the information that will be received from the second service device. The migration policy is determined as a user equipment migration policy. One or more of the migration policies may be selected randomly or by default, and the one or more are determined as user equipment migration policies, and the user equipment migration policy may also be determined according to the selection instruction. The method for determining the user equipment migration policy is flexible, so that the method for determining the user equipment to be migrated is flexible, and flexible user equipment migration can be implemented.
结合第一方面,在一种可能的实现方式中,上述迁移策略包括交互式迁移策略、规则触发迁移策略、数据上报迁移策略、区域迁移策略、类型迁移策略和活跃度迁移策略中的至少一种。With reference to the first aspect, in a possible implementation, the foregoing migration policy includes at least one of an interactive migration policy, a rule triggered migration policy, a data report migration policy, a regional migration policy, a type migration policy, and an activity migration policy. .
本申请实施例第二方面提供一种服务设备切换装置,该服务设备切换装置具有实现第一方面提供方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。A second aspect of the embodiments of the present application provides a service device switching apparatus, where the service device switching apparatus has a function of implementing the method provided by the first aspect. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
在一种可能实现的方式中,该服务设备切换装置包括:处理模块和第一收发模块;处理模块,用于在第二服务设备故障的情况下,根据用户设备迁移策略从与第二服务设备建立连接的用户设备中确定待迁移用户设备;第一收发模块,用于通知待迁移用户设备向第一服务设备进行注册。In a possible implementation manner, the service device switching apparatus includes: a processing module and a first transceiver module; and a processing module, configured to: from the second service device according to the user equipment migration policy, in case the second service device fails Determining the user equipment to be migrated in the user equipment that establishes the connection; the first transceiver module is configured to notify the user equipment to be migrated to register with the first service equipment.
在一种可能实现的方式中,该服务设备切换装置包括:处理器、收发器和存储器,其中,收发器用于接收和发送信息,存储器中存储计算机执行指令,处理器通过总线与存储器和收发器连接,处理器执行存储器中存储的计算机执行指令,以使该服务设备切换装置执行以下操作:在第二服务设备故障的情况下,根据用户设备迁移策略从与第二服务设备建立连接的用户设备中确定待迁移用户设备;通知待迁移用户设备向第一服务设备进行注册。In a possible implementation manner, the service device switching device includes: a processor, a transceiver, and a memory, wherein the transceiver is configured to receive and transmit information, the memory stores computer execution instructions, and the processor passes the bus and the memory and the transceiver Connected, the processor executes a computer execution instruction stored in the memory, so that the service device switching device performs the following operation: in case the second service device fails, the user device establishes a connection with the second service device according to the user device migration policy Determining the user equipment to be migrated; notifying the user equipment to be migrated to register with the first service device.
基于同一发明构思,由于该装置解决问题的原理以及有益效果可以参见第一方面所述的方法以及所带来的有益效果,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the device can be referred to the method described in the first aspect and the beneficial effects thereof. Therefore, the implementation of the device can be referred to the implementation of the method, and the repeated description is not repeated.
本申请实施例第三方面提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。A third aspect of embodiments of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the method of the first aspect described above.
本申请实施例第四方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。A fourth aspect of an embodiment of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
本申请实施例第五方面提供另一种服务设备切换方法,包括:A fifth aspect of the embodiments of the present application provides another service device switching method, including:
核心网网关从第一服务设备接收第一服务设备的寻址信息和待迁移用户设备的寻址信息,寻址信息包括设备标识和IP地址中的至少一种;The core network gateway receives the addressing information of the first service device and the addressing information of the user equipment to be migrated from the first serving device, where the addressing information includes at least one of a device identifier and an IP address;
核心网网关根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息,第一服务设备的寻址信息用于使待迁移用户设备向第一服务设备进行注册。The core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. The addressing information of the first service device is used to register the user equipment to be migrated with the first service device.
本申请实施例第五方面,核心网网关无需内置第一服务设备的寻址信息,由第一服务设备在需要切换时告知,使得核心网网关的中转功能较为灵活。In the fifth aspect of the embodiment of the present application, the core network gateway does not need to have the addressing information of the first service device, and the first service device notifies when the handover is needed, so that the transit function of the core network gateway is flexible.
结合第五方面,在一种可能的实现方式中,核心网网关在根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息之后,从待迁移用户设备接收注册信息,并向第一服务设备发送该注册信息,该注册信息包括待迁移用户设备的设备标识;从第一服务设备接收注册确认信息,并向待迁移用户设备发送注册确认信息,注册确认信息用于指示待迁移用户设备与第一服务设备之间的连接建立成功。至此,第一服务设备已对待迁移用户设备完成注册,两者之间的连接已建立,待迁移用户设备可向第一服务设备上报数据,第一服务设备可向待迁移用户设备下发指令。With reference to the fifth aspect, in a possible implementation manner, after the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, the registration is received from the user equipment to be migrated. And sending the registration information to the first service device, where the registration information includes the device identifier of the user equipment to be migrated; receiving the registration confirmation information from the first service device, and sending the registration confirmation information to the user equipment to be migrated, and the registration confirmation information is used. The connection between the user equipment to be migrated and the first service device is successfully established. At this point, the first service device has completed registration with the user equipment to be migrated, and the connection between the two has been established. The user equipment to be migrated can report data to the first service device, and the first service device can send an instruction to the user equipment to be migrated.
结合第五方面,在一种可能的实现方式中,核心网网关根据待迁移用户设备的设备 模式向待迁移用户设备发送第一服务设备的寻址信息,设备模式可分为非连续接收模式、扩展非连续接收模式和省电模式。待迁移用户设备可直接向核心网网关上报其设备模式,核心网网关也可根据待迁移用户设备发送的信息确定待迁移用户设备的设备模式。With reference to the fifth aspect, in a possible implementation, the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the device mode of the user equipment to be migrated, and the device mode may be classified into a discontinuous reception mode. Extended discontinuous reception mode and power saving mode. The user equipment to be migrated can directly report the device mode to the core network gateway, and the core network gateway can also determine the device mode of the user equipment to be migrated according to the information sent by the user equipment to be migrated.
若待迁移用户设备的设备模式为非连续接收模式,则核心网网关在接收到第一服务设备的寻址信息和待迁移用户设备的寻址信息的情况下,立即根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息。If the device mode of the user equipment to be migrated is in the discontinuous reception mode, the core network gateway immediately obtains the addressing information of the user equipment to be migrated and the addressing information of the user equipment to be migrated. The address information sends the addressing information of the first service device to the user equipment to be migrated.
若待迁移用户设备的设备模式为非连续接收模式,核心网网关在接收到备用服务设备的寻址信息和待迁移用户设备的寻址信息的情况下,并没有立即向待迁移用户设备发送备用服务设备的寻址信息,而是先缓存,等下一个寻呼时间窗口到达时才根据待迁移用户设备的寻址信息向待迁移用户设备发送备用服务设备的寻址信息。If the device mode of the user equipment to be migrated is in the discontinuous reception mode, the core network gateway does not immediately send the standby to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated. The addressing information of the service device is first cached, and the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated when the next paging time window arrives.
若待迁移用户设备的设备模式为省电模式,则核心网网关在接收到备用服务设备的寻址信息和待迁移用户设备的寻址信息时,并没有立即向待迁移用户设备发送备用服务设备的寻址信息,而是先缓存,等接收到待迁移用户设备上报的数据时,才根据待迁移用户设备的寻址信息向待迁移用户设备发送备用服务设备的寻址信息。If the device mode of the user equipment to be migrated is in the power saving mode, the core network gateway does not immediately send the standby service device to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated. The addressing information is first cached, and when the data reported by the user equipment to be migrated is received, the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
结合第五方面,在一种可能的实现方式中,核心网网关在根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息之前,还从第一服务设备接收授权检验码,并根据授权检验码对第一服务设备进行安全校验,并在第一服务设备通过安全校验的情况下,根据待迁移用户设备的寻址信息向待迁移用户设备发送所述第一服务设备的寻址信息。With reference to the fifth aspect, in a possible implementation, the core network gateway receives the addressing information of the first serving device from the user equipment to be migrated according to the addressing information of the user equipment to be migrated, and receives the addressing information from the first serving device. Authorizing the verification code, and performing security verification on the first service device according to the authorization verification code, and sending the content to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, if the first service device passes the security check Addressing information of the first service device.
本申请实施例第六方面提供一种服务设备切换装置,该服务设备切换装置具有实现第五方面提供方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。A sixth aspect of the embodiments of the present application provides a service device switching apparatus, where the service device switching apparatus has a function of implementing the method provided by the fifth aspect. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
在一种可能实现的方式中,该服务设备切换装置包括:第一收发模块和第二收发模块;第一收发模块,用于从第一服务设备接收第一服务设备的寻址信息和待迁移用户设备的寻址信息,寻址信息包括设备标识和IP地址中的至少一种;第二收发模块,用于根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息,第一服务设备的寻址信息用于使待迁移用户设备向第一服务设备进行注册。In a possible implementation, the service device switching device includes: a first transceiver module and a second transceiver module; and a first transceiver module, configured to receive, by the first service device, addressing information of the first service device and to be migrated The addressing information of the user equipment, the addressing information includes at least one of a device identifier and an IP address, and the second transceiver module is configured to send the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. The address information, the addressing information of the first service device is used to register the user equipment to be migrated with the first service device.
在一种可能实现的方式中,该服务设备切换装置包括:处理器、收发器和存储器,其中,收发器用于接收和发送信息,存储器中存储计算机执行指令,处理器通过总线与存储器和收发器连接,处理器执行存储器中存储的计算机执行指令,以使该服务设备切换装置执行以下操作:通过收发器从第一服务设备接收第一服务设备的寻址信息和待迁移用户设备的寻址信息,并根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息,寻址信息包括设备标识和IP地址中的至少一种,第一服务设备的寻址信息用于使待迁移用户设备向第一服务设备进行注册。In a possible implementation manner, the service device switching device includes: a processor, a transceiver, and a memory, wherein the transceiver is configured to receive and transmit information, the memory stores computer execution instructions, and the processor passes the bus and the memory and the transceiver Connected, the processor executes a computer execution instruction stored in the memory to cause the service device switching device to perform: receiving, by the transceiver, the addressing information of the first service device and the addressing information of the user device to be migrated from the first serving device Transmitting the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, where the addressing information includes at least one of a device identifier and an IP address, where the addressing information of the first serving device is used. The user equipment to be migrated is registered with the first service device.
基于同一发明构思,由于该装置解决问题的原理以及有益效果可以参见第五方面所述的方法以及所带来的有益效果,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the device can be referred to the method described in the fifth aspect and the beneficial effects thereof. Therefore, the implementation of the device can be referred to the implementation of the method, and the repeated description is not repeated.
本申请实施例第七方面提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第五方面所述的方法。A seventh aspect of the present application provides a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the method described in the fifth aspect above.
本申请实施例第八方面提供一种包含指令的计算机程序产品,当其在计算机上运行 时,使得计算机执行上述第五方面所述的方法。An eighth aspect of the embodiments of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the above fifth aspect.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the drawings to be used in the embodiments of the present application or the background art will be described below.
图1为应用本申请实施例的网络架构示意图;1 is a schematic diagram of a network architecture to which an embodiment of the present application is applied;
图2为现有的用户设备向服务设备上报数据的流程示意图;2 is a schematic flowchart of an existing user equipment reporting data to a service device;
图3为现有的服务设备切换方法的流程示意图;3 is a schematic flowchart of a method for switching a service device in an existing manner;
图4为本申请实施例提供的服务设备切换方法的流程示意图;FIG. 4 is a schematic flowchart of a method for switching a service device according to an embodiment of the present disclosure;
图5a为本申请实施例提供的一种备用服务设备探测主服务设备是否故障的流程示意图;FIG. 5 is a schematic flowchart of detecting whether a primary service device is faulty by a backup service device according to an embodiment of the present disclosure;
图5b为本申请实施例提供的一种备用服务设备探测主服务设备是否故障的流程示意图;FIG. 5 is a schematic diagram of a process for detecting whether a primary service device is faulty by a backup service device according to an embodiment of the present disclosure;
图6为本申请实施例提供的备用服务设备建立与用户设备之间连接的流程示意图;FIG. 6 is a schematic flowchart of establishing a connection between a backup service device and a user equipment according to an embodiment of the present disclosure;
图7为本申请实施例提供的服务设备的逻辑结构示意图;FIG. 7 is a schematic diagram of a logical structure of a service device according to an embodiment of the present application;
图8为本申请实施例提供的服务设备的实体结构简化示意图;FIG. 8 is a simplified schematic diagram of a physical structure of a service device according to an embodiment of the present application;
图9为本申请实施例提供的核心网网关的逻辑结构示意图;FIG. 9 is a schematic diagram of a logical structure of a core network gateway according to an embodiment of the present application;
图10为本申请实施例提供的核心网网关的实体结构简化示意图。FIG. 10 is a simplified schematic diagram of a physical structure of a core network gateway according to an embodiment of the present application.
具体实施方式Detailed ways
下面将对本申请实施例涉及的词语进行介绍:The words involved in the embodiments of the present application will be introduced below:
服务设备,为物联网(internet of things,IoT)平台,提供对各种传感器、客户识别模块(subscriber identity module,SIM)卡的数据采集、管理功能,同时可以把数据开放给第三方应用系统,让各种应用能快速构建自己的物联网业务。换言之,服务设备负责建立与IoT用户设备之间的连接,管理和处理IoT用户设备上报的数据,可部署在云端。可以理解的是,IoT平台集成了IoT连接管理平台和服务器,IoT连接管理平台辅助建立与用户设备之间的连接,服务器用于管理和处理IoT用户设备上报的数据,下发命令等。应用在本申请实施例中,服务设备为NB-IoT平台,在容灾系统中可分为主服务设备(即主NB-IoT平台)和备用服务设备(即备用NB-IoT平台),在主服务设备发生故障的情况下,可切换至备用服务设备,以确保NB-IoT用户设备与服务设备之间的数据交互。The service device, which is an Internet of Things (IoT) platform, provides data collection and management functions for various sensors and subscriber identity module (SIM) cards, and can open data to third-party application systems. Let applications quickly build their own IoT business. In other words, the service device is responsible for establishing a connection with the IoT user equipment, and managing and processing the data reported by the IoT user equipment, which can be deployed in the cloud. It can be understood that the IoT platform integrates the IoT connection management platform and the server, and the IoT connection management platform assists in establishing a connection with the user equipment. The server is used to manage and process the data reported by the IoT user equipment, and issue commands. In the embodiment of the present application, the service device is an NB-IoT platform, and the disaster recovery system can be divided into a primary service device (ie, a primary NB-IoT platform) and a backup service device (ie, a standby NB-IoT platform). In the event of a service device failure, the device can be switched to the alternate service device to ensure data interaction between the NB-IoT user device and the service device.
用户设备,应用在本申请实施例中,为应用在NB-IoT场景中的用户设备,可以包括但不限于智能电表、智能水表、智能气表、智能停车传感器、智能家居设备、共享单车、共享汽车、道路交通中的路灯等集成了NB-IoT芯片或模组的物理设备。需要说明的是,本申请实施例涉及的用户设备均为NB-IoT用户设备。The user equipment, which is applied to the user equipment in the NB-IoT scenario, may include, but is not limited to, a smart meter, a smart water meter, a smart gas meter, a smart parking sensor, a smart home device, a shared bicycle, and a shared application. The physical equipment of the NB-IoT chip or module is integrated in the streetlights of automobiles and road traffic. It should be noted that the user equipments involved in the embodiments of the present application are all NB-IoT user equipments.
待迁移用户设备,为在主服务设备发生故障的情况下,需要从主服务设备迁移至备用服务设备的用户设备,也可以为在备用服务设备发生故障的情况下,需要从备用服务设备迁移至主服务设备的用户设备。The user equipment to be migrated is a user equipment that needs to be migrated from the primary service device to the standby service device in the event of a failure of the primary service device, or may be migrated from the backup service device to the case where the backup service device fails. User device of the primary service device.
迁移策略,即迁移算法,用于确定将哪些或哪个用户设备从主服务设备迁移至备用服务设备,或从备用服务设备迁移至主服务设备。迁移策略可以包括但不限于交互式迁移策略、规则触发迁移策略、数据上报迁移策略、区域迁移策略、类型迁移策略和活跃度迁移策略等中的至少一种。A migration strategy, a migration algorithm, is used to determine which user devices or devices are migrated from the primary service device to the backup service device or from the backup service device to the primary service device. The migration policy may include, but is not limited to, at least one of an interactive migration policy, a rule triggered migration policy, a data report migration policy, a zone migration policy, a type migration policy, and an activity migration policy.
交互式迁移策略,用于对用户有感知的用户设备进行迁移,例如共享单车、智能停车传感器等。通过用户对用户设备发起的控制指令来识别哪些用户设备与用户有交互。在服务设备存储有用户命令历史记录,用户每下发一条命令,服务设备便会记录一条用户命令历史记录。用户命令历史记录记录了用户设备的设备标识,通过用户命令历史记录可以分析得出与用户有交互的用户设备,进而确定对这些用户设备进行迁移。其中,设备标识可以是device ID,也可以是IMSI,还可以是MAC地址等。An interactive migration strategy for migrating user-aware user devices, such as shared bicycles, smart parking sensors, and more. The user equipment is instructed by the user to determine which user equipments interact with the user. The service device stores a history of user commands. Each time a user issues a command, the service device records a history of user commands. The user command history records the device ID of the user device. The user command history records the user devices that interact with the user, and then determines to migrate the user devices. The device identifier may be a device ID, an IMSI, or a MAC address.
规则触发迁移策略,用于对满足规则信息的用户设备进行迁移,规则信息可以包括用户设备的设备标识、触发时间和触发条件等。第三方应用系统可以将规则信息设置到主服务设备,或备用服务设备,或主服务设备和备用服务设备。例如主服务设备在凌晨发生故障,批量采集的用户设备即将触发采集数据,那么这些用户设备需要迁移至备用服务设备。通过分析规则信息可以预判得出哪些用户设备即将满足规则,对这些用户设备进行迁移。The rule triggers the migration policy, and is used to migrate the user equipment that meets the rule information. The rule information may include the device identifier, trigger time, and trigger condition of the user equipment. The third-party application system can set the rule information to the primary service device, or the backup service device, or the primary service device and the backup service device. For example, if the primary service device fails in the early morning, and the user equipment collected in batches is about to trigger the collection of data, the user equipment needs to be migrated to the backup service device. By analyzing the rule information, it is possible to predict which user devices are about to meet the rules and migrate these user devices.
数据上报迁移策略,用于对当前时间段需要上报数据的用户设备进行迁移。根据用户设备的历史上报数据的时间点,服务设备会记录用户设备的历史数据,用户设备每上报一条数据,在服务设备会有一条数据存储到数据库,存储的信息包括用户设备的设备标识。通过历史数据可以分析得出用户设备的可能上报时间,将服务设备的故障时间和用户设备上报数据时间做比较,可以得出哪些用户设备即将上报数据,对这些用户设备进行迁移。The data is reported to be migrated to the user equipment that needs to report data in the current time period. The service device records the historical data of the user equipment according to the time when the data is reported by the user equipment. Each time the user equipment reports a data, the service device stores a data in the database, and the stored information includes the device identifier of the user equipment. The historical data can be used to analyze the possible reporting time of the user equipment, and compare the fault time of the service equipment with the data time reported by the user equipment. It can be determined which user equipments will report data and migrate these user equipments.
区域迁移策略,用于对指定区域的用户设备进行迁移,例如将政府所在地、热点区域的用户设备进行迁移。每个用户设备在首次注册和后续上报数据时,EPC通过小区信息定位用户设备的地理位置,将用户设备的地理位置上报至服务设备,服务设备存储了用户设备的地理位置。服务设备根据指定的区域可以确定需要迁移的用户设备,对这些用户设备进行迁移。The area migration policy is used to migrate user equipment in a specified area, for example, to migrate user equipment in the government location and hotspot area. When the user equipment firstly registers and subsequently reports data, the EPC locates the geographic location of the user equipment by using the cell information, and reports the geographic location of the user equipment to the service device, where the service device stores the geographic location of the user equipment. The service device can determine the user devices that need to be migrated according to the specified area, and migrate the user devices.
类型迁移策略,用于对指定类型的用户设备进行迁移。用户设备接入服务设备时,每个用户设备都会被归为某一类,例如智能冰箱归于一类,智能水表归为一类,共享单车归于一类。可以理解的是,服务设备在添加用户设备进行管理的时候已经确定了用户设备的类型,那么可根据指定的类型对该类型的用户设备进行迁移。A type migration policy for migrating user devices of the specified type. When a user equipment accesses a service device, each user equipment is classified into a certain category, for example, a smart refrigerator belongs to one category, a smart water meter is classified into one category, and a shared bicycle belongs to one category. It can be understood that the service device has already determined the type of the user device when adding the user device for management, and then the user device of the type can be migrated according to the specified type.
活跃度迁移策略,用于对指定活跃度的用户设备进行迁移,活跃度指的是用户设备与服务设备交互的活跃度。服务设备可根据用户设备上报数据的历史记录和对用户设备下发的命令统计出用户设备的活跃情况,按照用户设备的活跃度进行排序,活跃度可分为高、中、低三个等级,可按照活跃度分批对用户设备进行迁移。An active mobility migration policy is used to migrate user devices with specified activeness. Activeness refers to the active interaction between user devices and service devices. The service device can count the active status of the user equipment according to the historical record of the data reported by the user equipment and the commands sent by the user equipment, and sort according to the activity level of the user equipment. The activity level can be divided into three levels: high, medium, and low. User equipment can be migrated in batches according to activity.
用户设备迁移策略,为最终确定的迁移策略,即最终确定的采用哪种或哪些迁移策略对用户设备进行迁移。用户设备迁移策略可以为上述六种迁移策略中的一种或多种,还可以为除上述六种迁移策略之外的其他迁移策略。The user equipment migration policy is the finalized migration policy, that is, the final determination of which migration strategy or migration policies are used to migrate the user equipment. The user equipment migration policy may be one or more of the foregoing six migration strategies, and may be other migration strategies than the foregoing six migration policies.
核心网网关,用于提供用户的会话管理和承载控制、数据转发、网络互连协议(internet protocol,IP)地址分配以及非第三代合作伙伴计划(3rd generation partnership project,3GPP)用户接入等功能。核心网网关,可以为第四代移动通信(4th-generation)核心网架构中的公用数据网网关(public data network gateway,PGW/P-GW),即EPC中的PGW,也可以为第三代移动通信(3rd-generation)核心网架构中的网关通用分组无线服务(general packet radio service,GPRS)支持节点 (gateway gprs support node,GGSN),还可以是第五代移动通信(5th-generation)核心网架构中或者未来核心网架构中与PGW具有类似功能的网元。The core network gateway is used to provide user session management and bearer control, data forwarding, internet protocol (IP) address allocation, and non-3rd generation partnership project (3GPP) user access. Features. The core network gateway may be a public data network gateway (PGW/P-GW) in the fourth generation mobile communication (4th-generation) core network architecture, that is, a PGW in the EPC, or may be a third generation. The gateway generalized radio service (GPRS) support node (GGSN) in the 3rd-generation core network architecture, or the fifth-generation mobile communication (5th-generation) core A network element with similar functions to the PGW in the network architecture or in the future core network architecture.
设备模式,是指NB-IoT用户设备的省电技术模式,可分为非连续接收模式(discontinuous reception,DRX)、扩展非连续接收模式(extended discontinuous reception,eDRX)和省电模式(power saving mode,PSM)。The device mode refers to the power-saving technology mode of the NB-IoT user equipment, which can be divided into discontinuous reception mode (DRX), extended discontinuous reception (eDRX), and power saving mode. , PSM).
DRX,由基站配置DRX周期,并通过系统消息广播至用户设备。用户设备在空闲态时,每DRX周期监听一次寻呼信道,检查是否有下行业务达到。EPC在用户设备处于空闲时接收到下行数据包,会缓存数据包,寻呼用户设备,触发用户设备建立空口连接,然后再转发下行数据包。NB-IoT的DRX周期取值范围为:1.28s,2.56s,5.12s或10.24s。对于DRX用户设备,服务设备可以认为用户设备随时可达。DRX, the DRX cycle is configured by the base station and broadcast to the user equipment through system messages. When the user equipment is in the idle state, the paging channel is monitored every DRX cycle to check whether downlink service is reached. When the user equipment is idle, the EPC receives the downlink data packet, caches the data packet, and pages the user equipment, triggers the user equipment to establish an air interface connection, and then forwards the downlink data packet. The DRX period of NB-IoT ranges from 1.28s, 2.56s, 5.12s or 10.24s. For a DRX user device, the service device can assume that the user device is reachable at any time.
eDRX,在每个eDRX周期内,有一个寻呼时间窗口(paging time window,PTW),用户设备只在PTW内按eDRX周期监听寻呼信道,以便接收下行业务,PTW外的时间处于睡眠态,不监听寻呼信号,不能接收下行业务。eDRX周期长度、PTW长度可配置,用户设备与移动性管理实体(mobility management entity,MME)之间进行协商,以MME下发给用户设备的值为准,MME可以根据接入点(access point name,APN)或者IMSI段进行配置。EPC在PTW外接收到下行数据包,会缓存数据包(对每个用户设备只能缓存一条),进入PTW内时,MME寻呼用户设备,触发用户设备建立空口连接,然后再转发数据包给用户设备。服务设备可以随时下发命令给用户设备,但是如果用户设备不在线,EPC只能缓存一条消息。下发消息后,最长需要等待一个eDRX周期才能到达用户设备。eDRX, in each eDRX cycle, has a paging time window (PTW). The user equipment only listens to the paging channel in the PTW according to the eDRX cycle, so as to receive the downlink service, and the time outside the PTW is in a sleep state. Do not listen to the paging signal and cannot receive downlink traffic. The length of the eDRX and the length of the PTW are configurable. The user equipment and the mobility management entity (MME) negotiate the value of the MME to the user equipment. The MME can use the access point name. , APN) or IMSI segment configuration. The EPC receives the downlink data packet outside the PTW, and caches the data packet (only one can be cached for each user equipment). When entering the PTW, the MME pages the user equipment, triggers the user equipment to establish an air interface connection, and then forwards the data packet to User equipment. The service device can issue commands to the user equipment at any time, but if the user equipment is not online, the EPC can only cache one message. After the message is sent, it takes up to one eDRX cycle to reach the user equipment.
对于下行业务时延无要求的场景(例如智能水表,下行业务主要为参数位置,固件等,可以等待用户设备发送上行数据进入连接态后再发起),可以使用PSM进一步节省用户设备的功耗。用户设备一旦接入PSM模式,将关闭接收机,不再接收空口的系统消息、寻呼消息,网络侧无法主动联系用户设备,只有等待用户设备需要发送上行数据或者需要执行周期性位置更新时,才会主动唤醒执行上行业务流程。基站在接收到上行数据包后的一段时间(例如5s,具体根据基站非活动定时器来配置)内认为是连接态,可以立即下发。For scenarios where the downlink service delay is not required (for example, the smart water meter, the downlink service is mainly parameter location, firmware, etc., and the user equipment can wait for the uplink data to enter the connection state and then initiate), and the PSM can be used to further save the power consumption of the user equipment. Once the user equipment accesses the PSM mode, the receiver will be shut down and the system message and paging message of the air interface will no longer be received. The network side cannot actively contact the user equipment. Only when the user equipment needs to send uplink data or needs to perform periodic location update, Will actively wake up to perform the upstream business process. The base station considers that it is in the connected state after being received by the base station for a period of time (for example, 5 s, specifically configured according to the base station inactivity timer), and can be immediately sent.
请参见图1,为应用本申请实施例的网络架构示意图。图1所示的网络架构包括用户设备、接入网、核心网和IoT平台。需要说明的是,图1所示的设备、网元的形态和数量并不够成对本申请实施例的限定。Please refer to FIG. 1 , which is a schematic diagram of a network architecture in which an embodiment of the present application is applied. The network architecture shown in Figure 1 includes user equipment, access networks, core networks, and IoT platforms. It should be noted that the configuration and the number of the devices and network elements shown in FIG. 1 are not sufficient to limit the embodiments of the present application.
其中,用户设备可以包括但不限于智能水表、智能电表、共享单车和智能冰箱等集成了NB-IoT芯片和模组的物理设备。The user equipment may include, but is not limited to, a physical device integrated with an NB-IoT chip and a module such as a smart water meter, a smart meter, a shared bicycle, and a smart refrigerator.
其中,接入网主要完成移动通信网和用户设备之间的通信和管理功能。接入网包括基站,可以是3G中的基站(node B,NB),也可以是4G中的基站(evolved node B,eNB),还可以是5G或者未来通信系统中的基站。The access network mainly completes the communication and management functions between the mobile communication network and the user equipment. The access network includes a base station, which may be a base station (node B, NB) in 3G, or an evolved node B (eNB) in 4G, or may be a base station in 5G or a future communication system.
其中,核心网的功能主要是提供用户连接、对用户的管理以及对业务完成承载,作为承载网络提供到外部网络的接口。用户连接的建立包括移动性管理、呼叫管理、交换/路由、录音通知等功能。用户管理包括用户的描述、服务质量(quality of service,QoS)、用户通信记录、安全性等。承载连接包括到外部的公共交换电话网络(public switched telephone network,PSTN)、外部电路数据网和分组数据网、服务器等等。核心网可以提供的基本业务包括移动办公、电子商务、通信、娱乐性业务、旅行和基于位 置的服务、遥感业务、简单消息传递业务(例如监视控制)等等。The function of the core network is mainly to provide a user connection, management of the user, and completion of the service, as an interface provided by the bearer network to the external network. The establishment of user connections includes mobility management, call management, switching/routing, and recording notifications. User management includes user description, quality of service (QoS), user communication records, security, and the like. The bearer connection includes an external public switched telephone network (PSTN), an external circuit data network and a packet data network, a server, and the like. The basic services that the core network can provide include mobile office, e-commerce, communications, entertainment services, travel and location-based services, remote sensing services, simple messaging services (such as surveillance control), and more.
图1所示的核心网为4G中的EPC,包括PGW、MME、服务网关(serving gateway,SGW)、策略与计费规则功能(policy and charging rules function,PCRF)和用户归属服务器(home subscriber server,HSS)。需要说明的是,图1所示的核心网并不构成对本申请实施例的限定,还可以是5G通信系统中的核心网或者未来通信系统中的核心网。The core network shown in FIG. 1 is an EPC in 4G, including a PGW, an MME, a serving gateway (SGW), a policy and charging rules function (PCRF), and a user subscriber server (home subscriber server). , HSS). It should be noted that the core network shown in FIG. 1 does not constitute a limitation on the embodiment of the present application, and may also be a core network in a 5G communication system or a core network in a future communication system.
核心网与主服务设备相连,在主服务设备发生故障的情况下,核心网切换至与备用服务设备相连,以确保用户设备与服务设备之间的数据交互。The core network is connected to the primary service device. In the event that the primary service device fails, the core network switches to connect with the backup service device to ensure data interaction between the user device and the service device.
请参见图2,为现有的用户设备向服务设备上报数据的流程示意图,该流程可以包括但不限于如下步骤:Referring to FIG. 2, a schematic diagram of a process for reporting data to an existing user equipment to a service device may include, but is not limited to, the following steps:
步骤S201,用户设备向EPC发送第一注册信息,该第一注册信息包括服务设备的IP地址和用户设备的IMSI值。相应地,EPC从用户设备接收该第一注册信息。Step S201: The user equipment sends first registration information to the EPC, where the first registration information includes an IP address of the service device and an IMSI value of the user equipment. Accordingly, the EPC receives the first registration information from the user equipment.
用户设备通过接入网向EPC发送第一注册信息,具体可向EPC中的PGW发送第一注册信息。该第一注册信息包括服务设备的IP地址和用户设备的IMSI值,以便EPC将用户设备的IMSI值发送至该IP地址对应的服务设备。The user equipment sends the first registration information to the EPC through the access network, and specifically sends the first registration information to the PGW in the EPC. The first registration information includes an IP address of the service device and an IMSI value of the user equipment, so that the EPC sends the IMSI value of the user equipment to the service device corresponding to the IP address.
步骤S202,EPC向服务设备发送第二注册信息,该第二注册信息包括用户设备的IMSI值。相应地,服务设备从EPC接收该第二注册信息。Step S202: The EPC sends second registration information to the service device, where the second registration information includes an IMSI value of the user equipment. Accordingly, the service device receives the second registration information from the EPC.
EPC在接收到第一注册消息的情况下,缓存用户设备的设备信息,并根据服务设备的IP地址向该服务设备发送第二注册信息,该第二注册信息包括用户设备的IMSI值。其中,用户设备的设备信息包括用户设备的IMSI值、用户设备的设备模式(DRX、eDRX或PSM)、用户设备的设备类型和用户设备的device ID等。The EPC, when receiving the first registration message, caches the device information of the user equipment, and sends the second registration information to the service device according to the IP address of the service device, where the second registration information includes the IMSI value of the user equipment. The device information of the user equipment includes an IMSI value of the user equipment, a device mode (DRX, eDRX, or PSM) of the user equipment, a device type of the user equipment, and a device ID of the user equipment.
步骤S203,服务设备向EPC发送订阅消息。相应地,EPC从服务设备接收订阅消息。Step S203, the service device sends a subscription message to the EPC. Accordingly, the EPC receives the subscription message from the service device.
服务设备在接收到第二注册信息的情况下,根据用户设备的IMSI值对该用户设备进行注册,并存储用户设备的IMSI值。在完成对用户设备的注册的情况下,便建立了用户设备与服务设备之间的连接,服务设备向EPC发送订阅消息,该订阅消息用于订阅用户设备的数据。When receiving the second registration information, the service device registers the user equipment according to the IMSI value of the user equipment, and stores the IMSI value of the user equipment. Upon completion of the registration of the user equipment, a connection between the user equipment and the service device is established, and the service device sends a subscription message to the EPC, the subscription message being used to subscribe to the data of the user equipment.
步骤S204,EPC向用户设备发送订阅消息。相应地,用户设备从EPC接收订阅消息。Step S204: The EPC sends a subscription message to the user equipment. Accordingly, the user equipment receives the subscription message from the EPC.
EPC在接收到服务设备发送的订阅消息的情况下,向用户设备发送订阅消息,该订阅消息用于订阅用户设备的数据。When receiving the subscription message sent by the service device, the EPC sends a subscription message to the user equipment, where the subscription message is used to subscribe to the data of the user equipment.
步骤S205,用户设备向EPC发送数据。相应地,EPC从用户设备接收数据。Step S205, the user equipment sends data to the EPC. Accordingly, the EPC receives data from the user equipment.
用户设备在有数据需要上报的情况下,以CoAP的非确认(non-confirmable,NON)消息模式向EPC发送需要上报的数据。可以理解的是,非确认消息模式不需要接收方反馈确认消息,而确认消息模式需要接收方法反馈确认消息。The user equipment sends the data to be reported to the EPC in the non-confirmable (NON) message mode of the CoAP when the data needs to be reported. It can be understood that the non-acknowledgement message mode does not require a receiver feedback acknowledgement message, and the acknowledgement message mode needs to receive a method feedback acknowledgement message.
步骤S206,EPC向服务设备发送数据。相应地,服务设备从EPC接收数据。Step S206, the EPC sends data to the service device. Accordingly, the service device receives data from the EPC.
EPC在接收到用户设备发送的需要上报的数据的情况下,向服务设备发送需要上报的数据。EPC可对接收到数据进行处理,并向服务设备发送处理后的数据。服务设备在接收到EPC发送的数据的情况下,进行后续处理,本申请实施例对于后续处理过程不作介绍。因为是非确认消息模式,那么服务设备无需向EPC反馈确认消息。When receiving the data that needs to be reported sent by the user equipment, the EPC sends the data that needs to be reported to the service device. The EPC can process the received data and send the processed data to the service device. The service device performs subsequent processing in the case that the data sent by the EPC is received. The embodiment of the present application does not introduce the subsequent processing. Because it is a non-acknowledgment message mode, the service device does not need to feed back an acknowledgment message to the EPC.
目前,为了应用在容灾场景中,用户设备在出厂前,对其配置主服务设备和备用服务设备的IP地址,并配置用户设备以确认消息模式向服务设备上报数据。可以理解的是, 确认消息模式需要服务设备反馈响应消息。响应消息可由服务设备中的云网关(cloud inter-gateway,CIG)向EPC发送。云网关是IoT平台中的协议转换模块,用于将用户设备的不同协议数据与IoT平台标准的用户设备接入协议数据进行协议转换。Currently, in the disaster recovery scenario, the user equipment configures the IP addresses of the primary service device and the backup service device, and configures the user device to acknowledge the message mode to report data to the service device. It can be understood that the acknowledgement message mode requires a service device feedback response message. The response message may be sent to the EPC by a cloud inter-gateway (CIG) in the service device. The cloud gateway is a protocol conversion module in the IoT platform, which is used for protocol conversion between different protocol data of the user equipment and user equipment access protocol data of the IoT platform standard.
请参见图3,为现有的服务设备切换方法的流程示意图,该流程可以包括但不限于如下步骤:FIG. 3 is a schematic flowchart of a method for switching a service device in an existing manner, where the process may include, but is not limited to, the following steps:
步骤S301,用户设备向EPC发送第一数据。相应地,EPC从用户设备接收第一数据。Step S301, the user equipment sends the first data to the EPC. Accordingly, the EPC receives the first data from the user equipment.
步骤S302,EPC向主服务设备发送第一数据。相应地,主服务设备从EPC接收第一数据。Step S302, the EPC sends the first data to the primary service device. Accordingly, the primary serving device receives the first data from the EPC.
步骤S303,主服务设备向EPC发送第一响应消息。相应地,EPC从主服务设备接收第一响应消息。Step S303, the primary service device sends a first response message to the EPC. Accordingly, the EPC receives the first response message from the primary service device.
步骤S304,EPC向用户设备发送第一响应消息。相应地,用户设备从EPC接收第一响应消息。Step S304, the EPC sends a first response message to the user equipment. Accordingly, the user equipment receives the first response message from the EPC.
步骤S301-步骤S304为主服务设备正常工作情况下的流程,若用户设备在规定的时间内没有接收到第一响应消息,表明主服务设备可能故障,则用户设备重新向EPC发送第一数据,若重发后依然未接收到响应消息,则表明主服务设备故障,那么用户设备切换至备用服务设备,执行如下步骤:Step S301 - Step S304 is a process in the case that the primary service device is in normal working condition. If the user equipment does not receive the first response message within a specified time, indicating that the primary service device may be faulty, the user equipment resends the first data to the EPC. If the response message is still not received after retransmission, it indicates that the primary service device is faulty, then the user equipment switches to the standby service device, and the following steps are performed:
步骤S305,用户设备向EPC发送第二数据。相应地,EPC从用户设备接收第二数据。Step S305, the user equipment sends the second data to the EPC. Accordingly, the EPC receives the second data from the user equipment.
需要说明的是,第二数据与第一数据可以相同,也可以不相同。It should be noted that the second data may be the same as or different from the first data.
步骤S306,EPC向备用服务设备发送第二数据。相应地,备用服务设备从EPC接收第二数据。Step S306, the EPC sends the second data to the standby service device. Accordingly, the alternate service device receives the second data from the EPC.
步骤S307,备用服务设备向EPC发送第二响应消息。相应地,EPC从备用服务设备接收第二响应消息。Step S307, the standby service device sends a second response message to the EPC. Accordingly, the EPC receives a second response message from the alternate serving device.
步骤S308,EPC向用户设备发送第二响应消息。相应地,用户设备从EPC接收第二响应消息。Step S308, the EPC sends a second response message to the user equipment. Accordingly, the user equipment receives a second response message from the EPC.
由图3所示的流程可知,用户设备在未接收EPC反馈的响应消息的情况下,会多次重发以探测主服务设备是否正常工作,并且由用户设备触发从主服务设备切换至备用服务设备,这样会增加用户设备的额外耗电。例如,智能水表的电池使用寿命为5年左右,如果多次重发以探测主服务设备是否正常工作会降低电池的使用寿命,并且智能水表电池的更换不像手机电池更换那样简单,换言之,更换智能水表电池较为麻烦。It can be seen from the process shown in FIG. 3 that, if the user equipment does not receive the response message of the EPC feedback, the user equipment retransmits multiple times to detect whether the primary service device works normally, and the user equipment triggers the handover from the primary service device to the backup service. The device, which increases the extra power consumption of the user device. For example, the smart water meter has a battery life of about 5 years. If it is retransmitted multiple times to detect whether the main service equipment is working properly, the battery life will be reduced, and the replacement of the smart water meter battery is not as simple as the replacement of the mobile phone battery, in other words, replacement. Smart water meter batteries are more troublesome.
鉴于此,本申请实施例提供一种服务设备切换方法及其装置,无需用户设备探测服务设备是否正常工作,无需用户设备触发服务设备的切换,可以减少用户设备的耗电。In view of this, the embodiment of the present application provides a service device switching method and device thereof, which does not require the user equipment to detect whether the service device works normally, and does not need the user equipment to trigger the switching of the service device, and can reduce the power consumption of the user equipment.
下面将结合附图4-附图6对本申请实施例提供的服务设备切换方法进行介绍。The service device switching method provided by the embodiment of the present application will be described below with reference to FIG.
请参见图4,为本申请实施例提供的服务设备切换方法的流程示意图,该方法可以包括但不限于如下步骤:FIG. 4 is a schematic flowchart of a method for switching a service device according to an embodiment of the present disclosure. The method may include, but is not limited to, the following steps:
步骤S401,在第二服务设备故障的情况下,第一服务设备根据用户设备迁移策略从与第二服务设备建立连接的用户设备中确定待迁移用户设备。Step S401: In the case that the second service device is faulty, the first service device determines, according to the user equipment migration policy, the user equipment to be migrated from the user equipment that establishes a connection with the second service device.
其中,第一服务设备可以为主服务设备或备用服务设备,第二服务设备可以为主服务设备或备用服务设备。若第一服务设备为主服务设备,则第二服务设备为备用服务设备;若第一服务设备为备用服务设备,则第二服务设备为主服务设备。应用在本申请实施例中,第二服务设备为切换之前,待迁移用户设备所连接的服务设备,第一服务设备 为切换之后,待迁移用户设备所连接的服务设备。本申请实施例以第一服务设备为备用服务设备,以第二服务设备为主服务设备为例进行介绍。The first service device may be a primary service device or a backup service device, and the second service device may be a primary service device or a backup service device. If the first service device is the primary service device, the second service device is the backup service device; if the first service device is the backup service device, the second service device is the primary service device. In the embodiment of the present application, the second service device is a service device to which the user equipment is to be migrated before the handover, and the first service device is the service device to which the user equipment is to be migrated after the handover. The embodiment of the present application introduces the first service device as the backup service device and the second service device as the primary service device.
第一服务设备可确定第二服务设备是否故障,即可由备用服务设备探测主服务设备是否故障,备用服务设备可通过以下两种方式来探测主服务设备是否故障。The first service device may determine whether the second service device is faulty, that is, the backup service device may detect whether the primary service device is faulty, and the backup service device may detect whether the primary service device is faulty in the following two manners.
方式一,第一服务设备周期性地向第二服务设备发送请求消息,若第一服务设备在预设时间段内未接收到响应消息,则确定第二服务设备故障,即确定主服务设备故障。其中,预设时间段可与发送请求消息的周期相关,例如,周期为10s,预设时间段为30s。具体可参见图5a的描述。In a first manner, the first service device periodically sends a request message to the second service device. If the first service device does not receive the response message within the preset time period, determining that the second service device is faulty, that is, determining that the primary service device is faulty. . The preset time period may be related to the period of sending the request message, for example, the period is 10s, and the preset time period is 30s. See the description of Figure 5a for details.
方式二,第一服务设备周期性地向第二服务设备发送请求消息,若第一服务设备在预设时间段内未接收到响应消息,则发送故障推测消息,该故障推测消息指示第二服务设备可能故障,在第一服务设备接收到针对该故障推测消息的确认指令的情况下,确定第二服务设备故障,即确定主服务设备故障。具体可参见图5b的描述。In a second manner, the first service device periodically sends a request message to the second service device. If the first service device does not receive the response message within the preset time period, the device sends a fault estimation message, where the fault estimation message indicates the second service. The device may be faulty, and in the event that the first serving device receives an acknowledgment command for the fault speculative message, determining that the second serving device is faulty, ie, determining that the primary serving device is faulty. See the description of Figure 5b for details.
第一服务设备可向管理员设备发送故障推测消息,也可向操作维护系统发送故障推测消息,还可以告警日志的形式在第一服务设备输出故障推测消息等等。其中,操作维护系统可对主服务设备和备用服务设备进行操作和维护。The first service device may send a fault speculative message to the administrator device, may also send a fault speculative message to the operation and maintenance system, and may output a fault speculative message or the like in the form of the alarm log in the first service device. The operation and maintenance system can operate and maintain the primary service device and the backup service device.
上述两种方式,由备用服务设备探测主服务设备是否故障,与用户设备探测主服务设备是否故障相比,可减少用户设备的耗电。In the above two manners, it is detected by the backup service device whether the primary service device is faulty, and the power consumption of the user equipment is reduced as compared with whether the user equipment detects whether the primary service device is faulty.
在一种可能实现的方式中,在第二服务设备故障之前,第一服务设备可接收第二服务设备发送的实时数据,即第一服务设备与第二服务设备进行热备份。热备份是指系统处于正常运转状态下的备份。In a possible implementation manner, before the second service device fails, the first service device may receive real-time data sent by the second service device, that is, the first service device performs hot backup with the second service device. A hot backup is a backup of a system that is in normal operation.
其中,实时数据可包括与第二服务设备建立连接的用户设备的设备标识,设备标识可以是device ID,也可以是IMSI,还可以是MAC地址等。可以理解的是,与第二服务设备建立连接的用户设备的数量不止一个,实时数据包括所有与第二服务设备建立连接的用户设备的设备标识。并且,在新的用户设备连接至第二服务设备的情况下,第二服务设备将新的用户设备的设备标识发送至第一服务设备,以使第一服务设备添加新的用户设备的设备标识。在存在用户设备断开与第二服务设备连接的情况下,第二服务设备将断开连接的用户设备的设备标识发送至第一服务设备,以使第一服务设备删除断开连接的用户设备的设备标识。The real-time data may include a device identifier of the user equipment that establishes a connection with the second service device, where the device identifier may be a device ID, an IMSI, or a MAC address. It can be understood that there is more than one user equipment establishing a connection with the second service device, and the real-time data includes the device identifiers of all the user equipments that establish a connection with the second service device. And, in a case that the new user equipment is connected to the second service device, the second service device sends the device identifier of the new user device to the first service device, so that the first service device adds the device identifier of the new user device. . In the case that the user equipment is disconnected from the second service device, the second service device sends the device identifier of the disconnected user device to the first service device, so that the first service device deletes the disconnected user device. Device identification.
实时数据还可包括与第二服务设备建立连接的用户设备的属性信息,属性信息可以包括但不限于用户交互信息、规则信息、数据上报信息、所属区域信息、设备类型、活跃度信息中的至少一种。The real-time data may further include attribute information of the user equipment that establishes a connection with the second service device, and the attribute information may include, but is not limited to, at least user interaction information, rule information, data report information, area information, device type, and activity information. One.
其中,用户交互信息包括多条用户命令历史记录。用户对用户设备每下发一条命令,第二服务设备便会记录一条用户命令历史记录。用户交互信息可以用于判断是否满足交互式迁移策略。The user interaction information includes multiple user command history records. Each time a user sends a command to the user device, the second service device records a history of the user command. User interaction information can be used to determine whether an interactive migration policy is met.
规则信息可以用于判断是否满足规则触发迁移策略,规则信息可以包括触发时间、触发条件等。The rule information may be used to determine whether the rule triggers the migration policy, and the rule information may include a trigger time, a trigger condition, and the like.
数据上报信息用于判断是否满足数据上报迁移策略,数据上报信息可以包括上报时间。The data reporting information is used to determine whether the data reporting migration policy is met, and the data reporting information may include the reporting time.
所属区域信息为EPC通过小区信息定位的与第二服务设备连接的用户设备的地理位置,用于判断是否满足区域迁移策略。The area information is the geographic location of the user equipment that is connected to the second service device by the EPC, and is used to determine whether the area migration policy is met.
设备类型可由用户设备自主上报,也可由EPC或第二服务设备进行识别,设备类型用于判断是否满足类型迁移策略。The device type can be reported by the user device or by the EPC or the second service device. The device type is used to determine whether the type migration policy is met.
活跃度信息包括用户设备上报数据的历史记录和第二服务设备对其下发的命令,可由第二服务设备进行统计,用于判断是否满足活跃度迁移策略。The activity information includes a history record of the data reported by the user equipment and a command sent by the second service device, and may be used by the second service device to determine whether the activity migration policy is met.
实时数据还可包括与第二服务设备建立连接的用户设备的IP地址,以便在确定待迁移用户设备之后,可以根据IP地址或根据设备标识和IP地址向待迁移用户设备发送信息。The real-time data may further include an IP address of the user equipment that establishes a connection with the second service device, so that after determining the user equipment to be migrated, the information may be sent to the user equipment to be migrated according to the IP address or according to the device identifier and the IP address.
第一服务设备在根据用户设备迁移策略从与第二服务设备建立连接的用户设备中确定待迁移用户设备之前,可获取用户设备迁移策略。可以理解的是,第一服务设备获取用户设备迁移策略可以在确定出主服务设备故障之前,也可以在确定出主服务设备故障之后。The first service device may acquire the user equipment migration policy before determining the user equipment to be migrated from the user equipment that establishes a connection with the second service device according to the user equipment migration policy. It can be understood that the first service device acquiring the user equipment migration policy may be before determining that the primary service device is faulty, or after determining that the primary service device is faulty.
在一种可能实现的方式中,第一服务设备从第二服务设备接收迁移策略,并将接收到迁移策略确定为用户设备迁移策略。换言之,主服务设备向备用服务设备发送了哪些迁移策略,就将这些迁移策略确定为用户设备迁移策略。第二服务设备可以选择性地向第一服务设备发送迁移策略,第一服务设备将接收到的迁移策略确定为用户迁移策略。管理员可登录第二服务设备的维护界面,选择需向第一服务设备发送的迁移策略。In a possible implementation manner, the first serving device receives the migration policy from the second serving device, and determines the received migration policy as the user device migration policy. In other words, which migration policies are sent by the primary service device to the alternate service device, these migration policies are determined as user device migration policies. The second service device may selectively send the migration policy to the first service device, and the first service device determines the received migration policy as the user migration policy. The administrator can log in to the maintenance interface of the second service device and select the migration policy to be sent to the first service device.
在一种可能实现的方式中,第一服务设备从第二服务设备接收迁移策略,管理员可登录第一服务设备的维护界面,该维护界面显示了从第二服务设备接收的迁移策略,管理员可针对这些迁移策略输入选择指令,从这些迁移策略选择一个或多个,第一服务设备将所选的迁移策略确定为用户设备迁移策略。换言之,由管理员从主服务设备向备用服务设备发送的迁移策略中选择一个或多个,并将所选择的迁移策略确定为用户设备迁移策略。In a possible implementation manner, the first service device receives the migration policy from the second service device, and the administrator can log in to the maintenance interface of the first service device, where the maintenance interface displays the migration policy received from the second service device, and the management A selection instruction can be input for these migration policies, and one or more of the migration policies are selected, and the first service device determines the selected migration policy as the user equipment migration policy. In other words, one or more of the migration policies sent by the administrator from the primary service device to the alternate service device are selected, and the selected migration policy is determined as the user device migration policy.
上述两种方式中,第一服务设备从第二服务设备接收的迁移策略可以包括但不限于交互式迁移策略、规则触发迁移策略、数据上报迁移策略、区域迁移策略、类型迁移策略和活跃度迁移策略中的至少一种。The migration policy received by the first service device from the second service device may include, but is not limited to, an interactive migration policy, a rule triggered migration policy, a data reporting migration policy, a regional migration policy, a type migration policy, and an active mobility migration. At least one of the strategies.
第二服务设备可将迁移策略存储在运维(operation and maintenance,O&M)门户(portal),在需要向第一服务设备发送迁移策略的情况下,O&M portal将迁移策略发送至第一服务设备。其中,O&M portal可位于第二服务设备,并对管理员开放,即管理员可控制何时向第一服务设备发送迁移策略。The second service device may store the migration policy in an operation and maintenance (O&M) portal. When the migration policy needs to be sent to the first service device, the O&M portal sends the migration policy to the first service device. The O&M portal can be located on the second service device and is open to the administrator, that is, the administrator can control when the migration policy is sent to the first service device.
第一服务设备根据从第二服务设备接收的实时数据从与第二服务设备建立连接的用户设备中挑选出满足用户设备迁移策略的用户设备,并将这些满足用户设备迁移策略的用户设备确定为待迁移用户设备。The first serving device selects the user equipment that satisfies the user equipment migration policy from the user equipment that establishes the connection with the second service device according to the real-time data received from the second service device, and determines the user equipment that meets the user equipment migration policy as User equipment to be migrated.
若用户设备迁移策略的数量为一个,则将满足这个用户设备迁移策略的用户设备确定为待迁移用户设备。若用户设备迁移策略的数量为两个或两个以上,则将同时满足这些用户设备迁移策略的用户设备确定为待迁移用户设备。If the number of user equipment migration policies is one, the user equipment that meets the user equipment migration policy is determined as the user equipment to be migrated. If the number of the user equipment migration policies is two or more, the user equipment that satisfies the user equipment migration policies is determined as the user equipment to be migrated.
举例来说,用户设备迁移策略包括一个区域迁移策略,某个用户设备的所属区域信息与区域迁移策略所指定的区域匹配,即该用户设备的所属区域信息满足区域迁移策略,那么可将该用户设备确定为待迁移用户设备。For example, the user equipment migration policy includes a zone migration policy, and the area information of a user equipment matches the area specified by the area migration policy, that is, the area information of the user equipment meets the area migration policy, and the user can be the user. The device is determined to be the user device to be migrated.
根据用户设备迁移策略确定待迁移用户设备,以便针对性地进行用户设备迁移,即根据用户设备的属性信息进行针对性迁移,可减少业务损失。The user equipment to be migrated is determined according to the user equipment migration policy, so that the user equipment migration is performed in a targeted manner, that is, the targeted migration according to the attribute information of the user equipment can reduce the service loss.
步骤S402,第一服务设备通知待迁移用户设备向第一服务设备进行注册。Step S402: The first service device notifies the user equipment to be migrated to register with the first service device.
第一服务设备在确定待迁移用户设备的情况下,通知待迁移用户设备向第一服务设备进行注册,以建立与待迁移用户设备之间的连接。可以理解的是,第二服务设备在故障的情况下,待迁移用户设备与其之间的连接可能已经断开,因此第一服务设备需建立与待迁移用户设备之间的连接。或,第二服务设备在故障的情况下,无法处理待迁移用户设备上报的数据,无法向待迁移用户设备下发命令,因此待迁移用户设备需向第一服务设备进行注册,需从与第二服务设备之间的连接切换至与第一服务设备之间的连接。The first service device notifies the user equipment to be migrated to register with the first service device to establish a connection with the user equipment to be migrated. It can be understood that, in the case of a failure of the second service device, the connection between the user equipment to be migrated and the user equipment may have been disconnected, so the first service device needs to establish a connection with the user equipment to be migrated. Or, in the case of a fault, the second service device cannot process the data reported by the user equipment to be migrated, and the command cannot be sent to the user equipment to be migrated. Therefore, the user equipment to be migrated needs to be registered with the first service device. The connection between the two service devices is switched to the connection with the first service device.
第一服务设备通过核心网网关通知待迁移用户设备向第一服务设备进行注册。在一种实现方式中,第一服务设备向核心网网关发送第一服务设备的寻址信息和待迁移用户设备的寻址信息,核心网网关根据待迁移用户设备的寻址信息向待迁移用户设备发送第一服务设备的寻址信息,待迁移用户设备在接收到第一服务设备的寻址信息的情况下,通过核心网网关向第一服务设备进行注册。在另一种实现方式中,第一服务设备向核心网网关发送待迁移用户设备的寻址信息,核心网网关从第一服务设备发送的消息的源地址信息中获取第一服务设备的寻址信息,并根据待迁移用户设备的寻址信息将第一服务设备的寻址信息发送至待迁移用户设备,待迁移用户设备在接收到第一服务设备的寻址信息的情况下,通过核心网网关向第一服务设备进行注册。本领域技术人员可以想到的是,核心网网关还可以通过备用服务设备发送的预先约定的消息或信元确定后续要进行用户设备迁移,并根据消息的源地址或预先配置的信息获取第一服务设备的寻址信息。The first service device notifies the user equipment to be migrated to register with the first service device through the core network gateway. In an implementation manner, the first serving device sends the addressing information of the first serving device and the addressing information of the user device to be migrated to the core network gateway, and the core network gateway sends the user to be migrated according to the addressing information of the user device to be migrated. The device sends the addressing information of the first service device, and the user equipment to be migrated registers with the first service device through the core network gateway when receiving the addressing information of the first service device. In another implementation manner, the first serving device sends the addressing information of the user equipment to be migrated to the core network gateway, and the core network gateway obtains the addressing of the first service device from the source address information of the message sent by the first serving device. And transmitting the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, and the user equipment to be migrated passes through the core network after receiving the addressing information of the first service device. The gateway registers with the first service device. A person skilled in the art may think that the core network gateway may further determine that the user equipment migration is to be performed through a pre-agreed message or a cell sent by the backup service device, and obtain the first service according to the source address of the message or the pre-configured information. Addressing information for the device.
可以理解的是,某个用户设备注册在服务设备上即建立了该用户设备与该服务设备之间的连接,该用户设备可向该服务设备上报数据,可接收该服务设备下发的命令。It can be understood that a user equipment is registered on the service device, that is, a connection between the user equipment and the service device is established, and the user equipment can report data to the service device, and can receive a command sent by the service device.
第一服务设备建立与待迁移用户设备之间连接的过程可参见图6的描述。The process of establishing a connection between the first service device and the user equipment to be migrated can be referred to the description of FIG. 6.
在图4所示的实施例中,在主服务设备故障的情况下,根据用户设备迁移策略从与主服务设备建立连接的用户设备中确定待迁移用户设备,并通知待迁移用户设备向第一服务设备进行注册,以建立备用服务设备与待迁移用户设备之间的连接,无需用户设备触发服务设备的切换,减少对用户设备的依赖,可以减少用户设备的耗电,有利于推进NB-IoT用户设备的应用。In the embodiment shown in FIG. 4, in the case that the primary service device is faulty, the user equipment to be migrated is determined from the user equipment that establishes a connection with the primary service device according to the user equipment migration policy, and the user equipment to be migrated is notified to the first The service device is registered to establish a connection between the backup service device and the user device to be migrated, without the user device triggering the switching of the service device, reducing the dependence on the user device, reducing the power consumption of the user device, and facilitating the promotion of the NB-IoT. Application of user equipment.
需要说明的是,本申请实施例中的第一服务设备和第二服务设备的选址较为灵活,无需限定两者一定在同一城市或同一个地区,可降低运营商的容灾部署成本。It should be noted that the location of the first service device and the second service device in the embodiment of the present application is flexible, and it is not necessary to limit the two to be in the same city or the same region, which can reduce the disaster recovery deployment cost of the operator.
请参见图5a,为本申请实施例提供的一种备用服务设备探测主服务设备是否故障的流程示意图,可以包括:FIG. 5 is a schematic flowchart of a method for detecting whether a primary service device is faulty by a backup service device according to an embodiment of the present disclosure, which may include:
步骤S501a,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S501a, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
其中,请求消息可以为超文本传输协议(hypertext transfer protocol,HTTP)请求消息,请求消息不携带任何参数。The request message may be a hypertext transfer protocol (HTTP) request message, and the request message does not carry any parameters.
在一种可能实现的方式中,备用服务设备可周期性地向主服务设备发送请求消息,例如备用服务设备每隔10s向主服务设备发送请求消息。具体的周期数值在本申请实施例中不作限定。In one possible implementation, the alternate serving device may periodically send a request message to the primary serving device, for example, the alternate serving device sends a request message to the primary serving device every 10 seconds. The specific period value is not limited in the embodiment of the present application.
步骤S502a,主服务设备向备用服务设备发送确认消息。相应地,备用服务设备从主服务设备接收确认消息。Step S502a, the primary service device sends an acknowledgement message to the backup service device. Accordingly, the alternate service device receives an acknowledgment message from the primary service device.
其中,确认消息可以为HTTP 200确认消息,确认消息不携带任何参数。确认消息用于响应请求消息,指示主服务设备已接收到请求消息。备用服务设备接收到确认消息,可表明此时主服务设备正常工作,不存在故障。The confirmation message may be an HTTP 200 acknowledgment message, and the acknowledgment message does not carry any parameters. The acknowledgment message is used to respond to the request message indicating that the primary service device has received the request message. The standby service device receives the confirmation message, indicating that the primary service device is working normally and there is no fault.
步骤S503a,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S503a, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
步骤S504a,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S504a, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
步骤S505a,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S505a, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
可以理解的是,在执行步骤S503a-步骤S505a之后,即备用服务设备在向主服务设备发送三次请求消息之后,都没有接收到确认消息。It can be understood that after performing step S503a - step S505a, that is, the standby service device does not receive the acknowledgement message after sending the request message three times to the master service device.
步骤S506a,备用服务设备确定主服务设备故障。Step S506a, the standby service device determines that the primary service device is faulty.
备用服务设备在发送三次请求消息都没有接收到确认消息的情况下,可确定此时主服务设备故障。可以理解的是,备用服务设备在发送预设次数请求消息都没有接收到确认消息的情况下,可确定此时主服务设备故障,预设次数的具体数值在本申请实施例中的不作限定。If the standby service device does not receive the acknowledgment message after sending the three-time request message, it can be determined that the primary service device is faulty at this time. It can be understood that, in the case that the backup service device does not receive the confirmation message, the primary service device may be determined to be faulty. The specific value of the preset number of times is not limited in the embodiment of the present application.
在一种可能实现的方式中,备用服务设备在预设时间段内未接收到确认消息的情况下,可确定此时主服务设备故障,预设时间段的具体数值在本申请实施例中不作限定。例如,备用服务设备向主服务设备发送请求消息的周期为10s,预设时间段为30s,在30s内未接收到确认消息的情况下,可确定此时主服务设备故障。In a possible implementation, if the backup service device does not receive the acknowledgment message within the preset time period, it may be determined that the primary service device is faulty at this time, and the specific value of the preset time period is not used in the embodiment of the present application. limited. For example, the period in which the standby service device sends the request message to the primary service device is 10 s, and the preset time period is 30 s. If the acknowledgment message is not received within 30 s, the primary service device failure may be determined at this time.
可以理解是,备用服务设备在发送预设次数请求消息未接收到确认消息的情况下,或在预设时间段内未接收到确认消息的情况下,可直接确定主服务设备故障。It can be understood that the standby service device can directly determine that the primary service device is faulty if the acknowledgment message is not received by the preset number of times request message, or if the acknowledgment message is not received within the preset time period.
请参见图5b,为本申请实施例提供的另一种备用服务设备探测主服务设备是否故障的流程示意图,可以包括:FIG. 5 is a schematic flowchart of another method for detecting whether a primary service device is faulty by the backup service device according to an embodiment of the present disclosure, which may include:
步骤S501b,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S501b, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
步骤S502b,主服务设备向备用服务设备发送确认消息。相应地,备用服务设备从主服务设备接收确认消息。Step S502b, the primary service device sends an acknowledgement message to the backup service device. Accordingly, the alternate service device receives an acknowledgment message from the primary service device.
步骤S503b,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S503b, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
步骤S504b,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S504b, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
步骤S505b,备用服务设备向主服务设备发送请求消息。相应地,主服务设备从备用服务设备接收请求消息。Step S505b, the standby service device sends a request message to the primary service device. Accordingly, the primary serving device receives the request message from the alternate serving device.
步骤S501b-步骤S505b可参见步骤S501a-步骤S505a的具体描述,在此不再赘述。For the detailed description of the steps S501a-S505, refer to the description of the steps S501b-S505b, and details are not described herein again.
步骤S506b,备用服务设备向管理员设备发送故障推测消息。相应地,管理员设备从备用服务设备接收故障推测消息。Step S506b, the backup service device sends a fault estimation message to the administrator device. Accordingly, the administrator device receives the fault speculative message from the alternate serving device.
备用服务设备在发送三次请求消息都没有接收到确认消息的情况下,可认为此时主服务设备可能故障。可以理解的是,备用服务设备在发送预设次数请求消息都没有接收到确认消息的情况下,可认为此时主服务设备可能故障,预设次数的具体数值在本申请 实施例中的不作限定。If the standby service device does not receive the acknowledgement message after sending the three-time request message, it may be considered that the primary service device may be faulty at this time. It can be understood that, in the case that the standby service device does not receive the acknowledgment message, the primary service device may be faulty at this time, and the specific value of the preset number of times is not limited in the embodiment of the present application. .
在一种可能实现的方式中,备用服务设备在预设时间段内未接收到确认消息的情况下,可认为此时主服务设备可能故障,预设时间段的具体数值在本申请实施例中不作限定。例如,备用服务设备向主服务设备发送请求消息的周期为10s,预设时间段为30s,在30s内未接收到确认消息的情况下,可认为此时主服务设备可能故障。In a possible implementation, if the backup service device does not receive the acknowledgment message within the preset time period, it may be considered that the primary service device may be faulty at this time, and the specific value of the preset time period is in the embodiment of the present application. Not limited. For example, the period in which the backup service device sends the request message to the primary service device is 10s, and the preset time period is 30s. If the confirmation message is not received within 30s, the primary service device may be considered to be faulty.
在主服务设备可能故障的情况下,备用服务设备可向管理员设备发送故障推测信息,该故障推测消息指示主服务设备可能故障。其中,管理员设备是管理员操作的设备,用于监控服务设备,接收服务设备发送的信息,向服务设备发送信息等,可以是手机等。管理员可以是主服务设备的维护工程师,或主服务设备和备用服务设备的维护工程师等。备用服务设备可通过发送短信、发送邮件等方式向管理员设备发送故障推测消息。In the event that the primary serving device may fail, the alternate serving device may send fault guessing information to the administrator device indicating that the primary serving device may be faulty. The administrator device is a device operated by the administrator, and is used to monitor the service device, receive information sent by the service device, and send information to the service device, such as a mobile phone. The administrator can be the maintenance engineer of the primary service device or the maintenance engineer of the primary service device and the backup service device. The backup service device can send a fault speculative message to the administrator device by sending a short message or sending an email.
在主服务设备可能故障的情况下,备用服务设备还可向操作维护系统发送故障推测消息,操作维护系统在接收到故障推测消息的情况下,可对主服务设备进行故障检测。In the case that the primary service device may be faulty, the backup service device may also send a fault estimation message to the operation and maintenance system, and the operation and maintenance system may perform fault detection on the primary service device if the fault estimation message is received.
在主服务设备可能故障的情况下,备用服务设备还可以告警日志的方式在备用服务设备侧输出故障推测消息,以告知管理员主服务设备可能故障。In the case that the primary service device may be faulty, the backup service device may also output a fault estimation message on the standby service device side in a manner of alerting the log to notify the administrator that the primary service device may be faulty.
需要说明的是,在主服务设备可能故障的情况下,备用服务设备还可通过其他方式发送或输出故障推测消息,本申请实施例不再一一列举。It should be noted that, in the case that the primary service device may be faulty, the backup service device may also send or output a fault estimation message in other manners, which is not enumerated in the embodiments of the present application.
步骤S507b,管理员设备向备用服务设备发送确认指令。相应地,备用服务设备从管理员设备接收确认指令。In step S507b, the administrator device sends an acknowledgement command to the backup service device. Accordingly, the alternate service device receives a confirmation command from the administrator device.
管理员设备在接收到故障推测消息的情况下,管理员可登录主服务设备,检查主服务设备是否故障,在检查出主服务设备故障的情况下,管理员通过管理员设备向备用服务设备发送确认指令或管理员直接在备用服务设备上输入确认指令,该确认指令用于指示主服务设备故障。管理员设备可通过回复短信、回复邮件、点击故障确认按钮等方式向备用服务设备发送确认指令。When the administrator device receives the fault estimation message, the administrator can log in to the primary service device to check whether the primary service device is faulty. When the primary service device fails, the administrator sends the backup device to the backup service device. The confirmation command or the administrator directly enters a confirmation command on the alternate service device, which is used to indicate that the primary service device is faulty. The administrator device can send a confirmation command to the backup service device by replying to the short message, replying to the email, and clicking the fault confirmation button.
操作维护系统在接收到故障推测消息的情况下,对主服务设备进行故障检测,并在确定主服务设备故障的情况下,向备用服务设备发送确认指令,该确认指令用于指示主服务设备故障。也可由操作维护系统的管理员检查主服务设备是否故障,并在确定主服务设备故障的情况下,通过操作维护系统向备用服务设备发送该确认指令。The operation and maintenance system, when receiving the fault estimation message, performs fault detection on the primary service device, and in the case of determining that the primary service device is faulty, sends an acknowledgement instruction to the backup service device, where the acknowledgement command is used to indicate that the primary service device is faulty. . It is also possible for the administrator of the operation and maintenance system to check whether the primary service device is faulty, and to send the confirmation command to the backup service device through the operation and maintenance system in the event that the primary service device is determined to be faulty.
备用服务设备以告警日志的方式输出故障推测消息的情况下,管理员检查主服务设备是否故障,在检查出主服务设备故障的情况下,管理员可直接在备用服务设备上输入确认指令,该确认指令用于指示主服务设备故障。When the backup service device outputs the fault estimation message in the manner of the alarm log, the administrator checks whether the primary service device is faulty. When the primary service device fails, the administrator can directly input a confirmation command on the backup service device. The confirmation command is used to indicate that the primary service device is faulty.
步骤S508b,备用服务设备确定主服务设备故障。Step S508b, the standby service device determines that the primary service device is faulty.
备用服务设备在接收到确认指令的情况下,可确定主服务设备故障。The standby service device may determine that the primary service device is faulty upon receiving the confirmation command.
可以理解的是,备用服务设备在接收到管理员发送的确认指令的情况下,才确定主服务设备故障。It can be understood that the standby service device determines that the primary service device is faulty upon receiving the confirmation command sent by the administrator.
图5a和图5b所示的流程均由备用服务设备确定主服务设备故障,相比由用户设备探测主服务设备是否正常工作的方法,可以减少用户设备的耗电,还可以减少无线网络的压力和负载(因为由用户设备探测的方法,以确认消息模式,需要反馈响应消息,会给无线网络造成压力和负载)。The processes shown in FIG. 5a and FIG. 5b are all determined by the backup service device to determine the failure of the primary service device. Compared with the method for detecting whether the primary service device works normally by the user device, the power consumption of the user equipment can be reduced, and the pressure on the wireless network can be reduced. And the load (because of the method detected by the user equipment to confirm the message mode, the feedback response message is needed, which will cause pressure and load on the wireless network).
请参见图6,为本申请实施例提供的备用服务设备建立与用户设备之间连接的流程 示意图,可以包括:FIG. 6 is a schematic diagram of a process of establishing a connection between a backup service device and a user equipment according to an embodiment of the present disclosure, which may include:
步骤S601,备用服务设备向核心网网关发送备用服务设备的寻址信息和待迁移用户设备的寻址信息。相应地,核心网网关从备用服务设备接收备用服务设备的寻址信息和待迁移用户设备的寻址信息。Step S601: The backup service device sends the addressing information of the standby service device and the addressing information of the user equipment to be migrated to the core network gateway. Correspondingly, the core network gateway receives the addressing information of the standby service device and the addressing information of the user equipment to be migrated from the standby service device.
备用服务设备在确定待迁移用户设备情况下,向核心网网关发送备用服务设备的寻址信息和待迁移用户设备的寻址信息。寻址信息可以包括设备标识和IP地址中的至少一种。设备标识可以是device ID,也可以是IMSI,还可以是MAC地址等。待迁移用户设备的设备标识和IP地址可从实时数据中获取。The backup service device sends the addressing information of the standby service device and the addressing information of the user equipment to be migrated to the core network gateway in the case that the user equipment to be migrated is determined. The addressing information may include at least one of a device identification and an IP address. The device identifier can be a device ID, an IMSI, or a MAC address. The device ID and IP address of the user equipment to be migrated can be obtained from real-time data.
在一种可能实现的方式中,备用服务设备可通过一条消息向核心网网关发送备用服务设备的寻址信息和待迁移用户设备的寻址信息,即该消息携带备用服务设备的寻址信息和待迁移用户设备的寻址信息。这个消息的具体名称在本申请实施例中不作限定。In a possible implementation, the backup service device may send the addressing information of the backup service device and the addressing information of the user equipment to be migrated to the core network gateway by using a message, that is, the message carries the addressing information of the standby service device and Addressing information of the user equipment to be migrated. The specific name of this message is not limited in the embodiment of the present application.
在另一种可能实现的方式中,备用服务设备可通过一条消息向核心网网关发送待迁移用户设备的寻址信息,即该消息携带待迁移用户设备的寻址信息。这个消息的具体名称在本申请实施例中不作限定。核心网网关可通过其他方式获取备用服务设备的寻址信息,例如通过备用服务设备发送的消息的源地址获知备用服务设备的寻址信息,再例如核心网网关通过预先配置的信息获取,该预先配置信息包括备用服务设备的寻址信息。In another possible implementation manner, the backup service device may send the addressing information of the user equipment to be migrated to the core network gateway by using a message, that is, the message carries the addressing information of the user equipment to be migrated. The specific name of this message is not limited in the embodiment of the present application. The core network gateway can obtain the addressing information of the standby service device by using other methods, for example, the source address of the message sent by the backup service device, and the addressing information of the backup service device is obtained, and the core network gateway obtains the information through the pre-configured information, for example, the pre-configured information. The configuration information includes addressing information of the alternate service device.
若备用服务设备的寻址信息包括备用服务设备的设备标识,则核心网网关或待迁移用户设备可以根据备用服务设备的设备标识查找备用服务设备的IP地址,例如根据备用服务设备的设备标识在域名系统(domain name system,DNS)中查找备用服务设备的IP地址。若备用服务设备的寻址信息包括备用服务设备的IP地址,则核心网网关可直接向待迁移用户设备发送备用服务设备的IP地址。若备用服务设备的寻址信息包括设备标识和IP地址,则核心网网关可直接向待迁移用户设备发送备用服务设备的设备标识和IP地址。寻址信息还可以包括其他用于确定备用服务设备IP地址的信息。If the addressing information of the backup service device includes the device identifier of the standby service device, the core network gateway or the user device to be migrated may search for the IP address of the standby service device according to the device identifier of the backup service device, for example, according to the device identifier of the backup service device. Find the IP address of the alternate service device in the domain name system (DNS). If the addressing information of the standby service device includes the IP address of the standby service device, the core network gateway may directly send the IP address of the standby service device to the user equipment to be migrated. If the addressing information of the standby service device includes the device identifier and the IP address, the core network gateway may directly send the device identifier and the IP address of the standby service device to the user equipment to be migrated. The addressing information may also include other information for determining the IP address of the alternate serving device.
在一种可能的实现方式中,备用服务设备还向核心网网关发送授权校验码,授权校验码可与备用服务设备的寻址信息和待迁移用户设备的寻址信息一同发送,即携带在同一条消息中发送。授权校验码也可与待迁移用户设备的寻址信息一同发送。其中,授权校验码用于核心网网关对备用服务设备进行安全校验。在备用服务设备与核心网网关之间以非加密方式传输的情况下,通过授权校验码可确保传输的安全性。In a possible implementation manner, the backup service device further sends an authorization check code to the core network gateway, where the authorization check code can be sent together with the addressing information of the standby service device and the addressing information of the user equipment to be migrated, that is, carried Sent in the same message. The authorization check code can also be sent together with the addressing information of the user equipment to be migrated. The authorization check code is used by the core network gateway to perform security check on the standby service device. In the case of non-encrypted transmission between the backup service device and the core network gateway, the security of the transmission can be ensured by the authorization check code.
步骤S602,核心网网关向待迁移用户设备发送备用服务设备的寻址信息。相应地,待迁移用户设备从核心网网关接收备用服务设备的寻址信息。Step S602: The core network gateway sends the addressing information of the standby service device to the user equipment to be migrated. Correspondingly, the user equipment to be migrated receives the addressing information of the standby service device from the core network gateway.
核心网网关在接收到备用服务设备的寻址信息和待迁移用户设备的寻址信息的情况下,可根据待迁移用户设备的寻址信息向待迁移用户设备发送备用服务设备的寻址信息,以便待迁移用户设备根据备用服务设备的寻址信息向备用服务设备进行注册。The core network gateway, when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated, may send the addressing information of the standby service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. The user equipment to be migrated is registered with the backup service device according to the addressing information of the standby service device.
在一种可能的实现方式中,核心网网关根据待迁移用户设备的设备模式向待迁移用户设备发送备用服务设备的寻址信息。待迁移用户设备可直接向核心网网关上报其设备模式,核心网网关也可根据待迁移用户设备发送的信息确定待迁移用户设备的设备模式。In a possible implementation, the core network gateway sends the addressing information of the standby service device to the user equipment to be migrated according to the device mode of the user equipment to be migrated. The user equipment to be migrated can directly report the device mode to the core network gateway, and the core network gateway can also determine the device mode of the user equipment to be migrated according to the information sent by the user equipment to be migrated.
若待迁移用户设备的设备模式为DRX,则核心网网关在接收到备用服务设备的寻址信息和待迁移用户设备的寻址信息时,根据待迁移用户设备的寻址信息立即向待迁移用户设备发送备用服务设备的寻址信息。If the device mode of the user equipment to be migrated is DRX, the core network gateway immediately sends the addressing information of the user equipment to be migrated according to the addressing information of the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated. The device sends addressing information for the alternate service device.
若待迁移用户设备的设备模式为eDRX,则核心网网关在接收到备用服务设备的寻址 信息和待迁移用户设备的寻址信息时,并没有立即向待迁移用户设备发送备用服务设备的寻址信息,而是先缓存,等下一个PTW到达时才根据待迁移用户设备的寻址信息向待迁移用户设备发送备用服务设备的寻址信息。If the device mode of the user equipment to be migrated is eDRX, the core network gateway does not immediately send the backup service device to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated. The address information is cached first, and the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated when the next PTW arrives.
若待迁移用户设备的设备模式为PSM,则核心网网关在接收到备用服务设备的寻址信息和待迁移用户设备的寻址信息时,并没有立即向待迁移用户设备发送备用服务设备的寻址信息,而是先缓存,等接收到待迁移用户设备上报的数据时,才根据待迁移用户设备的寻址信息向待迁移用户设备发送备用服务设备的寻址信息。If the device mode of the user equipment to be migrated is PSM, the core network gateway does not immediately send the backup service device to the user equipment to be migrated when receiving the addressing information of the standby service device and the addressing information of the user equipment to be migrated. The address information is cached first, and when the data reported by the user equipment to be migrated is received, the addressing information of the standby service device is sent to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
在待迁移用户设备的寻址信息包括设备标识或IP地址的情况下,可以便于核心网网关确定向哪个或哪些用户设备发送第一服务设备的寻址信息;在待迁移用户设备的寻址信息包括设备标识和IP地址的情况下,可以便于核心网网关更好地确定向哪个或哪些用户设备发送第一服务设备的寻址信息。In the case that the addressing information of the user equipment to be migrated includes the device identifier or the IP address, the core network gateway may be configured to determine which address device or devices to send the addressing information of the first service device; and the addressing information of the user equipment to be migrated In the case of the device identification and the IP address, the core network gateway can be facilitated to better determine which address device or devices to transmit the addressing information of the first service device.
步骤S603,待迁移用户设备向核心网网关发送注册信息,该注册信息包括待迁移用户设备的设备标识。相应地,核心网网关从待迁移用户设备接收注册信息。Step S603: The user equipment to be migrated sends registration information to the core network gateway, where the registration information includes the equipment identifier of the user equipment to be migrated. Correspondingly, the core network gateway receives the registration information from the user equipment to be migrated.
注册信息包括的待迁移用户设备的设备标识用于标识哪个或哪些待迁移用户设备请求注册,即请求建立与备用服务设备之间的连接。待迁移用户设备的设备标识可以是device ID,也可以是IMSI,还可以是MAC地址。The device identifier of the user equipment to be migrated included in the registration information is used to identify which or which user equipment to be migrated requests registration, that is, request to establish a connection with the backup service device. The device ID of the user equipment to be migrated may be a device ID, an IMSI, or a MAC address.
待迁移用户设备在接收到备用服务设备的寻址信息的情况下,根据备用服务设备的寻址信息向核心网网关发送注册信息,用于请求在备用服务设备上进行注册。The user equipment to be migrated, when receiving the addressing information of the standby service device, sends registration information to the core network gateway according to the addressing information of the standby service device, for requesting registration on the backup service device.
步骤S604,核心网网关向备用服务设备发送注册信息。相应地,备用服务设备从核心网网关接收该注册信息。Step S604, the core network gateway sends the registration information to the backup service device. Accordingly, the alternate service device receives the registration information from the core network gateway.
在一种可能的实现方式中,核心网网关向备用服务设备发送注册信息还可以包括待迁移用户设备的设备标识。核心网网关在接收到待迁移用户设备发送的注册信息的情况下,通过小区信息对待迁移用户设备的地理位置进行定位,确定待迁移用户设备的位置信息,即地理位置,并向备用服务设备发送携带待迁移用户设备的设备标识和位置信息的注册信息,以便备用服务设备获取待迁移用户设备的地理位置。例如,核心网网关确定智能水表安装的地理位置,并向备用服务设备发送携带待迁移用户设备的设备标识和位置信息的注册信息,以便备用服务设备获取该智能水表的安装地理位置。In a possible implementation manner, the core network gateway sending the registration information to the backup service device may further include the device identifier of the user equipment to be migrated. After receiving the registration information sent by the user equipment to be migrated, the core network gateway locates the geographic location of the user equipment to be migrated by using the cell information, determines the location information of the user equipment to be migrated, that is, the geographic location, and sends the location information to the backup service device. The registration information of the device identifier and the location information of the user equipment to be migrated is carried, so that the backup service device obtains the geographical location of the user equipment to be migrated. For example, the core network gateway determines the geographical location of the smart water meter installation, and sends the registration information of the device identifier and the location information of the user equipment to be migrated to the backup service device, so that the backup service device obtains the installation geographic location of the smart water meter.
步骤S605,备用服务设备向核心网网关发送注册确认信息。相应地,核心网网关从备用服务设备接收注册确认信息。Step S605, the standby service device sends registration confirmation information to the core network gateway. Accordingly, the core network gateway receives registration confirmation information from the alternate service device.
备用服务设备在接收到注册信息的情况下,对待迁移用户设备进行注册,并向核心网网关发送注册确认信息。注册确认信息用于响应核心网网关发送的注册信息,即指示备用服务设备接收到注册信息,并对待迁移用户设备进行了注册,待迁移用户设备与第一服务设备之间的连接建立成功。When receiving the registration information, the standby service device registers the user equipment to be migrated, and sends registration confirmation information to the core network gateway. The registration confirmation information is used to respond to the registration information sent by the core network gateway, that is, the backup service device receives the registration information, and registers the user equipment to be migrated, and the connection between the user equipment to be migrated and the first service device is successfully established.
步骤S606,核心网网关向待迁移用户设备发送注册确认信息。相应地,待迁移用户设备从核心网网关接收第一注册确认信息。Step S606: The core network gateway sends registration confirmation information to the user equipment to be migrated. Correspondingly, the user equipment to be migrated receives the first registration confirmation information from the core network gateway.
核心网网关向待迁移用户设备发送的注册确认信息用于响应待迁移用户设备发送的注册信息,即指示备用服务设备接收到注册信息,备用服务设备对待迁移用户设备进行了注册,待迁移用户设备与第一服务设备之间的连接建立成功。The registration confirmation information sent by the core network gateway to the user equipment to be migrated is used to respond to the registration information sent by the user equipment to be migrated, that is, the backup service device receives the registration information, and the backup service device registers the user equipment to be migrated. The connection with the first service device is established successfully.
在待迁移用户设备与备用服务设备之间的连接建立成功的情况下,待迁移用户设备在需要上报数据的情况下,可通过核心网网关向备用服务设备上报数据,即先将数据发 送至核心网网关,再由核心网网关向备用服务设备发送该数据。备用服务设备也可通过核心网网关向待迁移用户设备下发命令。If the connection between the user equipment to be migrated and the backup service device is successfully established, the user equipment to be migrated can report data to the backup service device through the core network gateway, that is, the data is first sent to the core. The network gateway sends the data to the backup service device by the core network gateway. The backup service device can also send commands to the user equipment to be migrated through the core network gateway.
可见,在图6所示的流程中,无需用户设备触发服务设备的切换,直接由备用服务设备建立与用户设备之间的连接,以实现服务设备的切换。It can be seen that, in the process shown in FIG. 6, the user equipment is not required to trigger the handover of the service device, and the connection between the user equipment and the user equipment is directly established by the backup service device to implement the handover of the service device.
需要说明的是,在本申请实施例中省略了待迁移用户设备与基站之间的交互流程,即省略了接入网流程。基站相当于待迁移用户设备与核心网网关之间的中转站。It should be noted that, in the embodiment of the present application, the interaction process between the user equipment to be migrated and the base station is omitted, that is, the access network procedure is omitted. The base station is equivalent to a relay station between the user equipment to be migrated and the core network gateway.
上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的装置。The above describes the method of the embodiment of the present application in detail, and the apparatus of the embodiment of the present application is provided below.
请参见图7,是本申请实施例提供的服务设备的逻辑结构示意图,该服务设备可以是第一服务设备,即备用服务设备。该服务设备70可以包括处理模块701和第一收发模块702。FIG. 7 is a schematic diagram of a logical structure of a service device according to an embodiment of the present disclosure. The service device may be a first service device, that is, a backup service device. The service device 70 can include a processing module 701 and a first transceiver module 702.
处理模块701,用于在第二服务设备故障的情况下,根据用户设备迁移策略从与所述第二服务设备建立连接的用户设备中确定待迁移用户设备。The processing module 701 is configured to determine, in the case that the second service device is faulty, the user equipment to be migrated from the user equipment that establishes a connection with the second service device according to the user equipment migration policy.
第一收发模块702,用于通知待迁移用户设备向第一服务设备进行注册。The first transceiver module 702 is configured to notify the user equipment to be migrated to register with the first service device.
其中,处理模块701用于执行图4所示实施例中的步骤S401,第一收发模块用于执行图4所示实施例中的步骤S402。The processing module 701 is configured to perform step S401 in the embodiment shown in FIG. 4, where the first transceiver module is configured to perform step S402 in the embodiment shown in FIG.
在一种实现方式中,第一收发模块702,具体用于向核心网网关发送第一服务设备的寻址信息和待迁移用户设备的寻址信息,寻址信息包括设备标识和网络互连协议IP地址中的至少一种,待迁移用户设备的寻址信息用于使核心网网关向待迁移用户设备发送第一服务设备的寻址信息,第一服务设备的寻址信息用于使待迁移用户设备向第一服务设备进行注册。In an implementation manner, the first transceiver module 702 is specifically configured to send, to the core network gateway, addressing information of the first service device and addressing information of the user equipment to be migrated, where the addressing information includes the device identifier and the network interconnection protocol. At least one of the IP addresses, the addressing information of the user equipment to be migrated is used to enable the core network gateway to send the addressing information of the first serving device to the user equipment to be migrated, where the addressing information of the first serving device is used to be migrated. The user equipment registers with the first service device.
在一种实现方式中,第一收发模块702还用于从核心网网关接收注册信息,注册信息包括待迁移用户设备的设备标识;根据注册信息向核心网网关发送注册确认信息,注册确认信息用于指示待迁移用户设备与第一服务设备之间的连接建立成功。In an implementation manner, the first transceiver module 702 is further configured to receive registration information from a core network gateway, where the registration information includes a device identifier of the user equipment to be migrated, and send registration confirmation information to the core network gateway according to the registration information, where the registration confirmation information is used. The connection between the user equipment to be migrated and the first service device is successfully established.
在一种实现方式中,该服务设备70还包括第二收发模块703,用于从第二服务设备接收授权检验码,还用于从第二服务设备接收实时数据,还用于周期性向第二服务设备发送请求消息,还用于接收第二服务设备发送的响应消息,还用于从第二服务设备接收迁移策略。In an implementation manner, the service device 70 further includes a second transceiver module 703, configured to receive an authorization verification code from the second service device, and is further configured to receive real-time data from the second service device, and is also used to periodically The service device sends a request message, and is further configured to receive a response message sent by the second service device, and is further configured to receive a migration policy from the second service device.
在一种实现方式中,该服务设备70还包括第三收发模块704,用于发送故障推测消息,还用于接收针对故障推测消息的确认指令。In an implementation manner, the service device 70 further includes a third transceiver module 704, configured to send a fault estimation message, and further configured to receive a confirmation instruction for the fault estimation message.
上述第一收发模块702用于执行图6所示实施例中的S601、步骤S604、步骤S605;上述第二收发模块703用于执行图5a所示实施例中的步骤S501a-步骤S505a,图5b所示实施例中的步骤S501b-步骤S505b;上述第三收发模块704用于执行图5b所示实施例中的步骤S506b和步骤S507b。The first transceiver module 702 is configured to execute S601, step S604, and step S605 in the embodiment shown in FIG. 6; the second transceiver module 703 is configured to perform step S501a-step S505a in the embodiment shown in FIG. 5a, FIG. 5b. Step S501b to step S505b in the illustrated embodiment; the third transceiver module 704 is configured to perform step S506b and step S507b in the embodiment shown in FIG. 5b.
可以理解的是,上述第一收发模块702用于与核心网网关通信,上述第二收发模块703用于与第二服务设备通信,上述第三收发模块704用于与管理员设备通信。It can be understood that the first transceiver module 702 is configured to communicate with a core network gateway, the second transceiver module 703 is configured to communicate with a second service device, and the third transceiver module 704 is configured to communicate with an administrator device.
请参见图8,是本申请实施例提供的服务设备的实体结构简化示意图,该服务设备可以是第一服务设备,即备用服务设备。该服务设备80包括收发器801、处理器802和存储器803。收发器801、处理器802和存储器803可以通过总线804相互连接,也可以通过其它方式相连接。图7所示的处理模块701所实现的相关功能可以通过一个或多个 处理器802来实现。图7所示的第一收发模块702、第二收发模块703和第三收发模块704所实现的相关功能可以通过收发器801来实现。FIG. 8 is a simplified schematic diagram of a physical structure of a service device according to an embodiment of the present application. The service device may be a first service device, that is, a backup service device. The service device 80 includes a transceiver 801, a processor 802, and a memory 803. The transceiver 801, the processor 802, and the memory 803 may be connected to one another via a bus 804, or may be connected in other manners. Related functions implemented by the processing module 701 shown in FIG. 7 may be implemented by one or more processors 802. The related functions implemented by the first transceiver module 702, the second transceiver module 703, and the third transceiver module 704 shown in FIG. 7 can be implemented by the transceiver 801.
存储器803包括但不限于是随机存储记忆体(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)、或便携式只读存储器(compact disc read-only memory,CD-ROM),该存储器803用于相关指令及数据。The memory 803 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read only memory (EPROM), or A compact disc read-only memory (CD-ROM) for storing related instructions and data.
收发器801用于发送数据和/或信令,以及接收数据和/或信令。应用在本申请实施例中,鉴于与不同设备通信,可将收发器801分为与核心网网关通信的收发器8011、与主服务设备通信的收发器8012和与管理员设备通信的收发器8013。收发器8011用于执行图6所示实施例中的S601、步骤S604和步骤S605;收发器8012用于执行图5a所示实施例中的步骤S501a-步骤S505a,图5b所示实施例中的步骤S501b-步骤S505b;收发器8013用于执行图5b所示实施例中的步骤S506b和步骤S507b。The transceiver 801 is configured to transmit data and/or signaling, as well as receive data and/or signaling. Application In the embodiment of the present application, in view of communicating with different devices, the transceiver 801 can be divided into a transceiver 8011 that communicates with a core network gateway, a transceiver 8012 that communicates with a primary service device, and a transceiver 8013 that communicates with an administrator device. . The transceiver 8011 is configured to perform S601, step S604, and step S605 in the embodiment shown in FIG. 6; the transceiver 8012 is configured to perform steps S501a-S505a in the embodiment shown in FIG. 5a, in the embodiment shown in FIG. 5b. Step S501b - step S505b; the transceiver 8013 is configured to perform step S506b and step S507b in the embodiment shown in Fig. 5b.
处理器802可以包括是一个或多个处理器,例如包括一个或多个中央处理器(central processing unit,CPU),在处理器802是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。处理器802用于执行图4所示实施例中的步骤S401,图5a所示实施例中的步骤S506a,图5b所示实施例中的步骤S508b。The processor 802 may include one or more processors, for example, including one or more central processing units (CPUs). In the case where the processor 802 is a CPU, the CPU may be a single core CPU, It can be a multi-core CPU. The processor 802 is configured to perform step S401 in the embodiment shown in FIG. 4, step S506a in the embodiment shown in FIG. 5a, and step S508b in the embodiment shown in FIG. 5b.
存储器803用于存储服务设备切换装置80的程序代码和数据。The memory 803 is used to store program codes and data of the service device switching device 80.
关于处理器802和收发器801所执行的步骤,具体可参见图4-图6所示实施例的描述,在此不再赘述。For details about the steps performed by the processor 802 and the transceiver 801, refer to the description of the embodiment shown in FIG. 4 to FIG. 6 , and details are not described herein again.
可以理解的是,图8仅仅示出了服务设备的简化设计。在实际应用中,服务设备还可以分别包含必要的其他元件,包含但不限于任意数量的收发器、处理器、控制器、存储器、通信单元等,而所有可以实现本申请的设备都在本申请的保护范围之内。It will be appreciated that Figure 8 only shows a simplified design of the service device. In practical applications, the service device may also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are in this application. Within the scope of protection.
请参见图9,是本申请实施例提供的核心网网关的逻辑结构示意图,该核心网网关可以是PGW。该核心网网关90可以包括第一收发模块901和第二收发模块902。FIG. 9 is a schematic diagram of a logical structure of a core network gateway according to an embodiment of the present application. The core network gateway may be a PGW. The core network gateway 90 can include a first transceiver module 901 and a second transceiver module 902.
第一收发模块901,用于从第一服务设备接收所述第一服务设备的寻址信息和待迁移用户设备的寻址信息,寻址信息包括设备标识和IP地址中的至少一种。The first transceiver module 901 is configured to receive, by the first serving device, addressing information of the first serving device and addressing information of the user device to be migrated, where the addressing information includes at least one of a device identifier and an IP address.
第二收发模块902,用于根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息,第一服务设备的寻址信息用于使待迁移用户设备向第一服务设备进行注册。The second transceiver module 902 is configured to send the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, where the addressing information of the first service device is used to be The migration user device registers with the first service device.
在一种实现方式中,第二收发模块902,还用于从所述待迁移用户设备接收注册信息。In an implementation manner, the second transceiver module 902 is further configured to receive registration information from the user equipment to be migrated.
第一收发模块901,还用于向所述第一服务设备发送所述注册信息,所述注册信息包括所述待迁移用户设备的设备标识。The first transceiver module 901 is further configured to send the registration information to the first service device, where the registration information includes a device identifier of the user equipment to be migrated.
第一收发模块901,还用于从所述第一服务设备接收注册确认信息。The first transceiver module 901 is further configured to receive registration confirmation information from the first serving device.
第二收发模块902,还用于向所述待迁移用户设备发送所述注册确认信息,所述注册确认信息用于指示所述待迁移用户设备与所述第一服务设备之间的连接建立成功。The second transceiver module 902 is further configured to send the registration confirmation information to the user equipment to be migrated, where the registration confirmation information is used to indicate that the connection between the user equipment to be migrated and the first service device is successfully established. .
在一种实现方式中,该核心网网关90还可以包括处理模块903。处理模块903,用于确定待迁移用户设备的设备模式,该设备模式为非连续接收模式,或扩展非连续接收模式,或省电模式。In an implementation, the core network gateway 90 may further include a processing module 903. The processing module 903 is configured to determine a device mode of the user equipment to be migrated, where the device mode is a discontinuous reception mode, or an extended discontinuous reception mode, or a power saving mode.
上述第一收发模块901用于执行图6所示实施例中的步骤S601、步骤S604和步骤S605;上述第二收发模902用于执行图6所示实施例中的步骤S602、步骤S603和步骤S606。可以 理解的是,上述第一收发模块901用于与备用服务设备通信,上述第二收发模块902用于与待迁移用户设备通信。The first transceiver module 901 is configured to perform step S601, step S604, and step S605 in the embodiment shown in FIG. 6; the second transceiver module 902 is configured to perform step S602, step S603, and step in the embodiment shown in FIG. S606. It can be understood that the first transceiver module 901 is configured to communicate with a backup service device, and the second transceiver module 902 is configured to communicate with a user device to be migrated.
请参见图10,是本申请实施例提供的核心网网关的实体结构简化示意图,该核心网网关可以是PGW。该核心网网关100包括收发器1001、处理器1002和存储器1003。收发器1001、处理器1002和存储器1003可以通过总线1004相互连接,也可以通过其它方式相连接。图9所示的第一收发模块901和第二收发模块902所实现的相关功能可以通过收发器1001来实现。图9所示的处理模块903所实现的相关功能可以通过一个或多个处理器1002来实现。FIG. 10 is a simplified schematic diagram of a physical structure of a core network gateway according to an embodiment of the present application. The core network gateway may be a PGW. The core network gateway 100 includes a transceiver 1001, a processor 1002, and a memory 1003. The transceiver 1001, the processor 1002, and the memory 1003 may be connected to one another via a bus 1004 or may be connected in other manners. The related functions implemented by the first transceiver module 901 and the second transceiver module 902 shown in FIG. 9 can be implemented by the transceiver 1001. Related functions implemented by the processing module 903 shown in FIG. 9 may be implemented by one or more processors 1002.
存储器1003包括但不限于是RAM、ROM、EPROM、CD-ROM,该存储器1003用于相关指令及数据。The memory 1003 includes, but is not limited to, a RAM, a ROM, an EPROM, a CD-ROM, and the memory 1003 is used for related instructions and data.
收发器1001用于发送数据和/或信令,以及接收数据和/或信令。应用在本申请实施例中,鉴于与不同设备通信,可将收发器1001分为与备用服务设备通信的收发器1001a和与待迁移用户设备通信的收发器1001b。收发器1001a用于执行图6所示实施例中的步骤S601、步骤S604和步骤S605;收发器1001b用于执行图6所示实施例中的步骤S602、步骤S603和步骤S606。The transceiver 1001 is configured to transmit data and/or signaling, as well as receive data and/or signaling. Application In the embodiment of the present application, in view of communicating with different devices, the transceiver 1001 can be divided into a transceiver 1001a that communicates with the backup service device and a transceiver 1001b that communicates with the user device to be migrated. The transceiver 1001a is configured to perform step S601, step S604, and step S605 in the embodiment shown in FIG. 6; the transceiver 1001b is configured to perform step S602, step S603, and step S606 in the embodiment shown in FIG. 6.
处理器1002可以包括是一个或多个处理器,例如包括一个或多个CPU,在处理器1002是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。应用在本申请实施例中,处理器1002用于确定待迁移用户设备的设备模式。The processor 1002 may include one or more processors, for example, including one or more CPUs. In the case where the processor 1002 is a CPU, the CPU may be a single core CPU or a multi-core CPU. In the embodiment of the present application, the processor 1002 is configured to determine a device mode of the user equipment to be migrated.
存储器1003用于存储核心网网关100的程序代码和数据。The memory 1003 is used to store program codes and data of the core network gateway 100.
可以理解的是,图10仅仅示出了核心网网关的简化设计。在实际应用中,核心网网关还可以分别包含必要的其他元件,包含但不限于任意数量的收发器、处理器、控制器、存储器、通信单元等,而所有可以实现本申请的设备都在本申请的保护范围之内。It will be appreciated that Figure 10 only shows a simplified design of the core network gateway. In practical applications, the core network gateway may also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are in this embodiment. Within the scope of protection of the application.
本申请实施例还提供了一种服务设备切换系统,包括第一服务设备、第二服务设备、核心网网关和待迁移用户设备。The embodiment of the present application further provides a service device switching system, including a first service device, a second service device, a core network gateway, and a user device to be migrated.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。因此,本申请又一实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。One of ordinary skill in the art can understand all or part of the process of implementing the above embodiments, which can be completed by a computer program to instruct related hardware, the program can be stored in a computer readable storage medium, when the program is executed The flow of the method embodiments as described above may be included. The foregoing storage medium includes various media that can store program codes, such as a ROM or a random access memory RAM, a magnetic disk, or an optical disk. Accordingly, yet another embodiment of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
本申请又一实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another embodiment of the present application also provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
本领域普通技术人员可以意识到,结合本申请中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以 通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be 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 the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one unit.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted by a computer readable storage medium. The computer instructions may be from a website site, computer, server or data center via a wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Another website site, computer, server, or data center for transmission. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.

Claims (30)

  1. 一种服务设备切换方法,其特征在于,包括:A service device switching method, comprising:
    在第二服务设备故障的情况下,第一服务设备根据用户设备迁移策略从与所述第二服务设备建立连接的用户设备中确定待迁移用户设备;In the case that the second service device is faulty, the first service device determines, according to the user equipment migration policy, the user equipment to be migrated from the user equipment that establishes a connection with the second service device;
    所述第一服务设备通知所述待迁移用户设备向所述第一服务设备进行注册。The first service device notifies the user equipment to be migrated to register with the first service device.
  2. 根据权利要求1所述的方法,其特征在于,所述第一服务设备通知所述待迁移用户设备向所述第一服务设备进行注册,包括:The method according to claim 1, wherein the notifying the user equipment to be migrated to the first service device by the first service device comprises:
    所述第一服务设备向核心网网关发送所述第一服务设备的寻址信息和所述待迁移用户设备的寻址信息,所述寻址信息包括设备标识和网络互连协议IP地址中的至少一种,所述待迁移用户设备的寻址信息用于使所述核心网网关向所述待迁移用户设备发送所述第一服务设备的寻址信息,所述第一服务设备的寻址信息用于使所述待迁移用户设备向所述第一服务设备进行注册。Transmitting, by the first serving device, addressing information of the first serving device and addressing information of the user equipment to be migrated to a core network gateway, where the addressing information includes a device identifier and a network interconnection protocol IP address At least one of the addressing information of the user equipment to be migrated is used to enable the core network gateway to send addressing information of the first serving device to the user equipment to be migrated, and the addressing of the first serving device The information is used to register the user equipment to be migrated with the first service device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一服务设备通知所述待迁移用户设备向所述第一服务设备进行注册之后,所述方法还包括,The method according to claim 1 or 2, wherein after the first serving device notifies the user equipment to be migrated to register with the first serving device, the method further includes
    所述第一服务设备从所述核心网网关接收注册信息,所述注册信息包括所述待迁移用户设备的设备标识;The first service device receives the registration information from the core network gateway, where the registration information includes the device identifier of the user equipment to be migrated;
    所述第一服务设备根据所述注册信息向所述核心网网关发送注册确认信息,所述注册确认信息用于指示所述待迁移用户设备与所述第一服务设备之间的连接建立成功。The first service device sends the registration confirmation information to the core network gateway according to the registration information, where the registration confirmation information is used to indicate that the connection between the user equipment to be migrated and the first service device is successfully established.
  4. 根据权利要求3所述的方法,其特征在于,在所述第一服务设备从所述核心网网关接收注册信息之前,所述方法还包括:The method according to claim 3, wherein before the first serving device receives the registration information from the core network gateway, the method further includes:
    所述第一服务设备向核心网网关发送授权校验码,所述授权检验码用于所述核心网网关对所述第一服务设备进行安全校验。The first service device sends an authorization check code to the core network gateway, where the authorization check code is used by the core network gateway to perform security check on the first service device.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,在所述第二服务设备故障之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein before the second service device fails, the method further comprises:
    所述第一服务设备从所述第二服务设备接收实时数据,所述实时数据包括与所述第二服务设备建立连接的用户设备的设备标识,所述实时数据用于所述第一服务设备与所述第二服务设备进行数据同步。Receiving, by the first service device, real-time data from the second service device, where the real-time data includes a device identifier of a user equipment that establishes a connection with the second service device, where the real-time data is used by the first service device Data synchronization with the second service device.
  6. 根据权利要求5所述的方法,其特征在于,所述实时数据还包括与所述第二服务设备建立连接的用户设备的属性信息,所述属性信息包括用户交互信息、规则信息、数据上报信息、所属区域信息、设备类型、活跃度信息中的至少一种;The method according to claim 5, wherein the real-time data further includes attribute information of the user equipment that establishes a connection with the second service device, where the attribute information includes user interaction information, rule information, and data report information. At least one of the area information, the device type, and the activity information;
    所述第一服务设备根据用户设备迁移策略从与所述第二服务设备建立连接的用户设备中确定待迁移用户设备,包括:Determining, by the first service device, the user equipment to be migrated from the user equipment that establishes a connection with the second service device according to the user equipment migration policy, including:
    所述第一服务设备根据与所述第二服务设备建立连接的用户设备的属性信息从与所述第二服务设备建立连接的用户设备中选择满足用户设备迁移策略的用户设备,并将满足用户设备迁移策略的用户设备确定为待迁移用户设备。The first service device selects a user equipment that satisfies the user equipment migration policy from the user equipment that establishes a connection with the second service device according to the attribute information of the user equipment that establishes the connection with the second service device, and satisfies the user. The user equipment of the device migration policy is determined as the user equipment to be migrated.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述第二服务设备故障之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein before the second service device fails, the method further comprises:
    所述第一服务设备周期性地向所述第二服务设备发送请求消息;The first serving device periodically sends a request message to the second serving device;
    若所述第一服务设备在预设时间段内未从所述第二服务设备接收到响应消息,则所述第一服务设备确定所述第二服务设备故障。If the first serving device does not receive a response message from the second serving device within a preset time period, the first serving device determines that the second serving device is faulty.
  8. 根据权利要求1-6任一项所述的方法,其特征在于,在所述第二服务设备故障之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein before the second service device fails, the method further comprises:
    所述第一服务设备周期性地向所述第二服务设备发送请求消息;The first serving device periodically sends a request message to the second serving device;
    若所述第一服务设备在预设时间段内未从所述第二服务设备接收到响应消息,则所述第一服务设备发送故障推测消息,并在接收到针对所述故障推测消息的确认指令的情况下,确定所述第二服务设备故障。If the first serving device does not receive a response message from the second serving device within a preset time period, the first serving device sends a fault estimation message, and receives an acknowledgement for the fault estimation message. In the case of an instruction, the second service device is determined to be faulty.
  9. 根据权利要求1-6任一项所述的方法,其特征在于,在所述第二服务设备故障之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein before the second service device fails, the method further comprises:
    所述第一服务设备从所述第二服务设备接收迁移策略,并将所述迁移策略确定为用户设备迁移策略。The first service device receives a migration policy from the second service device, and determines the migration policy as a user equipment migration policy.
  10. 根据权利要求9所述的方法,其特征在于,所述迁移策略包括交互式迁移策略、规则触发迁移策略、数据上报迁移策略、区域迁移策略、类型迁移策略和活跃度迁移策略中的至少一种。The method according to claim 9, wherein the migration policy comprises at least one of an interactive migration policy, a rule triggered migration policy, a data reporting migration policy, a regional migration policy, a type migration policy, and an activity migration policy. .
  11. 一种服务设备切换方法,其特征在于,包括:A service device switching method, comprising:
    核心网网关从第一服务设备接收所述第一服务设备的寻址信息和待迁移用户设备的寻址信息,所述寻址信息包括设备标识和IP地址中的至少一种;The core network gateway receives the addressing information of the first service device and the addressing information of the user equipment to be migrated from the first serving device, where the addressing information includes at least one of a device identifier and an IP address;
    所述核心网网关根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息,所述第一服务设备的寻址信息用于使所述待迁移用户设备向所述第一服务设备进行注册。Transmitting, by the core network gateway, addressing information of the first serving device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, where the addressing information of the first serving device is used to enable the The user equipment to be migrated registers with the first service device.
  12. 根据权利要求11所述的方法,其特征在于,在所述核心网网关根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息之后,所述方法还包括:The method according to claim 11, wherein after the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, The method further includes:
    所述核心网网关从所述待迁移用户设备接收注册信息,并向所述第一服务设备发送所述注册信息,所述注册信息包括所述待迁移用户设备的设备标识;The core network gateway receives the registration information from the user equipment to be migrated, and sends the registration information to the first service device, where the registration information includes the device identifier of the user equipment to be migrated;
    所述核心网网关从所述第一服务设备接收注册确认信息,并向所述待迁移用户设备发送所述注册确认信息,所述注册确认信息用于指示所述待迁移用户设备与所述第一服务设备之间的连接建立成功。The core network gateway receives the registration confirmation information from the first service device, and sends the registration confirmation information to the user equipment to be migrated, where the registration confirmation information is used to indicate the user equipment to be migrated and the first The connection between a service device is established successfully.
  13. 根据权利要求11或12所述的方法,其特征在于,在所述核心网网关根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息之前,所述方法还包括:The method according to claim 11 or 12, wherein the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. Previously, the method further includes:
    所述核心网网关确定待迁移用户设备的设备模式,所述设备模式为非连续接收模式,或扩展非连续接收模式,或省电模式;Determining, by the core network gateway, a device mode of the user equipment to be migrated, where the device mode is a discontinuous reception mode, or an extended discontinuous reception mode, or a power saving mode;
    所述核心网网关根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息,包括:And the sending, by the core network gateway, the addressing information of the first serving device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, including:
    若所述设备模式为所述非连续接收模式,则所述核心网网关根据所述待迁移用户设备的寻址信息立即向所述待迁移用户设备发送所述第一服务设备的寻址信息;If the device mode is the discontinuous reception mode, the core network gateway immediately sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated;
    若所述设备模式为所述扩展非连续接收模式,则所述核心网网关缓存所述第一服务 设备的IP地址,并在下一个寻呼时间窗口根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息;If the device mode is the extended discontinuous reception mode, the core network gateway buffers an IP address of the first service device, and according to the addressing information of the user equipment to be migrated in a next paging time window Transmitting, by the user equipment to be migrated, addressing information of the first service device;
    若所述设备模式为所述省电模式,则所述核心网网关在接收到所述待迁移用户设备上报的数据的情况下,根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息。If the device mode is the power saving mode, the core network gateway, according to the data reported by the user equipment to be migrated, is to be migrated according to the addressing information of the user equipment to be migrated. The user equipment sends the addressing information of the first service device.
  14. 根据权利要求11-13任一项所述的方法,其特征在于,在所述核心网网关根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息之前,所述方法还包括:The method according to any one of claims 11 to 13, wherein the core network gateway sends the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. Before addressing the information, the method further includes:
    所述核心网网关从第一服务设备接收授权检验码;Receiving, by the core network gateway, an authorization check code from the first service device;
    所述核心网网关根据所述授权检验码对所述第一服务设备进行安全校验;The core network gateway performs security check on the first service device according to the authorization check code;
    若所述第一服务设备安全校验通过,则所述核心网网关执行根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息。And if the first service device security check is passed, the core network gateway sends the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated.
  15. 一种服务设备切换装置,其特征在于,包括处理模块和第一收发模块;A service device switching device, comprising: a processing module and a first transceiver module;
    所述处理模块,用于在第二服务设备故障的情况下,根据用户设备迁移策略从与所述第二服务设备建立连接的用户设备中确定待迁移用户设备;The processing module is configured to determine, according to the user equipment migration policy, the user equipment to be migrated from the user equipment that establishes a connection with the second service device according to the user equipment migration policy;
    所述第一收发模块,用于通知所述待迁移用户设备向所述第一服务设备进行注册。The first transceiver module is configured to notify the user equipment to be migrated to register with the first service device.
  16. 根据权利要求15所述的装置,其特征在于,The device of claim 15 wherein:
    所述第一收发模块用于通知所述待迁移用户设备向所述第一服务设备进行注册时,具体用于向核心网网关发送所述第一服务设备的寻址信息和所述待迁移用户设备寻址信息,所述寻址信息包括设备标识和IP地址中的至少一种;所述待迁移用户设备的寻址信息用于使所述核心网网关向所述待迁移用户设备发送所述第一服务设备的寻址信息,所述第一服务设备的寻址信息用于使所述待迁移用户设备向所述第一服务设备进行注册。When the first transceiver module is configured to notify the user equipment to be migrated to register with the first service device, specifically, the method is used to send the addressing information of the first service device and the user to be migrated to a core network gateway. Device addressing information, the addressing information includes at least one of a device identifier and an IP address, and the addressing information of the user equipment to be migrated is used to send the core network gateway to the user equipment to be migrated. Addressing information of the first service device, the addressing information of the first service device is used to register the user equipment to be migrated with the first service device.
  17. 根据权利要求15或16所述的装置,其特征在于,所述第一收发模块用于通知所述待迁移用户设备向所述第一服务设备进行注册之后,还用于从所述核心网网关接收注册信息,所述注册信息包括所述待迁移用户设备的设备标识;通过所述第一收发模块根据所述注册信息向所述核心网网关发送注册确认信息,所述注册确认信息用于指示所述待迁移用户设备与所述第一服务设备之间的连接建立成功。The device according to claim 15 or 16, wherein the first transceiver module is configured to notify the user equipment to be migrated to register with the first service device, and further to use the core network gateway Receiving registration information, the registration information includes a device identifier of the user equipment to be migrated; sending, by the first transceiver module, registration confirmation information to the core network gateway according to the registration information, where the registration confirmation information is used to indicate The connection between the user equipment to be migrated and the first service device is successfully established.
  18. 根据权利要求17所述的装置,其特征在于,所述第一收发模块用于从所述核心网网关接收注册信息之前,还用于通过所述第一收发模块向核心网网关发送授权校验码,所述授权检验码用于所述核心网网关对所述第一服务设备进行安全校验。The device according to claim 17, wherein the first transceiver module is configured to send an authorization check to the core network gateway by using the first transceiver module before receiving the registration information from the core network gateway. And the authorization check code is used by the core network gateway to perform security check on the first service device.
  19. 根据权利要求15-18任一项所述的装置,其特征在于,所述装置还包括第二收发模块,The device according to any one of claims 15 to 18, wherein the device further comprises a second transceiver module,
    所述第二收发模块用于在所述第二服务设备故障之前,从所述第二服务设备接收实时数据,所述实时数据包括与所述第二服务设备建立连接的用户设备的设备标识,所述实时数据用于所述第一服务设备与所述第二服务设备进行数据同步。The second transceiver module is configured to receive real-time data from the second service device before the second service device fails, where the real-time data includes a device identifier of a user device that establishes a connection with the second service device, The real-time data is used for data synchronization between the first service device and the second service device.
  20. 根据权利要求19所述的装置,其特征在于,所述实时数据还包括与所述第二服务设备建立连接的用户设备的属性信息,所述属性信息包括用户交互信息、规则信息、数据上报信息、所属区域信息、设备类型、活跃度信息中的至少一种;The device according to claim 19, wherein the real-time data further includes attribute information of a user equipment that establishes a connection with the second service device, where the attribute information includes user interaction information, rule information, and data report information. At least one of the area information, the device type, and the activity information;
    所述处理模块用于根据用户设备迁移策略从与所述第二服务设备建立连接的用户设备中确定待迁移用户设备时,具体用于根据与所述第二服务设备建立连接的用户设备的属性信息从与所述第二服务设备建立连接的用户设备中选择满足用户设备迁移策略的用户设备,并将满足用户设备迁移策略的用户设备确定为待迁移用户设备。The processing module is configured to determine, according to a user equipment migration policy, a user equipment that is to be migrated from a user equipment that establishes a connection with the second service device, specifically, according to an attribute of the user equipment that establishes a connection with the second service device. The user equipment that meets the user equipment migration policy is selected from the user equipment that is connected to the second service device, and the user equipment that meets the user equipment migration policy is determined as the user equipment to be migrated.
  21. 根据权利要求15-20任一项所述的装置,其特征在于,所述第二收发模块还用于周期性地向所述第二服务设备发送请求消息;The device according to any one of claims 15 to 20, wherein the second transceiver module is further configured to periodically send a request message to the second serving device;
    若所述第一服务设备在预设时间段内未从所述第二服务设备接收到响应消息,则所述处理模块还用于确定所述第二服务设备故障。And if the first serving device does not receive the response message from the second serving device within the preset time period, the processing module is further configured to determine that the second service device is faulty.
  22. 根据权利要求15-20任一项所述的装置,其特征在于,所述装置还包括第三收发模块,The device according to any one of claims 15 to 20, wherein the device further comprises a third transceiver module,
    所述第二收发模块还用于周期性地向所述第二服务设备发送请求消息;The second transceiver module is further configured to periodically send a request message to the second serving device;
    若所述第一服务设备在预设时间段内未从所述第二服务设备接收到响应消息,则所述第三收发模块用于发送故障推测消息,并在所述第三收发模块接收到针对所述故障推测消息的确认指令的情况下,所述处理模块还用于确定所述第二服务设备故障。If the first serving device does not receive the response message from the second serving device within the preset time period, the third transceiver module is configured to send a fault estimation message, and receive the fault in the third transceiver module. The processing module is further configured to determine that the second service device is faulty, in the case of a confirmation instruction for the fault estimation message.
  23. 根据权利要求15-20任一项所述的装置,其特征在于,所述处理模块用于根据用户设备迁移策略从与所述第二服务设备建立连接的用户设备中确定待迁移用户设备之前,所述第二收发模块还用于从所述第二服务设备接收迁移策略,所述处理模块还用于将所述迁移策略确定为用户设备迁移策略。The device according to any one of claims 15 to 20, wherein the processing module is configured to determine, before the user equipment to be migrated, from the user equipment that establishes a connection with the second service device according to the user equipment migration policy, The second transceiver module is further configured to receive a migration policy from the second service device, where the processing module is further configured to determine the migration policy as a user equipment migration policy.
  24. 根据权利要求23所述的装置,其特征在于,所述迁移策略包括交互式迁移策略、规则触发迁移策略、数据上报迁移策略、区域迁移策略、类型迁移策略和活跃度迁移策略中的至少一种。The apparatus according to claim 23, wherein the migration policy comprises at least one of an interactive migration policy, a rule triggered migration policy, a data report migration policy, a regional migration policy, a type migration policy, and an activity migration policy. .
  25. 一种第一服务设备,其特征在于,包括处理器、收发器和存储器,其中,所述收发器用于接收和发送信息,所述存储器中存储计算机执行指令,所述处理器通过总线与所述存储器和所述收发器连接,所述处理器执行所述存储器中存储的计算机执行指令,以使所述第一服务设备执行如权利要求1-10任一项所述的方法。A first service device, comprising: a processor, a transceiver, and a memory, wherein the transceiver is configured to receive and transmit information, the memory stores computer execution instructions, and the processor communicates with the A memory is coupled to the transceiver, the processor executing computer executed instructions stored in the memory to cause the first service device to perform the method of any of claims 1-10.
  26. 一种服务设备切换装置,其特征在于,包括第一收发模块和第二收发模块;A service device switching device, comprising: a first transceiver module and a second transceiver module;
    所述第一收发模块,用于从第一服务设备接收所述第一服务设备的寻址信息和待迁移用户设备的寻址信息,所述寻址信息包括设备标识和IP地址中的至少一种;The first transceiver module is configured to receive, by the first serving device, addressing information of the first serving device and addressing information of the user device to be migrated, where the addressing information includes at least one of a device identifier and an IP address. Species
    所述第二收发模块,用于根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息,所述第一服务设备的寻址信息用于使所述待迁移用户设备向所述第一服务设备进行注册。The second transceiver module is configured to send the addressing information of the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated, where the addressing information of the first service device is used. The user equipment to be migrated is registered with the first service device.
  27. 根据权利要求26所述的装置,其特征在于,所述装置还包括处理模块,The device of claim 26, wherein said device further comprises a processing module,
    所述处理模块,用于确定待迁移用户设备的设备模式,所述设备模式为非连续接收模式,或扩展非连续接收模式,或省电模式;The processing module is configured to determine a device mode of the user equipment to be migrated, where the device mode is a discontinuous reception mode, or an extended discontinuous reception mode, or a power saving mode;
    若所述设备模式为所述非连续接收模式,则所述第二收发模块具体用于根据所述待迁移用户设备的寻址信息立即向所述待迁移用户设备发送所述第一服务设备的寻址信息;If the device mode is the discontinuous reception mode, the second transceiver module is configured to send the first service device to the user equipment to be migrated according to the addressing information of the user equipment to be migrated. Addressing information;
    若所述设备模式为所述扩展非连续接收模式,则所述处理模块用于缓存所述第一服务设备的寻址信息,所述第二收发模块具体用于在下一个寻呼时间窗口根据所述待迁移 用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息;If the device mode is the extended discontinuous reception mode, the processing module is configured to buffer addressing information of the first serving device, and the second transceiver module is specifically configured to use the next paging time window according to the Transmitting the addressing information of the first user equipment to the user equipment to be migrated;
    若所述设备模式为所述省电模式,则所述第二收发模块具体用于在接收到所述待迁移用户设备上报的数据的情况下,根据所述待迁移用户设备的寻址信息向所述待迁移用户设备发送所述第一服务设备的寻址信息。If the device mode is the power saving mode, the second transceiver module is specifically configured to: according to the information that is reported by the user equipment to be migrated, according to the addressing information of the user equipment to be migrated The user equipment to be migrated sends the addressing information of the first service device.
  28. 一种核心网网关,其特征在于,包括模块、收发器和存储器,其中,所述收发器用于接收和发送信息,所述存储器中存储计算机执行指令,所述处理器通过总线与所述存储器和所述收发器连接,所述处理器执行所述存储器中存储的计算机执行指令,以使所述核心网网关执行如权利要求11-14任一项所述的方法。A core network gateway, comprising: a module, a transceiver, and a memory, wherein the transceiver is configured to receive and transmit information, the memory stores computer execution instructions, and the processor communicates with the memory through a bus and The transceiver is coupled, the processor executing computer executed instructions stored in the memory to cause the core network gateway to perform the method of any of claims 11-14.
  29. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被模块执行时使所述模块执行如权利要求1-10任一项所述的方法。A computer readable storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions that, when executed by a module, cause the module to perform as claimed in claims 1-10 The method of any of the preceding claims.
  30. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被模块执行时使所述模块执行如权利要求11-14任一项所述的方法。A computer readable storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions that, when executed by a module, cause the module to perform as claimed in claims 11-14 The method of any of the preceding claims.
PCT/CN2019/070320 2018-01-31 2019-01-04 Service equipment switching method, and device for same WO2019149029A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810101111.XA CN110099430B (en) 2018-01-31 2018-01-31 Service equipment switching method and device
CN201810101111.X 2018-01-31

Publications (1)

Publication Number Publication Date
WO2019149029A1 true WO2019149029A1 (en) 2019-08-08

Family

ID=67443482

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/070320 WO2019149029A1 (en) 2018-01-31 2019-01-04 Service equipment switching method, and device for same

Country Status (2)

Country Link
CN (1) CN110099430B (en)
WO (1) WO2019149029A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112996143A (en) * 2019-12-17 2021-06-18 中国移动通信集团河南有限公司 Processing method and device for recovering network connection and network side equipment
CN115695158A (en) * 2022-12-30 2023-02-03 北京迪为双兴通讯技术有限公司 5G core network hot standby method and device, 5G core network system and computer equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399527A (en) 2019-08-13 2021-02-23 苹果公司 Notification support in extended discontinuous reception mode
CN111193637B (en) * 2019-12-09 2022-04-29 京信网络系统股份有限公司 Core network switching method, device, communication system, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103703832A (en) * 2013-05-31 2014-04-02 华为技术有限公司 User equipment management method, apparatus and system
WO2014202795A2 (en) * 2013-06-21 2014-12-24 Lexmark International Technology S.A. System and methods of managing content in one or more repositories
CN104468150A (en) * 2013-09-12 2015-03-25 阿里巴巴集团控股有限公司 Method for realizing fault migration through virtual host and virtual host service device
CN104798342A (en) * 2014-11-17 2015-07-22 华为技术有限公司 Service migration method of data center, device and system thereof
CN106209473A (en) * 2016-07-25 2016-12-07 中国联合网络通信集团有限公司 The method and system that a kind of disaster tolerance is refunded

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388814C (en) * 2005-03-01 2008-05-14 中兴通讯股份有限公司 Mobile soft switching server disaster recovery method
CN106470441B (en) * 2015-08-20 2019-11-29 中国电信股份有限公司 A kind of disaster-tolerant recovery method and system
CN106921503B (en) * 2015-12-24 2020-02-21 华为技术有限公司 Data synchronization method, device and system
CN107404394B (en) * 2016-05-20 2022-04-12 中兴通讯股份有限公司 IPTV system disaster tolerance method and IPTV disaster tolerance system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103703832A (en) * 2013-05-31 2014-04-02 华为技术有限公司 User equipment management method, apparatus and system
WO2014202795A2 (en) * 2013-06-21 2014-12-24 Lexmark International Technology S.A. System and methods of managing content in one or more repositories
CN104468150A (en) * 2013-09-12 2015-03-25 阿里巴巴集团控股有限公司 Method for realizing fault migration through virtual host and virtual host service device
CN104798342A (en) * 2014-11-17 2015-07-22 华为技术有限公司 Service migration method of data center, device and system thereof
CN106209473A (en) * 2016-07-25 2016-12-07 中国联合网络通信集团有限公司 The method and system that a kind of disaster tolerance is refunded

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112996143A (en) * 2019-12-17 2021-06-18 中国移动通信集团河南有限公司 Processing method and device for recovering network connection and network side equipment
CN112996143B (en) * 2019-12-17 2023-07-21 中国移动通信集团河南有限公司 Processing method and device for recovering network connection and network side equipment
CN115695158A (en) * 2022-12-30 2023-02-03 北京迪为双兴通讯技术有限公司 5G core network hot standby method and device, 5G core network system and computer equipment

Also Published As

Publication number Publication date
CN110099430A (en) 2019-08-06
CN110099430B (en) 2021-12-31

Similar Documents

Publication Publication Date Title
WO2019149029A1 (en) Service equipment switching method, and device for same
US11463978B2 (en) Network data analytics function, access and mobility function, and control method for UE analytics assistance for network automation and optimisation
KR102216428B1 (en) Keeping UE in awakening state
US10986579B2 (en) Efficient MICO mode management method utilizing network analysis information in 5G mobile network system
US9369378B2 (en) Enabling IP-communication with a machine to machine unit
US20220116811A1 (en) Network performance reporting method and apparatus
US20150117285A1 (en) Terminal power-saving method and terminal power-saving device, and network-side power-saving device
CN109996318B (en) Narrow-band Internet of things terminal power consumption control method, device, system and medium
US10312957B2 (en) Communication method and apparatus for wearable device in wireless communication system
US20230345532A1 (en) Communication system
WO2011150707A1 (en) Method and system for managing terminal states or terminal events in machine-to-machine or machine-to-man or man-to-machine (m2m) service
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
WO2012159283A1 (en) Method, device, user equipment and system for repeated access detection and restriction
JP7226641B2 (en) Method and base station
CN102137415A (en) RLF (radio link failure) data transmitting method and device
WO2013143228A1 (en) Method and system for reducing heartbeat messages
US10492144B2 (en) Communication system comprising management entity with callback functionality
US20180027404A1 (en) Mtc device ping messages via tracking area updates
CN109892004A (en) Communication control method, wireless energy control units, user terminal and core network controller
JP2011078131A (en) Security system and security method
JPWO2018061920A1 (en) Communication control method and communication system
CN109982299B (en) Data transmission method and device
KR100782342B1 (en) Appaturus and method for broadcast message filtering
JP2014209676A (en) Communication device, communication method, and radio communication system
JP2014057259A (en) Mobile communication system and mobile communication method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19746944

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19746944

Country of ref document: EP

Kind code of ref document: A1