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

Method and device for saving internal memory

An implementation method and memory technology, applied in the direction of electrical components, transmission systems, near-field transmission systems, etc., can solve problems affecting equipment performance, achieve the effects of saving memory, increasing memory consumption, and ensuring performance and compatibility

Active Publication Date: 2015-05-20
ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
View PDF12 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem in the prior art that improving the memory optimization effect will affect the performance of the device, the present invention provides a method and device for saving memory

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 saving internal memory
  • Method and device for saving internal memory
  • Method and device for saving internal memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Embodiment 1 of the present invention provides a memory-saving implementation method, which is specifically implemented by reorganizing the shared memory, that is, reorganizing and sharing a buffer. The method of this embodiment is as follows figure 1 shown, including:

[0048] Step S0: When a fragment is received, judge whether the received fragment is a complete data packet, if yes, end, otherwise execute step S1;

[0049] In this embodiment, if it is judged that the received fragmentation is a complete data packet, then no reassembly is required; if it is judged that the received fragmentation is not a complete data packet, a reassembly request will be initiated to the server when the fragmentation is received, Apply to use the reorganization buffer to realize the recombination sharing process.

[0050] Step S1: Determine whether there is a fragment of the same type as the received fragment stored in the reassembly buffer, if yes, execute step S3, otherwise execute ...

Embodiment 2

[0081] Embodiment 2 of the present invention provides an implementation device for saving memory, such as Figure 5 shown, including:

[0082] A receiving module 501, configured to receive fragments;

[0083] The first judging module 502 is used to judge whether the fragmentation received is a complete data packet, if so, end, otherwise trigger the second judging module 503;

[0084] The second judging module 503 is used to judge whether there is a fragment of the same type as the received fragment stored in the reassembly buffer, if so, trigger the combination module 505, otherwise trigger the storage module 504;

[0085] A storage module 504, configured to store the received fragments in the reassembly buffer;

[0086] Specifically, in this embodiment, the storage module 504 stores the received fragments at the end of the reassembly buffer by calling the Lock function, and the number of bytes occupied by the reassembly buffer increases;

[0087] A combining module 505, co...

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 device for saving internal memory and relates to the technical field of Bluetooth. The method includes: when a fragment is received, judging whether a fragment of the same type of the received fragment is stored in a reassembly buffer area or not, if so, combining the received fragment with the fragment stored in the reassembly buffer area, judging whether the combination is a complete packet or not, and if so, transmitting the combined packet to an upper layer; if not, continuing to receive the fragments, to be more specific, storing the received fragment into the reassembly buffer area and continuing to receive the fragments. By the method, all reassembling is achieved in one buffer area, the internal memory is saved, internal memory consumption of other cooperation software cannot be increased, and original quality standards such as performance and compatibility of products can be guaranteed.

Description

technical field [0001] The invention relates to the technical field of bluetooth, in particular to a method and device for realizing memory saving. Background technique [0002] Bluetooth technology has a history of more than ten years and is widely used in mobile phones, wireless headsets and other fields. In recent years, due to the release of Bluetooth protocol 4.0, the low-power specification has promoted Bluetooth technology to a wider range of low-cost applications, such as instrument monitoring. Reducing the memory of the Bluetooth protocol stack not only reduces the hardware cost of the device, but also reduces the power consumption of the device and prolongs the use time of the device, which is of great significance for Bluetooth low-power devices. In the prior art, the implementation method of reducing the memory of the Bluetooth protocol stack is generally to modify the original protocol stack, such as through reorganization technology, that is, in each layer of ...

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/06H04B5/00
Inventor 李晓辉胡胜发
Owner ANYKA (GUANGZHOU) MICROELECTRONICS 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