Supercharge Your Innovation With Domain-Expert AI Agents!

A log playback method and device

A technology of log and location information, applied in the field of communication, can solve the problems of increased playback delay and the system cannot work normally, and achieve the effect of shortening playback delay

Pending Publication Date: 2019-05-31
CHENGDU HUAWEI TECH
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the current technology, when the data and metadata in the log are delivered at the same time to ensure the write performance, the playback data is read from the storage medium one by one during playback, which will cause the playback delay to increase as the length of the data segment increases. If the playback time is too long, the system will not work normally for a long time

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 log playback method and device
  • A log playback method and device
  • A log playback method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical solution in this application will be described below with reference to the accompanying drawings.

[0035] This embodiment of the present application is applicable to all non-volatile memory log playback scenarios, including but not limited to storage systems, terminal devices, and the like.

[0036] The terminal equipment in the embodiment of the present application may refer to user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device. The terminal device can also be a cellular phone, a cordless phone, a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), a wireless communication function Handheld devices, computing devices or other processing...

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 invention provides a log playback method and device, and the method comprises the steps: determining a to-be-played-back first data segment which comprises N logs, each log in the N logs comprisesmetadata and data, the metadata of each log in the N logs and the position of the data on the first data segment are adjacent, and N is a positive integer; Determining a metadata set, wherein the metadata set comprises metadata of each log in the N logs; And according to the metadata set, playing back the metadata of each log in the N logs. According to the method provided by the embodiment of the invention, under the condition that the log writing is not influenced, the metadata set is determined, so that the log playback time delay is shortened.

Description

technical field [0001] The present application relates to the communication field, and more specifically, relates to a method and device for replaying logs. Background technique [0002] When the server where the data is located suddenly loses power, suddenly restarts, or directly shuts down the database, the session accessing the database will be suddenly terminated (shutdown abort), so that the data cannot be recovered normally after the server restarts or the media fails. At this time, the log will be sent When it comes in handy, by using log playback, the data can be restored to the moment when the server failed, thereby ensuring data consistency. The playback time determines when the system starts working normally. [0003] In the current technology, when the data and metadata in the log are delivered at the same time to ensure the write performance, the playback data is read from the storage medium one by one during playback, which will cause the playback delay to inc...

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
IPC IPC(8): G06F11/14
CPCY02D10/00
Inventor 王万振叶小杰韩明瑞
Owner CHENGDU HUAWEI TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More