Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and a device for determining the online time length of a user

A user and duration technology, applied in the field of communications, can solve the problems of inability to synchronize system time and inaccurate calculation of user online duration.

Active Publication Date: 2019-05-03
NEW H3C TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, based on the prior art, an NTP server needs to be set in the network to ensure that the system time of the active device and the backup device are the same. If the NTP server fails, the system time in the active device and the backup device may not be synchronized. Like this, After the master-standby switchover, the backup device calculates the online duration of the user based on the online time sent by the master device and the local system time, which will lead to inaccurate calculation of the user's online duration

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and a device for determining the online time length of a user
  • A method and a device for determining the online time length of a user
  • A method and a device for determining the online time length of a user

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments of the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the embodiments of the present application.

[0085] The embodiment of the present application provides a method for determining the online duration of a user, and the method can be applied to devices in a multi-device backup group. A multi-device backup group usually includes two or more devices. Take the example of a multi-device backup group containing two devices, one of which can be used as the active device, and the other can be used as the backup device. All devices in a multi-device backup...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method for determining the online time length of a user, and relates to the technical field of communication. The method is applied to a first device in a multi-machine backup group, the multi-machine backup group further comprises a second device, the method comprises: sending a first announcement message to the second device, wherein the first announcement message carries the current first operation duration of the first device; Receiving a first response message sent by the second device, wherein the first response message carries a second operation duration of the second device when the second device sends the first response message; And according to the first operation time length, the second operation time length and a third operation time length when the first device receives the first response message, determining an operation time length difference value between the first device and the second device, the operation time length difference value being used for calculating an online time length of a first user who is online in the second device. By adopting the method and the device, the accuracy of calculating the online duration ofthe user can be improved.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a method and device for determining the online duration of a user. Background technique [0002] At present, the application of the multi-machine backup function based on the Virtual Service Redundancy Protocol (Virtual Service Redundancy Protocol, VSRP) is more and more extensive. A multi-machine backup group that applies the multi-machine backup function usually includes two devices, that is, the active device and the backup device. The active device can provide support for the business, forward business traffic, and send backup information to the backup device; the backup device can receive the backup information sent by the active device, and after the active device fails, it can be converted into the active device to continue Forward service traffic so that services will not be interrupted. [0003] Among them, user charging is one of the common servic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08G06F11/30
Inventor 于海波
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products