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

Method and device for reading and writing PCM data in PCM cache

A caching and data technology, applied in the audio field, can solve problems such as PCM data conflicts

Inactive Publication Date: 2015-07-22
TVM BEIJING EDUCATION SCI & TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a method and device for reading and writing PCM data in a PCM cache, which is used to solve the problem of conflicting PCM data in the read and write PCM cache

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
  • Method and device for reading and writing PCM data in PCM cache
  • Method and device for reading and writing PCM data in PCM cache
  • Method and device for reading and writing PCM data in PCM cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0047] figure 1 It is a flow chart of a method for writing PCM data to a PCM cache in an embodiment of the present invention. Such as figure 1 As shown, the following steps S101-S103 are included:

[0048] Step S101: Determine whether there is a read operation in the current PCM cache, if yes, execute S102, otherwise execute S103;

[0049] Step S102: After waiting for the first preset time, execute S101;

[0050] Step S103: Write PCM data into the PCM cache.

[0051] In the technical solution provided by the embodiment of the present invention, after judging whether there is a read operation in the current PCM cache, if there is no read operation, the PCM data i...

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 discloses a method and a device for reading and writing PCM data in a PCM cache and aims to solve the problem of read-write conflicts. The method includes a method for writing the PCM data into the PCM cache and a method for reading the PCM data in the PCM cache. The method for writing the PCM data into the PCM cache includes: judging whether the current PCM cache has a read operation or not, and if not, writing the PCM data into the PCM cache; if so, waiting a certain time, and judging whether the current PCM cache has a read operation or not again. The method for reading the PCM data in the PCM cache includes: judging whether the current PCM cache has a write operation or not, and if not reading the PCM data stored in the PCM cache; if so, waiting a certain time, and judging whether the current PCM cache has a write operation or not again. By the method, the problem of read-write conflicts of the data in the PCM cache is solved effectively.

Description

technical field [0001] The invention relates to the field of audio technology, in particular to a method and device for reading and writing PCM data in a PCM cache. Background technique [0002] After the development of Internet technology in recent years. The Internet has penetrated into people's daily life. Due to the convenience, speed and low cost of distance teaching, it is more and more popular among teachers and students. Through the Internet, students can easily obtain teaching materials for learning. In order to improve the interactivity of distance teaching, teachers and students often use video and voice to communicate on the Internet, that is, record audio and video in real time, and then send them to each other through the Internet to complete online communication. However, at present, when recording Pulse Code Modulation (PCM) audio data and sending it to the other party, due to the difference between the network transmission rate and the rate at which the ot...

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): G11B20/10
CPCG11B20/10527
Inventor 张金良
Owner TVM BEIJING EDUCATION SCI & 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