CN103888492A - Memory management system and method - Google Patents

Memory management system and method Download PDF

Info

Publication number
CN103888492A
CN103888492A CN201210558377.XA CN201210558377A CN103888492A CN 103888492 A CN103888492 A CN 103888492A CN 201210558377 A CN201210558377 A CN 201210558377A CN 103888492 A CN103888492 A CN 103888492A
Authority
CN
China
Prior art keywords
memory
capacity
address space
cloud
cloud server
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201210558377.XA
Other languages
Chinese (zh)
Inventor
刘海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201210558377.XA priority Critical patent/CN103888492A/en
Priority to TW101149855A priority patent/TW201428507A/en
Publication of CN103888492A publication Critical patent/CN103888492A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention provides a memory management system applied to a cloud server. The memory management system comprises a first receiving module used for receiving a request of a cloud client for requesting the cloud server to designate a physical memory space of the first capacity, a memory distribution module used for designating a fixed address space in the physical memory of the cloud server for the client end for satisfying the first capacity, a second receiving module used for receiving a request of the cloud client for requesting the cloud server to distribute the memory of the second capacity when the cloud client operates an application program, and an address conversion module used for distributing the virtual memory of the second capacity for the application program of the cloud client and converting the address space of the virtual memory into the fixed address space of the physical memory. The invention further provides a memory management method.

Description

Internal storage management system and method
Technical field
The present invention relates to a kind of system that cloud service is provided, especially about a kind of system and method for the internal memory of managing Cloud Server.
Background technology
Along with the development of high in the clouds technology, increasing network service all shifts to high in the clouds service.Concerning client, cloud service can be divided into three kinds: publicly-owned cloud, privately owned cloud and mixed cloud.Wherein privately owned Cloud Server can allow little client jointly to rent same Cloud Server, and different cloud clients are shared the service that privately owned Cloud Server provides, for example physical memory.In the time that the privately owned Cloud Server storage allocation of different cloud client-requested runs application, privately owned Cloud Server provides the virtual memory address space of respective volume for each cloud client, and these virtual memory spatial mappings are to the address space to physical memory.But this mapping relations are dynamic, the same address space that the application program of different cloud clients may cross-reference physical memory, not only may cause the application program speed of service slow, also may bury data security hidden danger.
Summary of the invention
In view of above content, be necessary to provide a kind of internal storage management system and method, it can be the physical memory in the client distribution fixed address space of privately owned cloud, avoid the physical memory of different clients application program access same address space, improve the speed of service and the Information Security of client application.
A kind of internal storage management system, is applied to Cloud Server.This system comprises: the first receiver module, specify the request in the first capacity physical memory space for receiving cloud client-requested Cloud Server; Memory allocating module, at the physical memory of Cloud Server being the fixed address space that this cloud client is specified satisfied the first capacity; The second receiver module, asks Cloud Server to distribute the request of the second capacity internal memory for receiving when this cloud client runs application; And address conversion module, be used to the virtual memory of the second capacity described in the application assigned of this cloud client, and the address space of virtual memory be converted to the described fixed address space of this physical memory.
A kind of EMS memory management process, the method comprises: (A) reception cloud client-requested Cloud Server is specified the request in the first capacity physical memory space; (B) in the physical memory of Cloud Server, be that this cloud client is specified the fixed address space that meets the first capacity; (C) receive when this cloud client runs application and ask Cloud Server to distribute the request of the second capacity internal memory; And (D) be the virtual memory of the second capacity described in the application assigned of this cloud client, the address space of virtual memory is converted to the described fixed address space of this physical memory.
Compared to prior art, internal storage management system provided by the invention and method, can distribute for cloud client the physical memory in fixed address space, avoid different clients application program to access the same address space in the physical memory of Cloud Server, improve the speed of service and the Information Security of client application.
Accompanying drawing explanation
Fig. 1 is the applied environment figure of internal storage management system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of internal storage management system preferred embodiment of the present invention.
Fig. 3 is the flow chart of EMS memory management process preferred embodiment of the present invention.
Main element symbol description
Privately owned Cloud Server 1
Network 2
Cloud client 3
Internal storage management system 10
The first receiver module 11
Memory allocating module 12
The second receiver module 13
Address conversion module 14
Physical memory 20
Memory 30
Processor 40
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Consulting shown in Fig. 1, is the applied environment figure of internal storage management system 10 preferred embodiments of the present invention.This internal storage management system 10 is applied to privately owned Cloud Server 1, and multiple cloud clients 3 are connected to this privately owned Cloud Server 1 by network 2, shares the service that privately owned Cloud Server provides.This internal storage management system 10 distributes fixed address space in physical memory 20 for each cloud client 3, avoids the same address space in the application program access physical memory 20 of different cloud clients 3.
Consulting shown in Fig. 2, is the functional block diagram of internal storage management system 10 preferred embodiments of the present invention.These internal storage management system 10 first receiver modules 11, memory allocating module 12, the second receiver module 13 and address conversion module 14.Module 11-14 comprises computer programing instruction, these computer programing instructions are stored in the default address space of the memory 30 of privately owned Cloud Server 1, the processor 40 of privately owned Cloud Server 1 is carried out these computer programing instructions, and the above-mentioned functions of internal storage management system 10 is provided.Below in conjunction with the concrete function of Fig. 3 specification module 11-14.
Consulting shown in Fig. 3, is the flow chart of EMS memory management process preferred embodiment of the present invention.
Step S10, the first receiver module 11 receives cloud client 3 asks privately owned Cloud Server 1 to specify the request in the first capacity physical memory space.For example, the first receiver module 11 receives First cloud client 3 asks privately owned Cloud Server 1 to specify the request in 500MB physical memory space, receives second cloud client 3 and asks privately owned Cloud Server 1 to specify the request in 400MB physical memory space.
Step S20, memory allocating module 12 is that this cloud client 3 is specified the fixed address space that meets the first capacity in physical memory 20.For example, memory allocating module 12 is First cloud client 3 starts to distribute 500MB in physical memory 20 address space 0x00001000 ~ 0x******* from physical address 0x00001000, is second cloud client 3 starts to distribute 400MB in physical memory 20 address space from physical address 0x******.
Step S30, the second receiver module 13 receives the request of asking to distribute the second capacity internal memory when this cloud client 3 runs application.
Step S40, address conversion module 14 is the virtual memory of the second capacity described in the application assigned of this cloud client 3, the address space of virtual memory is converted to the described fixed address space of physical memory 20.For example, suppose that run application A request of First cloud client 3 distributes the memory headroom of 480MB, the B request that runs application of second cloud client 3 distributes the memory headroom of 450MB, address conversion module 14 is the virtual memory space of application A distribution 480MB, the virtual memory space of this 480MB is converted to the fixed address space 0x00001000 ~ 0x******* of physical memory 20.Address conversion module 14 is the virtual memory space of application program B distribution 450MB, and the virtual memory space of this 450MB is converted to the address space that starts the 400MB distributing in physical memory 20 from physical address 0x******.
Step S50, address conversion module 14 judges whether the described fixed address space of physical memory 20 can meet the demand of virtual memory.If can meet the demand of virtual memory, move the application program of this cloud client 3, flow process enters step S70 afterwards.For example, the application A of First cloud client 3 needs the memory headroom of 480MB, and First cloud client 3 is specified the fixed address space that has 500MB in physical memory 20, if can meet the demand of application A.If the described fixed address space of physical memory 20 can not meet the demand of virtual memory, perform step S60.For example, second cloud client 3 B that runs application needs the memory headroom of 450MB, and the fixed address space that second cloud client 3 specified in physical memory 20 only has 400MB, also poor 50MB.
Step S60, address conversion module 14 is divided part address space make-up virtual memory from memory 30.For example, address conversion module 14 is divided the supplementary virtual memory of address space of 50MB from memory 30.This memory 30 can comprise hard disk, flash memory disk etc.
Step S70, releasing memory after the application program end of run of this cloud client 3.For example, after application A end of run, discharge the memory headroom of its 480MB taking in physical memory 20; After application program B end of run, discharge the memory headroom of its 400MB taking in physical memory 20, and discharge the address space of its 50MB taking in memory 30.In other embodiments, this EMS memory management process also can not comprise step S70.
Need to illustrate, EMS memory management process provided by the invention also can be applied to publicly-owned cloud and mixed cloud.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to above preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (6)

1. an EMS memory management process, is characterized in that, the method comprises:
The first receiving step: reception cloud client-requested Cloud Server is specified the request in the first capacity physical memory space;
Memory Allocation step: be that this cloud client is specified the fixed address space that meets the first capacity in the physical memory of Cloud Server;
The second receiving step: receive when this cloud client runs application and ask Cloud Server to distribute the request of the second capacity internal memory; And
Address transition step: be the virtual memory of the second capacity described in the application assigned of this cloud client, the address space of virtual memory be converted to the described fixed address space of this physical memory.
2. EMS memory management process as claimed in claim 1, it is characterized in that, described address transition step also comprises: in the time that the described fixed address space of this physical memory can not meet the demand of virtual memory of described the second capacity, divide part address space make-up virtual memory from the memory of Cloud Server.
3. EMS memory management process as claimed in claim 2, is characterized in that, described memory comprises hard disk and flash memory disk.
4. an internal storage management system, is characterized in that, this system comprises:
The first receiver module, specifies the request in the first capacity physical memory space for receiving cloud client-requested Cloud Server;
Memory allocating module, at the physical memory of Cloud Server being the fixed address space that this cloud client is specified satisfied the first capacity;
The second receiver module, asks Cloud Server to distribute the request of the second capacity internal memory for receiving when this cloud client runs application; And
Address conversion module, is used to the virtual memory of the second capacity described in the application assigned of this cloud client, and the address space of virtual memory is converted to the described fixed address space of this physical memory.
5. internal storage management system as claimed in claim 4, it is characterized in that, described address conversion module also for: in the time that the described fixed address space of this physical memory can not meet the demand of virtual memory of described the second capacity, from the memory of Cloud Server, divide part address space make-up virtual memory.
6. internal storage management system as claimed in claim 5, is characterized in that, described memory comprises hard disk and flash memory disk.
CN201210558377.XA 2012-12-20 2012-12-20 Memory management system and method Pending CN103888492A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210558377.XA CN103888492A (en) 2012-12-20 2012-12-20 Memory management system and method
TW101149855A TW201428507A (en) 2012-12-20 2012-12-25 Memory management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210558377.XA CN103888492A (en) 2012-12-20 2012-12-20 Memory management system and method

Publications (1)

Publication Number Publication Date
CN103888492A true CN103888492A (en) 2014-06-25

Family

ID=50957210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210558377.XA Pending CN103888492A (en) 2012-12-20 2012-12-20 Memory management system and method

Country Status (2)

Country Link
CN (1) CN103888492A (en)
TW (1) TW201428507A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571955A (en) * 2014-12-27 2015-04-29 华为技术有限公司 Method and device for expanding storage capacity
CN104836798A (en) * 2015-04-15 2015-08-12 国家计算机网络与信息安全管理中心 Method and device for maintaining client connection information
CN106484529A (en) * 2016-09-12 2017-03-08 广东欧珀移动通信有限公司 The Memory adjustments method of terminal and terminal
CN107092206A (en) * 2016-02-17 2017-08-25 霍尼韦尔国际公司 With automatic International Electrotechnical Commission(IEC)The input/output of address generation(I/O)Binding
WO2017162015A1 (en) * 2016-03-24 2017-09-28 中兴通讯股份有限公司 Data processing method and apparatus, and storage medium
US10082955B2 (en) 2015-12-03 2018-09-25 International Business Machines Corporation Automated home memory cloud with key authenticator
CN109445945A (en) * 2018-10-29 2019-03-08 努比亚技术有限公司 Memory allocation method, mobile terminal, server and the storage medium of application program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571955A (en) * 2014-12-27 2015-04-29 华为技术有限公司 Method and device for expanding storage capacity
CN104836798A (en) * 2015-04-15 2015-08-12 国家计算机网络与信息安全管理中心 Method and device for maintaining client connection information
US10082955B2 (en) 2015-12-03 2018-09-25 International Business Machines Corporation Automated home memory cloud with key authenticator
US10101912B2 (en) 2015-12-03 2018-10-16 International Business Machines Corporation Automated home memory cloud with key authenticator
CN107092206A (en) * 2016-02-17 2017-08-25 霍尼韦尔国际公司 With automatic International Electrotechnical Commission(IEC)The input/output of address generation(I/O)Binding
CN107092206B (en) * 2016-02-17 2022-01-04 霍尼韦尔国际公司 Input/output (I/O) binding with automatic International Electrotechnical Commission (IEC) address generation
WO2017162015A1 (en) * 2016-03-24 2017-09-28 中兴通讯股份有限公司 Data processing method and apparatus, and storage medium
CN106484529A (en) * 2016-09-12 2017-03-08 广东欧珀移动通信有限公司 The Memory adjustments method of terminal and terminal
CN109445945A (en) * 2018-10-29 2019-03-08 努比亚技术有限公司 Memory allocation method, mobile terminal, server and the storage medium of application program
CN109445945B (en) * 2018-10-29 2023-09-19 努比亚技术有限公司 Memory allocation method of application program, mobile terminal, server and storage medium

Also Published As

Publication number Publication date
TW201428507A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN103888492A (en) Memory management system and method
CN110032447B (en) Method and apparatus for allocating resources
US9940020B2 (en) Memory management method, apparatus, and system
US20110153606A1 (en) Apparatus and method of managing metadata in asymmetric distributed file system
US20140304299A1 (en) Data management in a multi-tenant distributive environment
CN110098946B (en) Method and device for deploying virtualized network element equipment
CN104954468A (en) Resource allocation method and resource allocation device
US20140143220A1 (en) Striping files across nodes of a distributed file system
KR102077149B1 (en) Method for managing memory and apparatus thereof
CN101853215B (en) Memory allocation method and device
CN102520887A (en) Storage space configuration and management method applied to cloud computing
US20130247038A1 (en) Device-integration method, terminal-apparatus, and distributed multi-terminal-apparatus system
CN102790784A (en) Distributed cache method and system and cache analyzing method and analyzing system
CN111104219A (en) Binding method, device, equipment and storage medium of virtual core and physical core
CN111092921A (en) Data acquisition method, device and storage medium
CN104518897A (en) Resource management optimization processing method and resource management optimization processing device for virtual firewalls
CN104571930A (en) Management method and management system of security domain storage spaces as well as multi-application open platform device
CA3139693A1 (en) Dynamic allocation of computing resources
CN105743915A (en) Authority management method and device
US9547590B2 (en) Managing memory
CN105302817B (en) Distributed file system management method and device
US20150220430A1 (en) Granted memory providing system and method of registering and allocating granted memory
CN110891033B (en) Network resource processing method, device, gateway, controller and storage medium
CN102625139B (en) Multilevel-storage-based network video browsing control method and system
WO2017185801A1 (en) Table connection method in distributed database system, and distributed database system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140625