CN105279233A - Resource retrieving method and device - Google Patents

Resource retrieving method and device Download PDF

Info

Publication number
CN105279233A
CN105279233A CN201510612719.5A CN201510612719A CN105279233A CN 105279233 A CN105279233 A CN 105279233A CN 201510612719 A CN201510612719 A CN 201510612719A CN 105279233 A CN105279233 A CN 105279233A
Authority
CN
China
Prior art keywords
resource
attribute type
virtual
actual
virtual resource
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
CN201510612719.5A
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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201510612719.5A priority Critical patent/CN105279233A/en
Publication of CN105279233A publication Critical patent/CN105279233A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This invention provides a resource retrieving method and device. The method comprises the following steps: receiving retrieval information input by a user; acquiring physical resources and virtual resources corresponding to the retrieval information; and displaying the actual resources and the virtual resources to the user. By adopting the technical scheme of this invention, when the user inputs the retrieval information, the physical resources and the virtual resources corresponding to the retrieval information can be acquired and displayed to the user; thus, the user can acquire all the resources corresponding to the retrieval information, and the user experience can be improved.

Description

A kind of search method of resource and device
Technical field
The present invention relates to technical field of video monitoring, particularly relate to a kind of search method and device of resource.
Background technology
Along with the application of video monitoring system is more and more extensive, the business of video monitoring system support gets more and more, and the equipment in video monitoring system also gets more and more.VM (VideoManagement, video management) server can manage all devices controlling video monitoring system concentratedly, dispatches various video monitoring service.
Resource retrieval uses a kind of operation frequently in video monitoring system, and common way is, on VM server, for each class video monitoring service creates an information table, for each equipment creates an information table, in each information table, and record actual resource.Like this, when user inputs certain keyword, find should the actual resource of keyword from all information tables.Under aforesaid way, can only show actual resource corresponding to keyword to user, user cannot know the further out of Memory that keyword is corresponding.
Summary of the invention
For achieving the above object, the invention provides a kind of search method of resource, described method comprises:
Receive the retrieving information of user's input;
Obtain actual resource corresponding to described retrieving information and virtual resource;
Described actual resource and described virtual resource are shown to described user.
Before obtaining actual resource corresponding to described retrieving information and virtual resource, at index data base establishment stage, for each resource, obtain actual resource and the virtual resource attribute type of described resource, index data base is set up according to described actual resource and described virtual resource attribute type, wherein, described index data base comprises key word, Resource Properties uniform resource position mark URL and described virtual resource attribute type, and described Resource Properties URL comprises described actual resource and described virtual resource attribute type;
The process of the actual resource that the described retrieving information of described acquisition is corresponding and virtual resource, specifically comprises: in the retrieval phase of resource, inquires about described index data base by described retrieving information, obtains the Resource Properties URL that described retrieving information is corresponding; From described Resource Properties URL, obtain actual resource corresponding to described retrieving information and virtual resource attribute type, and obtain virtual resource corresponding to described virtual resource attribute type.
Describedly inquire about described index data base by described retrieving information, obtain the process of Resource Properties URL corresponding to described retrieving information, specifically comprise:
When described retrieving information is key word, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to all virtual resource attribute types; Or,
When described retrieving information be key word and virtual resource attribute type time, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to described virtual resource attribute type.
Described for each resource, obtain actual resource and the virtual resource attribute type of described resource, specifically comprise: query resource structural drawing, the each equipment class resource comprised for described resource structures figure and each service class resource, obtain actual resource and the virtual resource attribute type of each resource in accordance with the following steps:
A, judge whether the equipment class resource that there is non-selected mistake, if so, perform B, otherwise perform C;
B, from the equipment class resource of non-selected mistake, select an equipment class resource, and obtain actual resource and the virtual resource attribute type of the equipment class resource of current selection, and perform A;
C, judge whether the service class resource that there is non-selected mistake, if so, perform D; Otherwise perform E;
D, from the service class resource of non-selected mistake, select a service class resource, and obtain actual resource and the virtual resource attribute type of the service class resource of current selection, and perform C;
The procurement process of E, end actual resource and virtual resource attribute type.
The storage organization of described Resource Properties URL specifically comprises: Res: // actual resource=xxx & virtual resource attribute type=yyy; Or, Res: // actual resource=xxx & virtual resource attribute type=yyy & Resource Properties subtype=zzz.Further, described actual resource comprise following one or more: resource identification, resource name, resource type; Described virtual resource attribute type comprise following one or more: Configuration Type, action type, associated services type, operand type.
The invention provides a kind of indexing unit of resource, described device specifically comprises:
Receiver module, for receiving the retrieving information of user's input;
Obtain module, for obtaining actual resource corresponding to described retrieving information and virtual resource;
Output module, for being shown to described user by described actual resource and described virtual resource.
Described acquisition module, specifically for before obtaining actual resource corresponding to described retrieving information and virtual resource, at index data base establishment stage, for each resource, obtain actual resource and the virtual resource attribute type of described resource, index data base is set up according to described actual resource and described virtual resource attribute type, wherein, described index data base comprises key word, Resource Properties uniform resource position mark URL and described virtual resource attribute type, and described Resource Properties URL comprises described actual resource and described virtual resource attribute type;
In the process obtaining actual resource corresponding to described retrieving information and virtual resource, in the retrieval phase of resource, inquire about described index data base by described retrieving information, obtain the Resource Properties URL that described retrieving information is corresponding; From described Resource Properties URL, obtain actual resource corresponding to described retrieving information and virtual resource attribute type, and obtain virtual resource corresponding to described virtual resource attribute type.
Described acquisition module, specifically for inquiring about described index data base by described retrieving information, obtain in the process of Resource Properties URL corresponding to described retrieving information, when described retrieving information is key word, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to all virtual resource attribute types; Or, when described retrieving information be key word and virtual resource attribute type time, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to described virtual resource attribute type.
Described acquisition module, specifically in the acquisition actual resource of described resource and the process of virtual resource attribute type, query resource structural drawing, the each equipment class resource comprised for resource structures figure and each service class resource, obtain actual resource and the virtual resource attribute type of each resource according to following process:
A, judge whether the equipment class resource that there is non-selected mistake, if so, perform B, otherwise perform C;
B, from the equipment class resource of non-selected mistake, select an equipment class resource, and obtain actual resource and the virtual resource attribute type of the equipment class resource of current selection, and perform A;
C, judge whether the service class resource that there is non-selected mistake, if so, perform D; Otherwise perform E;
D, from the service class resource of non-selected mistake, select a service class resource, and obtain actual resource and the virtual resource attribute type of the service class resource of current selection, and perform C;
The procurement process of E, end actual resource and virtual resource attribute type.
The storage organization of described Resource Properties URL specifically comprises: Res: // actual resource=xxx & virtual resource attribute type=yyy; Or, Res: // actual resource=xxx & virtual resource attribute type=yyy & Resource Properties subtype=zzz.Further, described actual resource comprise following one or more: resource identification, resource name, resource type; Described virtual resource attribute type comprise following one or more: Configuration Type, action type, associated services type, operand type.
Based on technique scheme, in embodiments of the present invention, when user inputs retrieving information, actual resource corresponding to this retrieving information and virtual resource can be obtained, and actual resource is shown to user together with virtual resource, thus make user can obtain all resources corresponding to retrieving information, improve user's impression.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the search method of resource in one embodiment of the present invention;
Fig. 2 is the schematic diagram of the resource structures figure in one embodiment of the present invention;
Fig. 3 is the hardware structure diagram of the VM server in one embodiment of the present invention;
Fig. 4 is the structural drawing of the indexing unit of resource in one embodiment of the present invention.
Embodiment
For problems of the prior art, propose a kind of search method of resource in the embodiment of the present invention, be applied in video monitoring system, the method can be applied on the VM server of video monitoring system.
As shown in Figure 1, the search method of this resource specifically can comprise the following steps:
Step 101, receives the retrieving information of user's input.
Step 102, obtains actual resource corresponding to described retrieving information and virtual resource.
Step 103, is shown to described user by described actual resource and described virtual resource.
Wherein, resource is the mode that a kind of certain Resource Properties by certain actual resource also invents resource, by resource, can expand the range of definition of resource in video monitoring system, from the hunting zone that the degree of depth extends one's service.Based on this, in the embodiment of the present invention, the object of the various resourcebilities in video monitoring system is all invented resource, this resource invented is called virtual resource, thus sets up the unified resource model of the overall situation.In the resource model that the overall situation is unified, each resource can comprise actual resource and virtual resource.Actual resource include but not limited to following one or more: resource identification, resource name, resource type.Virtual resource attribute type specifically include but not limited to following one or more: to spread out the Configuration Type, action type, associated services type, operand type etc. that stretch out from actual resource itself.
Wherein, the resource in the resource model that the overall situation is unified can be equipment class resource and service class resource, and service class resource can be composite service class resource and single service class resource.Such as, for the actual resource of equipment class resource, can be mark, title, the type of video camera; Or the mark of media server, title, type; Or the mark of data server, title, type; Or the mark of scrambler, title, type; Or the mark of demoder, title, type.For the actual resource of composite service class resource, can be mark, title, the type of round cut business; Or mark, title, the type of group taking turn business; Or the mark of mapping service, title, type.For the actual resource of single service class resource, can be mark, title, the type of alarm business; Or the mark of business of cruising, title, type.
Wherein, virtual resource attribute type is to spread out the various Configuration Types, action type, associated services type, operand type etc. that stretch out from actual resource itself.Such as, when actual resource is video camera, virtual resource attribute type is the configuration (i.e. Configuration Type), video recording (i.e. associated services type), candid photograph picture (i.e. associated services type), presetting bit (i.e. action type) etc. of video camera, the configuration of video camera comprises code stream configuration, OSD configuration, stored configuration etc. further, the video recording of video camera comprises time tag further, and the candid photograph picture of video camera comprises time tag further.When actual resource is media server (or data server, scrambler, demoder), then virtual resource attribute type is Equipments Setting (i.e. Configuration Type) and alarm (i.e. associated services type) etc.When actual resource is round cut business, then virtual resource attribute type is the information (i.e. operand type) of the shooting unit performing round cut business.
Certainly, in actual applications, the virtual resource attribute type corresponding to above-mentioned actual resource is not limited to above-mentioned example, can also be other virtual resource attribute type, not repeat them here.For the virtual resource attribute type corresponding to other actual resource, also can configure according to actual conditions, not repeat them here.
In the embodiment of the present invention, can be divided into two stages, the first stage is index data base establishment stage, and subordinate phase is the retrieval phase of resource, and above-mentioned steps 101-103 is the processing procedure of subordinate phase.
Wherein, index data base establishment stage is a process before the retrieval phase of resource, performs in the process of resource retrieval, just carry out resource retrieval based on index data base each, instead of before each execution resource retrieval, the equal execution index Database stage.
In the embodiment of the present invention, at index data base establishment stage, for each resource, obtain actual resource and the virtual resource attribute type of this resource, and set up index data base according to this actual resource and this virtual resource attribute type.Wherein, at least comprise key word, Resource Properties URL and this virtual resource attribute type in this index data base, this Resource Properties URL comprises this actual resource and this virtual resource attribute type.
In the embodiment of the present invention, for each resource, obtain the actual resource of this resource and the process of virtual resource attribute type, specifically can include but not limited to as under type: query resource structural drawing, the each equipment class resource comprised for this resource structures figure and each service class resource, obtain actual resource and the virtual resource attribute type of each equipment class resource and each service class resource in accordance with the following steps:
A, judge whether the equipment class resource that there is non-selected mistake, if so, perform B, otherwise perform C;
B, from the equipment class resource of non-selected mistake, select an equipment class resource, and obtain actual resource and the virtual resource attribute type of the equipment class resource of current selection, and perform A;
C, judge whether the service class resource that there is non-selected mistake, if so, perform D; Otherwise perform E;
D, from the service class resource of non-selected mistake, select a service class resource, and obtain actual resource and the virtual resource attribute type of the service class resource of current selection, and perform C;
The procurement process of E, end actual resource and virtual resource attribute type.
Aforesaid way is with the actual resource of first equipment class resource and virtual resource attribute type, actual resource and the virtual resource attribute type of rear acquisition service class resource are example, in a particular application, also actual resource and the virtual resource attribute type of service class resource can first be obtained, the actual resource of rear equipment class resource and virtual resource attribute type, can also intersect the actual resource of equipment class resource and virtual resource attribute type, the actual resource of service class resource and virtual resource attribute type, not repeat them here.
As shown in Figure 2, for a kind of example of resource structures figure, video camera 1 is selected from the equipment class resource of non-selected mistake, obtain actual resource (as mark, title, type etc.) and the virtual resource attribute type (as code stream configuration, video recording etc.) of video camera 1, video camera 2 is selected afterwards from the equipment class resource of non-selected mistake, obtain actual resource and the virtual resource attribute type of video camera 2, by that analogy, from the equipment class resource of non-selected mistake, select media server 2, obtain actual resource and the virtual resource attribute type of media server 2.Suppose the current equipment class resource that there is not non-selected mistake, then from the service class resource of non-selected mistake, select round cut business, obtain actual resource and the virtual resource attribute type of round cut business, selection group taking turn business from the service class resource of non-selected mistake afterwards, the actual resource of acquisition group taking turn business and virtual resource attribute type, by that analogy, from the service class resource of non-selected mistake, select business of cruising, obtain actual resource and the virtual resource attribute type of business of cruising.Suppose the current service class resource that there is not non-selected mistake, then terminate the procurement process of actual resource and virtual resource attribute type.
In the embodiment of the present invention, after the actual resource obtaining each resource and virtual resource attribute type, index data base can be set up based on actual resource and virtual resource attribute type, at least comprise key word, Resource Properties URL and this virtual resource attribute type in this index data base, this Resource Properties URL comprises this actual resource and this virtual resource attribute type.In addition, index mark can also be comprised in this index data base.
Wherein, can based on actual resource determination key word.Such as, when the name of actual resource is called the video camera 1 at center, A garden, then key word can be A garden, center, center, A garden, video camera 1 etc.Again such as, when the name of actual resource is called the video camera 2 of A garden front door, then key word can be A garden, front door, A garden front door, video camera 2 etc.
Wherein, the storage organization of Resource Properties URL specifically can include but not limited to: Res: // actual resource=xxx & virtual resource attribute type=yyy.Further, when virtual resource attribute type also comprises Resource Properties subtype, then the storage organization of this Resource Properties URL can also comprise: Res: // actual resource=xxx & virtual resource attribute type=yyy & Resource Properties subtype=zzz.
Such as, when virtual resource attribute type is the configuration of video camera 1, and when the configuration of video camera 1 comprises code stream, then virtual resource attribute type is configuration, and the Resource Properties subtype that this virtual resource attribute type comprises is code stream.Based on this, the storage organization of Resource Properties URL is: Res: mark (title, type) the & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 1.Again such as, when the video recording that virtual resource attribute type is video camera 2, and the video recording of video camera 2 is when comprising time tag, then virtual resource attribute type is video recording, the Resource Properties subtype that this virtual resource attribute type comprises is time tag, as 2015-02-0113:00:00 ~ 2015-02-0114:30:30.Based on this, the storage organization of Resource Properties URL is: Res: mark (title, type) the & virtual resource attribute type=video recording & Resource Properties subtype=2015-02-0113:00:00 ~ 2015-02-0114:30:30 of // actual resource=video camera 2.
As shown in table 1, be a kind of sample situation of index data base, in this index data base, have recorded index mark, key word, corresponding relation between Resource Properties URL and virtual resource attribute type.
Table 1
In the embodiment of the present invention, in the retrieval phase of resource, for step 102, obtain the process of actual resource corresponding to retrieving information and virtual resource, specifically can include but not limited to as under type: when receiving the retrieving information of user's input, by this retrieving information search index database, obtain the Resource Properties URL that this retrieving information is corresponding.Further, from this Resource Properties URL, obtain actual resource corresponding to this retrieving information and virtual resource attribute type, and obtain virtual resource corresponding to this virtual resource attribute type.
In the embodiment of the present invention, retrieving information can be key word, or, key word and virtual resource attribute type.Based on this, by retrieving information search index database, obtain the process of Resource Properties URL corresponding to retrieving information, specifically can include but not limited to as under type: when retrieving information is key word, by search index database, obtain this key word and Resource Properties URL corresponding to all virtual resource attribute types; Or, when retrieving information be key word and virtual resource attribute type time, by search index database, obtain this key word and Resource Properties URL corresponding to this virtual resource attribute type.
Such as, time centered by the key word of user's input, then can pass through the key word " index data base shown in " center " question blank 1, and " the Resource Properties URL that " center " is corresponding specifically comprises: Res: the mark & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 1 can to obtain key word; Res: the mark & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 3; Res: the mark & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 6; Res: the mark & virtual resource attribute type=video recording & Resource Properties subtype=2015-02-0113:00:00 ~ 2015-02-0114:30:30 of // actual resource=video camera 2; Res: the mark & virtual resource attribute type=video recording & Resource Properties subtype=2015-02-0113:00:00 ~ 2015-02-0114:30:30 of // actual resource=video camera 11; Res: the mark & virtual resource attribute type=video recording & Resource Properties subtype=2015-02-0113:00:00 ~ 2015-02-0114:30:30 of // actual resource=video camera 14.
Again such as, centered by the key word of user's input, when virtual resource attribute type is for configuration, code stream, then can pass through key word " " center ", virtual resource attribute type " configuration, code stream "; the index data base shown in question blank 1, and " " center ", Resource Properties URL corresponding to " configuration, code stream " virtual resource attribute type specifically comprise: Res: the mark & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 1 can to obtain key word; Res: the mark & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 3; Res: the mark & virtual resource attribute type=configuration & Resource Properties subtype=code stream of // actual resource=video camera 6.
In the embodiment of the present invention, on VM server, for the virtual resource of often kind of virtual resource attribute type, create a virtual resource table, in this virtual resource table, have recorded the corresponding relation of actual resource and virtual resource.Like this, after acquisition Resource Properties URL, the virtual resource table corresponding to virtual resource attribute type that can comprise based on Resource Properties URL, obtains the virtual resource corresponding to actual resource that Resource Properties URL comprises.Such as, when virtual resource attribute type is code stream configuration, then can by inquiry code stream allocation list, obtain virtual resource corresponding to actual resource (mark as video camera 1) (i.e. the code stream configuration of video camera 1), and obtain virtual resource corresponding to actual resource (mark as video camera 3) (i.e. the code stream configuration of video camera 3), by that analogy.Again such as, when virtual resource attribute type is for video recording, then can by inquiry video recording table, obtain the virtual resource (namely video camera 2 is in the video recording of corresponding time tag) that actual resource (mark as video camera 2) is corresponding, and obtain virtual resource (namely video camera 11 is in the video recording of corresponding time tag) corresponding to actual resource (mark as video camera 11), by that analogy.
Based on technique scheme, in the embodiment of the present invention, when user inputs retrieving information, actual resource corresponding to this retrieving information and virtual resource can be obtained, and actual resource is shown to user together with virtual resource, thus make user can obtain all resources corresponding to retrieving information, improve user's impression.Further, by setting up the index data base comprising key word, Resource Properties URL and virtual resource attribute type, can based on index data base directly inquire user input retrieving information corresponding to Resource Properties URL, then the virtual resource attribute type comprised by this Resource Properties URL and actual resource, directly find actual resource and virtual resource that user needs.Under aforesaid way, do not need to retrieve in all information tables and whether exist should the actual resource of keyword, namely only need to retrieve in index data base, and do not need to retrieve in each information table, user friendly search operaqtion, in resource retrieval process, can alleviate retrieval workload, improve retrieval rate, and improve the handling property of VM server.And, by increasing virtual resource attribute type field in index data base, namely the filtercondition of user search is added, make user when retrieving, preliminary screening can be carried out based on virtual resource attribute type, expand search volume and the scope of user, refinement resource searching granularity, thus all kinds of resources meeting user's request can be searched out comprehensively, quickly and efficiently.
Based on the inventive concept same with said method, the embodiment of the present invention also provides a kind of indexing unit of resource, is applied on VM server.The indexing unit of resource can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, as the device on a logical meaning, be the processor by VM server, computer program instructions corresponding in nonvolatile memory read in internal memory to run and formed.Say from hardware view, as shown in Figure 3, for a kind of hardware structure diagram of the VM server at the indexing unit place of resource, except the processor shown in Fig. 3, network interface, internal memory and nonvolatile memory, VM server can also comprise other hardware, as the forwarding chip etc. of responsible process message; From hardware configuration, this VM server may be also distributed apparatus, may comprise multiple interface card, to carry out the expansion of Message processing at hardware view.
As shown in Figure 4, be the structural drawing of the indexing unit of the resource of the present invention's proposition, the structural drawing of the indexing unit of described resource is applied on VM server, and the indexing unit of described resource specifically comprises:
Receiver module 11, for receiving the retrieving information of user's input;
Obtain module 12, for obtaining actual resource corresponding to described retrieving information and virtual resource;
Output module 13, for being shown to described user by described actual resource and described virtual resource.
Described acquisition module 12, specifically for before obtaining actual resource corresponding to described retrieving information and virtual resource, at index data base establishment stage, for each resource, obtain actual resource and the virtual resource attribute type of described resource, index data base is set up according to described actual resource and described virtual resource attribute type, wherein, described index data base comprises key word, Resource Properties uniform resource position mark URL and described virtual resource attribute type, and described Resource Properties URL comprises described actual resource and described virtual resource attribute type; In the process obtaining actual resource corresponding to described retrieving information and virtual resource, in the retrieval phase of resource, inquire about described index data base by described retrieving information, obtain the Resource Properties URL that described retrieving information is corresponding; From described Resource Properties URL, obtain actual resource corresponding to described retrieving information and virtual resource attribute type, and obtain virtual resource corresponding to described virtual resource attribute type.
Described acquisition module 12, specifically for inquiring about described index data base by described retrieving information, obtain the process of Resource Properties URL corresponding to described retrieving information, when described retrieving information is key word, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to all virtual resource attribute types; Or, when described retrieving information be key word and virtual resource attribute type time, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to described virtual resource attribute type.
Described acquisition module 12, specifically for obtaining the actual resource of described resource and the process of virtual resource attribute type, query resource structural drawing, the each equipment class resource comprised for resource structures figure and each service class resource, obtain actual resource and the virtual resource attribute type of each resource according to following process:
A, judge whether the equipment class resource that there is non-selected mistake, if so, perform B, otherwise perform C;
B, from the equipment class resource of non-selected mistake, select an equipment class resource, and obtain actual resource and the virtual resource attribute type of the equipment class resource of current selection, and perform A;
C, judge whether the service class resource that there is non-selected mistake, if so, perform D; Otherwise perform E;
D, from the service class resource of non-selected mistake, select a service class resource, and obtain actual resource and the virtual resource attribute type of the service class resource of current selection, and perform C;
The procurement process of E, end actual resource and virtual resource attribute type.
In the embodiment of the present invention, the storage organization of described Resource Properties URL specifically comprises: Res: // actual resource=xxx & virtual resource attribute type=yyy; Or, Res: // actual resource=xxx & virtual resource attribute type=yyy & Resource Properties subtype=zzz.Further, described actual resource comprise following one or more: resource identification, resource name, resource type; Described virtual resource attribute type comprise following one or more: Configuration Type, action type, associated services type, operand type.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. a search method for resource, is characterized in that, said method comprising the steps of:
Receive the retrieving information of user's input;
Obtain actual resource corresponding to described retrieving information and virtual resource;
Described actual resource and described virtual resource are shown to described user.
2. method according to claim 1, is characterized in that,
Before obtaining actual resource corresponding to described retrieving information and virtual resource, at index data base establishment stage, for each resource, obtain actual resource and the virtual resource attribute type of described resource, index data base is set up according to described actual resource and described virtual resource attribute type, wherein, described index data base comprises key word, Resource Properties uniform resource position mark URL and described virtual resource attribute type, and described Resource Properties URL comprises described actual resource and described virtual resource attribute type;
The process of the actual resource that the described retrieving information of described acquisition is corresponding and virtual resource, specifically comprises: in the retrieval phase of resource, inquires about described index data base by described retrieving information, obtains the Resource Properties URL that described retrieving information is corresponding; From described Resource Properties URL, obtain actual resource corresponding to described retrieving information and virtual resource attribute type, and obtain virtual resource corresponding to described virtual resource attribute type.
3. method according to claim 2, is characterized in that, describedly inquires about described index data base by described retrieving information, obtains the process of Resource Properties URL corresponding to described retrieving information, specifically comprises:
When described retrieving information is key word, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to all virtual resource attribute types; Or,
When described retrieving information be key word and virtual resource attribute type time, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to described virtual resource attribute type.
4. method according to claim 2, is characterized in that, described for each resource, obtains the actual resource of described resource and the process of virtual resource attribute type, specifically comprises:
Query resource structural drawing, each equipment class resource comprised for described resource structures figure and each service class resource, obtain actual resource and the virtual resource attribute type of each resource in accordance with the following steps:
A, judge whether the equipment class resource that there is non-selected mistake, if so, perform B, otherwise perform C;
B, from the equipment class resource of non-selected mistake, select an equipment class resource, and obtain actual resource and the virtual resource attribute type of the equipment class resource of current selection, and perform A;
C, judge whether the service class resource that there is non-selected mistake, if so, perform D; Otherwise perform E;
D, from the service class resource of non-selected mistake, select a service class resource, and obtain actual resource and the virtual resource attribute type of the service class resource of current selection, and perform C;
The procurement process of E, end actual resource and virtual resource attribute type.
5. method according to claim 2, is characterized in that, the storage organization of described Resource Properties URL specifically comprises: Res: // actual resource=xxx & virtual resource attribute type=yyy; Or, Res: // actual resource=xxx & virtual resource attribute type=yyy & Resource Properties subtype=zzz.
6. the method according to any one of claim 1-5, is characterized in that, described actual resource comprise following one or more: resource identification, resource name, resource type; Described virtual resource attribute type comprise following one or more: Configuration Type, action type, associated services type, operand type.
7. an indexing unit for resource, is characterized in that, described device specifically comprises:
Receiver module, for receiving the retrieving information of user's input;
Obtain module, for obtaining actual resource corresponding to described retrieving information and virtual resource;
Output module, for being shown to described user by described actual resource and described virtual resource.
8. device according to claim 7, is characterized in that,
Described acquisition module, specifically for before obtaining actual resource corresponding to described retrieving information and virtual resource, at index data base establishment stage, for each resource, obtain actual resource and the virtual resource attribute type of described resource, index data base is set up according to described actual resource and described virtual resource attribute type, wherein, described index data base comprises key word, Resource Properties uniform resource position mark URL and described virtual resource attribute type, and described Resource Properties URL comprises described actual resource and described virtual resource attribute type;
In the process obtaining actual resource corresponding to described retrieving information and virtual resource, in the retrieval phase of resource, inquire about described index data base by described retrieving information, obtain the Resource Properties URL that described retrieving information is corresponding; From described Resource Properties URL, obtain actual resource corresponding to described retrieving information and virtual resource attribute type, and obtain virtual resource corresponding to described virtual resource attribute type.
9. device according to claim 8, is characterized in that,
Described acquisition module, specifically for inquiring about described index data base by described retrieving information, obtain in the process of Resource Properties URL corresponding to described retrieving information, when described retrieving information is key word, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to all virtual resource attribute types; Or, when described retrieving information be key word and virtual resource attribute type time, by inquiring about described index data base, obtain described key word and Resource Properties URL corresponding to described virtual resource attribute type.
10. device according to claim 8, is characterized in that,
Described acquisition module, specifically in the acquisition actual resource of described resource and the process of virtual resource attribute type, query resource structural drawing, the each equipment class resource comprised for resource structures figure and each service class resource, obtain actual resource and the virtual resource attribute type of each resource according to following process:
A, judge whether the equipment class resource that there is non-selected mistake, if so, perform B, otherwise perform C;
B, from the equipment class resource of non-selected mistake, select an equipment class resource, and obtain actual resource and the virtual resource attribute type of the equipment class resource of current selection, and perform A;
C, judge whether the service class resource that there is non-selected mistake, if so, perform D; Otherwise perform E;
D, from the service class resource of non-selected mistake, select a service class resource, and obtain actual resource and the virtual resource attribute type of the service class resource of current selection, and perform C;
The procurement process of E, end actual resource and virtual resource attribute type.
11. devices according to claim 8, is characterized in that, the storage organization of described Resource Properties URL specifically comprises: Res: // actual resource=xxx & virtual resource attribute type=yyy; Or, Res: // actual resource=xxx & virtual resource attribute type=yyy & Resource Properties subtype=zzz.
12. devices according to Claim 8 described in-11 any one, is characterized in that, described actual resource comprise following one or more: resource identification, resource name, resource type; Described virtual resource attribute type comprise following one or more: Configuration Type, action type, associated services type, operand type.
CN201510612719.5A 2015-09-23 2015-09-23 Resource retrieving method and device Pending CN105279233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510612719.5A CN105279233A (en) 2015-09-23 2015-09-23 Resource retrieving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510612719.5A CN105279233A (en) 2015-09-23 2015-09-23 Resource retrieving method and device

Publications (1)

Publication Number Publication Date
CN105279233A true CN105279233A (en) 2016-01-27

Family

ID=55148247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510612719.5A Pending CN105279233A (en) 2015-09-23 2015-09-23 Resource retrieving method and device

Country Status (1)

Country Link
CN (1) CN105279233A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093094A (en) * 2017-12-08 2018-05-29 腾讯科技(深圳)有限公司 Database instance access method, device, system, storage medium and equipment
CN110598009A (en) * 2019-09-12 2019-12-20 北京达佳互联信息技术有限公司 Method and device for searching works, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075252A (en) * 2007-06-21 2007-11-21 腾讯科技(深圳)有限公司 Method and system for searching network
CN102024035A (en) * 2010-12-02 2011-04-20 东莞宇龙通信科技有限公司 Resource retrieval method and device
CN102193918A (en) * 2010-03-01 2011-09-21 汉王科技股份有限公司 Video retrieval method and device
CN102693272A (en) * 2011-03-15 2012-09-26 微软公司 Keyword extraction from uniform resource locators (URLs)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075252A (en) * 2007-06-21 2007-11-21 腾讯科技(深圳)有限公司 Method and system for searching network
CN102193918A (en) * 2010-03-01 2011-09-21 汉王科技股份有限公司 Video retrieval method and device
CN102024035A (en) * 2010-12-02 2011-04-20 东莞宇龙通信科技有限公司 Resource retrieval method and device
CN102693272A (en) * 2011-03-15 2012-09-26 微软公司 Keyword extraction from uniform resource locators (URLs)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093094A (en) * 2017-12-08 2018-05-29 腾讯科技(深圳)有限公司 Database instance access method, device, system, storage medium and equipment
CN110598009A (en) * 2019-09-12 2019-12-20 北京达佳互联信息技术有限公司 Method and device for searching works, electronic equipment and storage medium
CN110598009B (en) * 2019-09-12 2022-04-22 北京达佳互联信息技术有限公司 Method and device for searching works, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11669499B2 (en) Management of journal entries associated with customizations of knowledge objects in a search head cluster
US11822597B2 (en) Geofence-based object identification in an extended reality environment
CN107798038B (en) Data response method and data response equipment
US11145123B1 (en) Generating extended reality overlays in an industrial environment
US20150363640A1 (en) Automatically organizing images
CN107306196A (en) Virtualization services monitoring method and device
CN111339171B (en) Data query method, device and equipment
US11947614B1 (en) Method and system for centralized multi-instance deployment consolidation
CN101464894A (en) Data query method and system
CN104462430A (en) Relational database data processing method and device
US11089107B1 (en) Management of connected sensor devices
CN108259533A (en) A kind of data transmission method and device
CN111026709B (en) Data processing method and device based on cluster access
US11461408B1 (en) Location-based object identification and data visualization
JP2010146332A (en) Information processing apparatus, system, method and program for providing information and recording medium
CN105279233A (en) Resource retrieving method and device
US8407255B1 (en) Method and apparatus for exploiting master-detail data relationships to enhance searching operations
CN111723245A (en) Method for establishing incidence relation of different types of storage objects in data storage system
US11302083B1 (en) Web-based three-dimensional extended reality workspace editor
CN112199463A (en) Data query method, device and equipment
CN105740251B (en) Method and system for integrating different content sources in bus mode
CN106452855B (en) Article label adding method and device
US11544343B1 (en) Codeless anchor generation for detectable features in an environment
CN112434189A (en) Data query method, device and equipment
CN104866563A (en) Album searching method and apparatus

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

Application publication date: 20160127

RJ01 Rejection of invention patent application after publication