CN105426251A - Resource access method and system - Google Patents

Resource access method and system Download PDF

Info

Publication number
CN105426251A
CN105426251A CN201510864004.9A CN201510864004A CN105426251A CN 105426251 A CN105426251 A CN 105426251A CN 201510864004 A CN201510864004 A CN 201510864004A CN 105426251 A CN105426251 A CN 105426251A
Authority
CN
China
Prior art keywords
resource
user
broker
management module
information
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
CN201510864004.9A
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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201510864004.9A priority Critical patent/CN105426251A/en
Publication of CN105426251A publication Critical patent/CN105426251A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Abstract

The invention discloses a resource access method and system. The method comprises the steps that a resource user initiates a resource usage request to a resource agent, and the resource agent sends the resource usage request of the resource user to a resource management module; the resource management module queries a current resource usage condition to generate a resource distribution result and sends resource distribution information to the resource agent; the resource agent forwards the resource distribution information fed back by a resource agent module to the resource user; and the resource user uses resources according to the resource distribution information or an error is prompted. According to the resource access method and system, scare resources such as a memory and the like can be efficiently utilized, and not only can resource conflicts be avoided but also the utilization rate of hardware resources can be increased as far as possible, so that the product cost is reduced.

Description

A kind of resource access method and system
Technical field
The present invention relates to electronic equipment resource management techniques field, particularly relate to a kind of resource access method and system.
Background technology
Under prior art, the product of software and hardware combining, uses in the distribution of the hardware resources such as internal memory, distributes different memory headrooms to often each different application.By set-top box product, EPG business meeting distribution portion internal memory, audio/video decoding again can distribution portion internal memory.Under prior art, the product of software and hardware combining, hardware resource utilization is lower, and can not maximally utilise the rare resources such as internal memory, hardware cost is high.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of the deficiencies in the prior art, the object of the invention is to provide a kind of resource access method and system, and be intended to the product solving software and hardware combining in prior art, hardware resource utilization is lower, the rare resources such as internal memory can not be maximally utilised, the defect that hardware cost is high.
Technical scheme of the present invention is as follows:
A kind of resource access method, wherein, method comprises:
A, resource user initiate resource to Resource Broker and use request, and the resource that Resource Broker sends resource user uses request to resource management module;
B, resource management module are inquired about current resource service condition and are generated resource allocation result, and resource allocation information is sent Resource Broker;
C, Resource Broker forward the resource allocation information of resource proxy modules feedback to resource user;
D, resource user use resource or prompting mistake according to resource allocation information.
Described resource access method, wherein, described step B specifically comprises:
The resource that B1, resource management module receive resource user uses request, inquires about current resource service condition, has judged whether available resources;
If B2 has available resources, resource management module is resource user Resources allocation, and available resource information is sent to Resource Broker;
If B3 is without available resources, resource management module is refused to user's Resources allocation, and refusal resource bid information is sent to Resource Broker.
Described resource access method, wherein, described step C specifically comprises:
C1, Resource Broker receive the available resource information that resource management module returns, and available resource information are returned to resource user;
C2, Resource Broker receive the refusal Resources allocation information that resource management module returns, and return refusal resource bid information to resource user.
Described resource access method, wherein, described step D specifically comprises:
D1, resource user detect available resources, the available resources that resource user uses Resource Broker to return;
D2, resource user do not detect available resources, return error message.
Resource access method described in above-mentioned any one, wherein, described resource refers to can not by the software resource that takies and/or hardware resource simultaneously.
A kind of resource access system, wherein, described system comprises:
Request module, initiates resource for resource user to Resource Broker and uses request, and the resource that Resource Broker sends resource user uses request to resource management module;
Inquiry and control module, inquire about current resource service condition for resource management module and generate resource allocation result, and resource allocation information is sent Resource Broker;
Forwarding module, forwards the resource allocation information of resource proxy modules feedback to resource user for Resource Broker;
Request processing module, uses resource or prompting mistake for resource user according to resource allocation information.
Described resource access system, wherein, described inquiry and control module specifically comprise:
Query unit, the resource receiving resource user for resource management module uses request, inquires about current resource service condition, has judged whether available resources;
First control module, if for there being available resources, resource management module is resource user Resources allocation, and available resource information is sent to Resource Broker;
Second control module, if for without available resources, resource management module is refused to user's Resources allocation, and refusal resource bid information is sent to Resource Broker.
Described resource access system, wherein, described forwarding module specifically comprises:
First retransmission unit, receives for Resource Broker the available resource information that resource management module returns, available resource information is returned to resource user;
Second retransmission unit, receives for Resource Broker the refusal Resources allocation information that resource management module returns, and returns refusal resource bid information to resource user.
Described resource access system, wherein, described request processing module specifically comprises:
Resource uses unit, and for resource, user detects available resources, the available resources that resource user uses Resource Broker to return;
Detect and return unit, for resource, user does not detect available resources, returns error message.
Resource access system described in above-mentioned any one, is characterized in that, described resource refers to can not by the software resource that takies and/or hardware resource simultaneously.
The invention provides a kind of resource access method and system, the present invention can utilize the rare resources such as internal memory efficiently, both can avoid resource contention, can improve again the utilization factor of hardware resource to greatest extent, thus reduces the cost of product.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the preferred embodiment of a kind of resource access method of the present invention.
Fig. 2 is the second refinement step process flow diagram of the preferred embodiment of a kind of resource access method of the present invention.
Fig. 3 is the 3rd refinement step process flow diagram of the preferred embodiment of a kind of resource access method of the present invention.
Fig. 4 is the 4th refinement step process flow diagram of the preferred embodiment of a kind of resource access method of the present invention.
Fig. 5 is the functional schematic block diagram of the preferred embodiment of a kind of resource access system of the present invention.
Embodiment
For making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of process flow diagram of preferred embodiment of resource access method, as shown in Figure 1, described method comprises:
Step S100, resource user initiate resource to Resource Broker and use request, and the resource that Resource Broker sends resource user uses request to resource management module.
During concrete enforcement, resource user initiates resource to Resource Broker and uses request; Resource user refers to a part in order to realize a certain function or a certain function and uses module or the application of resource, comprises the combination of software, hardware or software and hardware.Resource refers to can not by the software resource that takies and/or hardware resource simultaneously.Preferential, as memory source.Described Resource Broker refers to and to communicate with resource management module, for the software function module applying for resource to resource user.Meanwhile, Resource Broker will receive resource use request and send to resource management module.The software and hardware resources that wherein resource management module management equipment is all.Particularly, equipment includes but not limited to the electronic equipments such as mobile phone, panel computer, intelligent television, PC.
Step S200, resource management module are inquired about current resource service condition and are generated resource allocation result, and resource allocation information is sent Resource Broker.
During concrete enforcement, resource management module inquiry Current resource service condition to resource user Resources allocation or refusal resource bid, and sends relevant information to Resource Broker.Wherein Current resource service condition comprises the sufficient or No Assets of resource and can use.If Current resource space abundance, Resources allocation, if No Assets can be used, then directly refuses resource bid.
Step S300, Resource Broker forward the resource allocation information of resource proxy modules feedback to resource user.
During concrete enforcement, the resource allocation information that Resource Broker returns according to resource management module is to resource user Resources allocation or refusal resource bid.
Step S400, resource user use resource or prompting mistake according to resource allocation information.
During concrete enforcement, resource user can process according to the resource allocation information of Resource Broker feedback, if resource management module Resources allocation then uses resource, if No Assets distributes, then points out resource mistake in information.
In further embodiment, Fig. 2 is the second refinement step process flow diagram of the preferred embodiment of a kind of resource access method of the present invention, and as shown in Figure 2, step S200 specifically comprises:
The resource that step S201, resource management module receive resource user uses request, inquires about current resource service condition, has judged whether available resources;
If step S202 has available resources, resource management module is resource user Resources allocation, and available resource information is sent to Resource Broker;
If step S203 is without available resources, resource management module is refused to user's Resources allocation, and refusal resource bid information is sent to Resource Broker.
During concrete enforcement, described resource management module, according to current software and hardware resources service condition and resource request, confirms currently whether have resource to use; If there are available resources, return available resource information to Resource Broker; If there is no available resources, return the information of refusal resource bid to Resource Broker.
In further embodiment, Fig. 3 is the 3rd refinement step process flow diagram of the preferred embodiment of a kind of resource access method of the present invention, and as shown in Figure 3, step S300 specifically comprises:
Step S301, Resource Broker receive the available resource information that resource management module returns, and available resource information are returned to resource user;
Step S302, Resource Broker receive the refusal Resources allocation information that resource management module returns, and return refusal resource bid information to resource user.
During concrete enforcement, if Resource Broker receives the available resource information that resource management module returns, just send it to resource user; If Resource Broker receives the information of the refusal resource bid that resource management module returns, just send it to resource user.
In further embodiment, be illustrated in figure 4 the 4th refinement step process flow diagram of the preferred embodiment of a kind of resource access method of the present invention, wherein, step S400 specifically comprises:
Whether step S401, resource user detect available resources;
Step S402, resource user detect available resources, the available resources that resource user uses Resource Broker to return;
Step S403, resource user do not detect available resources, return error message.
During concrete enforcement, if there are available resources, the available resources that resource user uses Resource Broker to return; If there is no available resources, return error message.
The present invention proposes a kind of resource access method, and described method comprises step: resource user initiates resource to Resource Broker and uses request; The resource that Resource Broker sends resource user uses request to resource management module; Resource management module to resource user Resources allocation or refusal resource bid, and sends relevant information to Resource Broker according to Current resource service condition; The information that Resource Broker returns according to resource management module is to resource user Resources allocation or refusal resource bid; Resource user uses resource or prompting mistake.By a kind of resource access method provided by the invention, the rare resources such as internal memory can be utilized efficiently, both can avoid resource contention, the utilization factor of hardware resource can be improved again to greatest extent, thus reduce the cost of product.
On the basis of said method embodiment, present invention also offers a kind of functional schematic block diagram of preferred embodiment of resource access system, as shown in Figure 5, described system comprises:
Request module 100, initiates resource for resource user to Resource Broker and uses request, and the resource that Resource Broker sends resource user uses request to resource management module; As detailed above.
Inquiry and control module 200, inquire about current resource service condition for resource management module and generate resource allocation result, and resource allocation information is sent Resource Broker; As detailed above.
Forwarding module 300, forwards the resource allocation information of resource proxy modules feedback to resource user for Resource Broker; As detailed above.
Request processing module 400, uses resource or prompting mistake for resource user according to resource allocation information; As detailed above.
Described resource access system, wherein, described inquiry and control module specifically comprise:
Query unit, the resource receiving resource user for resource management module uses request, inquires about current resource service condition, has judged whether available resources; As detailed above.
First control module, if for there being available resources, resource management module is resource user Resources allocation, and available resource information is sent to Resource Broker; As detailed above.
Second control module, if for without available resources, resource management module is refused to user's Resources allocation, and refusal resource bid information is sent to Resource Broker; As detailed above.
Described resource access system, wherein, described forwarding module specifically comprises:
First retransmission unit, receives for Resource Broker the available resource information that resource management module returns, available resource information is returned to resource user; As detailed above.
Second retransmission unit, receives for Resource Broker the refusal Resources allocation information that resource management module returns, and returns refusal resource bid information to resource user; As detailed above.
Described resource access system, wherein, described request processing module specifically comprises:
Resource uses unit, and for resource, user detects available resources, the available resources that resource user uses Resource Broker to return; As detailed above.
Detect and return unit, for resource, user does not detect available resources, returns error message.
Resource access system described in above-mentioned any one, is characterized in that, described resource refers to can not by the software resource that takies and/or hardware resource simultaneously; As detailed above.
In sum, the invention provides a kind of resource access method and system, described method comprises: resource user initiates resource to Resource Broker and uses request, and the resource that Resource Broker sends resource user uses request to resource management module; Resource management module is inquired about current resource service condition and is generated resource allocation result, and resource allocation information is sent Resource Broker; Resource Broker forwards the resource allocation information of resource proxy modules feedback to resource user; Resource user uses resource or prompting mistake according to resource allocation information.The present invention can utilize the rare resources such as internal memory efficiently, both can avoid resource contention, can improve again the utilization factor of hardware resource to greatest extent, thus reduces the cost of product.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1. a resource access method, is characterized in that, method comprises:
A, resource user initiate resource to Resource Broker and use request, and the resource that Resource Broker sends resource user uses request to resource management module;
B, resource management module are inquired about current resource service condition and are generated resource allocation result, and resource allocation information is sent Resource Broker;
C, Resource Broker forward the resource allocation information of resource proxy modules feedback to resource user;
D, resource user use resource or prompting mistake according to resource allocation information.
2. resource access method according to claim 1, is characterized in that, described step B specifically comprises:
The resource that B1, resource management module receive resource user uses request, inquires about current resource service condition, has judged whether available resources;
If B2 has available resources, resource management module is resource user Resources allocation, and available resource information is sent to Resource Broker;
If B3 is without available resources, resource management module is refused to user's Resources allocation, and refusal resource bid information is sent to Resource Broker.
3. resource access method according to claim 2, is characterized in that, described step C specifically comprises:
C1, Resource Broker receive the available resource information that resource management module returns, and available resource information are returned to resource user;
C2, Resource Broker receive the refusal Resources allocation information that resource management module returns, and return refusal resource bid information to resource user.
4. resource access method according to claim 3, is characterized in that, described step D specifically comprises:
D1, resource user detect available resources, the available resources that resource user uses Resource Broker to return;
D2, resource user do not detect available resources, return error message.
5. the resource access method according to any one of claim 1-4, is characterized in that, described resource refers to can not by the software resource that takies and/or hardware resource simultaneously.
6. a resource access system, is characterized in that, described system comprises:
Request module, initiates resource for resource user to Resource Broker and uses request, and the resource that Resource Broker sends resource user uses request to resource management module;
Inquiry and control module, inquire about current resource service condition for resource management module and generate resource allocation result, and resource allocation information is sent Resource Broker;
Forwarding module, forwards the resource allocation information of resource proxy modules feedback to resource user for Resource Broker;
Request processing module, uses resource or prompting mistake for resource user according to resource allocation information.
7. resource access system according to claim 6, is characterized in that, described inquiry and control module specifically comprise:
Query unit, the resource receiving resource user for resource management module uses request, inquires about current resource service condition, has judged whether available resources;
First control module, if for there being available resources, resource management module is resource user Resources allocation, and available resource information is sent to Resource Broker;
Second control module, if for without available resources, resource management module is refused to user's Resources allocation, and refusal resource bid information is sent to Resource Broker.
8. resource access system according to claim 7, is characterized in that, described forwarding module specifically comprises:
First retransmission unit, receives for Resource Broker the available resource information that resource management module returns, available resource information is returned to resource user;
Second retransmission unit, receives for Resource Broker the refusal Resources allocation information that resource management module returns, and returns refusal resource bid information to resource user.
9. resource access system according to claim 8, is characterized in that, described request processing module specifically comprises:
Resource uses unit, and for resource, user detects available resources, the available resources that resource user uses Resource Broker to return;
Detect and return unit, for resource, user does not detect available resources, returns error message.
10. the resource access system according to any one of claim 6-9, is characterized in that, described resource refers to can not by the software resource that takies and/or hardware resource simultaneously.
CN201510864004.9A 2015-12-01 2015-12-01 Resource access method and system Pending CN105426251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510864004.9A CN105426251A (en) 2015-12-01 2015-12-01 Resource access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510864004.9A CN105426251A (en) 2015-12-01 2015-12-01 Resource access method and system

Publications (1)

Publication Number Publication Date
CN105426251A true CN105426251A (en) 2016-03-23

Family

ID=55504475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510864004.9A Pending CN105426251A (en) 2015-12-01 2015-12-01 Resource access method and system

Country Status (1)

Country Link
CN (1) CN105426251A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014351A1 (en) * 2016-07-22 2018-01-25 华为技术有限公司 Method and apparatus for resource configuration
WO2021081745A1 (en) * 2019-10-29 2021-05-06 北京嗨动视觉科技有限公司 Hardware resource allocation method and apparatus, video processor, and display system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228618A1 (en) * 2004-04-09 2005-10-13 Patel Chandrakant D Workload placement among data centers based on thermal efficiency
CN101448026A (en) * 2008-12-16 2009-06-03 中国科学技术大学 Method for computing node selection in grid market on the basis of trust filtering
CN103440172A (en) * 2013-08-19 2013-12-11 深圳创维数字技术股份有限公司 Resource management method and terminal device
CN103905529A (en) * 2014-03-10 2014-07-02 北京交通大学 Cloud computing resource allocation method
CN104618269A (en) * 2015-01-29 2015-05-13 南京理工大学 Cloud system utilization rate maximized resource distributing method based on energy consumption requirements
CN104750558A (en) * 2013-12-31 2015-07-01 伊姆西公司 Resource allocation management method and device of hierarchical quota system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228618A1 (en) * 2004-04-09 2005-10-13 Patel Chandrakant D Workload placement among data centers based on thermal efficiency
CN101448026A (en) * 2008-12-16 2009-06-03 中国科学技术大学 Method for computing node selection in grid market on the basis of trust filtering
CN103440172A (en) * 2013-08-19 2013-12-11 深圳创维数字技术股份有限公司 Resource management method and terminal device
CN104750558A (en) * 2013-12-31 2015-07-01 伊姆西公司 Resource allocation management method and device of hierarchical quota system
CN103905529A (en) * 2014-03-10 2014-07-02 北京交通大学 Cloud computing resource allocation method
CN104618269A (en) * 2015-01-29 2015-05-13 南京理工大学 Cloud system utilization rate maximized resource distributing method based on energy consumption requirements

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014351A1 (en) * 2016-07-22 2018-01-25 华为技术有限公司 Method and apparatus for resource configuration
WO2021081745A1 (en) * 2019-10-29 2021-05-06 北京嗨动视觉科技有限公司 Hardware resource allocation method and apparatus, video processor, and display system

Similar Documents

Publication Publication Date Title
CN108632216B (en) Network function authorization method, device, readable storage medium and entity equipment
CN103051646B (en) Information synchronization method and device
CN108777699B (en) Application cross-domain access method based on Internet of things multi-domain collaborative architecture
EP3331247A1 (en) Multi-screen control method and device
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
CN113612861B (en) Remote access method, system and computer readable storage medium
CN102739677A (en) Cryptographically generated address (CGA) configuration method, system and device
US20180199007A1 (en) Control method, system, and apparatus for conference terminal rights, and storage medium
CN105245418A (en) Method, device and system for controlling smart home devices
CN105743947A (en) Resource sharing method and apparatus
CN104902216B (en) More picture management-control methods and relevant device in a kind of video conference
CN109905450B (en) Inter-device communication method, device and storage medium
CN102664971B (en) Network address resources management method, system and external address Resource Server
JP2019510435A (en) Network access method, related device and system
CN105426251A (en) Resource access method and system
CN101997931A (en) Position information acquiring method and equipment
CN103685586A (en) Method, device and system for realizing address sharing
CN105763658A (en) Method for addressed equipment dynamic IP addressing, addressing server and system
CN102523236B (en) Method and equipment for establishing dynamic connection
CN103957189A (en) Application program interaction method and device
CN102984696B (en) Based on the IP communication means of mobile terminal, equipment and system
KR20130021317A (en) Apparatus and method for providing media service with service interworking in convergence media service proving system
CN102984697B (en) IP communication method, equipment and system based on mobile terminals
CN114691352A (en) Information processing method, device, equipment and storage medium
CN103428171A (en) Session processing method, application server and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160323