CN109213536A - Resource exhibition method, resource show configuration method, device and the equipment of class control - Google Patents

Resource exhibition method, resource show configuration method, device and the equipment of class control Download PDF

Info

Publication number
CN109213536A
CN109213536A CN201810917770.0A CN201810917770A CN109213536A CN 109213536 A CN109213536 A CN 109213536A CN 201810917770 A CN201810917770 A CN 201810917770A CN 109213536 A CN109213536 A CN 109213536A
Authority
CN
China
Prior art keywords
resource
control
class control
page
class
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
CN201810917770.0A
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.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810917770.0A priority Critical patent/CN109213536A/en
Publication of CN109213536A publication Critical patent/CN109213536A/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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This specification embodiment provides a kind of resource exhibition method, device, equipment and storage medium, and method includes: the associated more new resources of index information searched the resource in the page and show class control;If finding, when showing the page, the more new resources are loaded;If not finding, when showing the page, the preset resource of the control is loaded.Configuration method, device, equipment and the storage medium of a kind of resource displaying class control are also provided, method includes: the more new resources for obtaining resource and showing class control;The more new resources are associated with preservation with the index information of the control, which searches associated more new resources for client, and more new resources are loaded when showing the page.The technical solution that this specification embodiment provides, can resource simple, that neatly dynamic update control is shown.

Description

Resource exhibition method, resource show configuration method, device and the equipment of class control
Technical field
This specification embodiment is related to field of computer technology more particularly to a kind of resource exhibition method, device, computer Equipment and computer readable storage medium and a kind of resource show configuration method, device, computer equipment and the meter of class control Calculation machine readable storage medium storing program for executing.
Background technique
There are a large amount of pre-allocated recourses (text, pictures etc.) for client software, and after client software starting, these are prewired It sets resource and the load of class control is shown by resource, to show user.Resource shows that class control is the programming that development platform provides Interface, such as TextView, ImageView, UILabel are used in client software text exhibition, the resources such as picture.
The possible human error of development process causes the content of pre-allocated recourses there are mistake, and the mistake is undiscovered so that visitor Family end software band defect (Bug) is online, the subsequent resource for just needing to modify resource and showing class control exposure;Or for other originals Because (such as cooperation propaganda activity) will modify locally-written dead a text or picture.
For above situation, it usually needs remove modification control needs by way of patch, dynamic push software upgrading packet The resource of displaying.
A kind of simple, flexible mode is needed to realize the update for showing class control institute showing resource to resource.
Summary of the invention
This specification embodiment provides a kind of resource exhibition method, device, computer equipment and computer-readable storage medium Matter, can resource simple, that neatly more new resources displaying class control is shown.
In a first aspect, this specification embodiment provides a kind of resource exhibition method, comprising:
Search the associated more new resources of index information that the resource in the page shows class control;
If finding, when showing the page, the more new resources are loaded;
If not finding, when showing the page, the preset resource that the resource shows class control is loaded.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, control mark includes that the resource shows the class name of the corresponding data transmission class of class control and described The number of resource displaying class control.
Optionally, the resource searched in the page shows the associated more new resources of index information of class control, comprising:
The associated more new resources of index information that the resource in the page shows class control are searched by configuration manager.
Optionally, the index mark that the resource displaying class control in the page is searched by configuration manager is associated more New resources, comprising: search the index that the resource in the page shows class control in local storage by the configuration manager The more new resources of information association;
This method further include: the configuration manager is by the update resource downloading in server to the local storage.
Optionally, before the associated more new resources of index information for searching the resource displaying class control in the page, this method Further include:
After the resource shows class control initialization example, the page iden-tity and control mark are obtained;
The index information is generated using the page iden-tity of acquisition and control mark.
Second aspect, this specification embodiment provide a kind of resource displaying device, comprising:
Resource lookup module is updated, the associated update money of index information of class control is shown for searching the resource in the page Source;
First resource loading module, if when showing the page, loading the more new resources for finding;
Secondary resource loading module, if when showing the page, loading the resource for not finding and showing class control Preset resource.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, the control mark includes that the resource shows the corresponding executable file name of class control and the resource Show the number of class control.
Optionally, the update resource lookup module is specifically used for:
The associated more new resources of index information that the resource in the page shows class control are searched by configuration manager.
Optionally, the update resource lookup module is specifically used for: through the configuration manager in local storage Search the associated more new resources of index information that the resource in the page shows class control;
Further include configuration manager, be used for: by the update resource downloading by server to the local storage.
Optionally, further include index information generation module, be used for:
After the resource shows class control initialization example, the page iden-tity and control mark are obtained;
The index information is generated using the page iden-tity of acquisition and control mark.
The third aspect, this specification embodiment provide a kind of computer equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned any means embodiment is realized when for executing the computer program.
Fourth aspect, this specification embodiment provide a kind of computer readable storage medium, are stored thereon with computer journey The step of sequence, the computer program realizes above-mentioned any means embodiment when being executed by processor.
This specification embodiment has the beneficial effect that:
For resource show class control add index information, load its shown by resource before, first search the index letter Associated more new resources are ceased, if finding, the more new resources is loaded if not finding and loads default resource.By this Implementation, when needing more new resources to show resource shown by class control, it is only necessary to configuration more new resources, and and index information Association, without rewriting code and updating software, implementation simple and flexible.
This specification embodiment provides configuration method, device, computer equipment and the calculating of a kind of resource displaying class control Machine readable storage medium storing program for executing, can resource simple, that neatly more new resources displaying class control is shown.
In a first aspect, this specification embodiment provides a kind of configuration method of resource displaying class control, comprising:
Obtain the more new resources that resource shows class control;
The more new resources are shown that the index information of class control is associated with preservation with the resource, the index information is used for Client searches the associated more new resources, and loads the update in the page where showing that the resource shows class control Resource.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, control mark includes that the resource shows the class name of the corresponding data transmission class of class control and described The number of resource displaying class control.
Based on above-mentioned any means embodiment, optionally, this method further include:
To using the resource to show, at least one client of class control sends the more new resources.
Second aspect, this specification embodiment provide a kind of configuration device of resource displaying space-like, comprising:
Source obtaining module is updated, the more new resources of class control are shown for obtaining resource;
Resource conservation module is updated, for the more new resources to be shown that the index information of class control is associated with the resource It saves, the index information searches the associated more new resources for client, and shows class control in the display resource The more new resources are loaded when the page of place.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, control mark includes that the resource shows the class name of the corresponding data transmission class of class control and described The number of resource displaying class control.
Optionally, further include more new resources sending module, be used for:
To using the resource to show, at least one client of class control sends the more new resources.
The third aspect, this specification embodiment provide a kind of computer equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned any means embodiment is realized when for executing the computer program.
Fourth aspect, this specification embodiment provide a kind of computer readable storage medium, are stored thereon with computer journey The step of sequence, the computer program realizes above-mentioned any means embodiment when being executed by processor.
This specification embodiment has the beneficial effect that:
Show that class control adds index information for resource, correspondingly, needing more new resources to show shown by class control When resource, more new resources are obtained, and be associated withs preservation with index information, so that client is before resource of the load shown by it, The associated more new resources of the index information are first searched, if finding, load the more new resources, if not finding, load is silent Recognize resource.Through this implementation, when needing more new resources to show resource shown by class control, it is only necessary to which configuration updates money Source, and be associated with index information, without rewriting code and updating software, implementation simple and flexible.
Detailed description of the invention
Fig. 1 is the system architecture schematic diagram that this specification embodiment provides;
Fig. 2 is the resource exhibition method flow chart that this specification one embodiment provides;
Fig. 3 is the resource exhibition method flow chart that another embodiment of this specification provides;
Fig. 4 is that the resource that this specification embodiment provides shows schematic device;
Fig. 5 is the configuration method flow chart that the resource that this specification embodiment provides shows class control;
Fig. 6 is the configuration device schematic diagram that the resource that this specification embodiment provides shows class control.
Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.
This specification embodiment provide resource exhibition method and resource show class control configuration method can with but not only Limit is applied to system shown in FIG. 1.In the system shown in figure 1, the method that can be provided using this specification embodiment is realized Dynamic resource updates: showing that class control is transformed to resource in advance, shows that class control assigns dynamic updating ability for resource, As resource shows that class control adds index information, by the index information, on the one hand can find corresponding resource and show On the other hand class control can find more new resources, to realize that resource shows the resource updates of class control.Wherein, it services Device 101 obtains the more new resources that resource shows class control, and the more new resources and the resource are shown to the index information of class control Association saves;Correspondingly, client device 102, which searches the resource in the page, shows the associated update money of the index information of class control Source loads the more new resources when showing the page if finding, to realize that the dynamic that resource is shown updates.
Wherein, server 101 may include separate server, also may include the server group of multiple server compositions. If topology both may include centralized server group including multiple servers, also may include distributed server group (such as Server cluster, Cloud Server etc.).
Wherein, client device 102 can with but be not limited only to include mobile terminal, palm PC, PC machine.
The technical solution that this specification embodiment provides is carried out from client device side and server side separately below detailed It describes in detail bright.
This specification embodiment provides a kind of resource exhibition method, and this method is applied in client device side, such as Fig. 2 institute Show, this method comprises:
Step 201 searches the associated more new resources of index information that the resource in the page shows class control.
Wherein, the page can refer to the page shown in client software, correspondingly, the step is specifically soft by client Part is realized;The page may also mean that the page of browser, correspondingly, the step is specifically to be realized by browser.
Wherein, more new resources are the concepts opposite with the resource displaying preset resource of class control, are referred to preset for replacing The displaying content (such as text, picture) of resource.
If finding, when executing step 203, showing the above-mentioned page, above-mentioned more new resources are loaded.
If not finding, when executing step 205, showing the above-mentioned page, the preset money that above-mentioned resource shows class control is loaded Source.
The technical solution that this specification embodiment provides shows that class control adds index information for resource, is loading its institute Before the resource of display, the associated more new resources of the index information are first searched, if finding, the more new resources are loaded, if not It finds, then loads default resource.By this implementation, more new resources is being needed to show resource shown by class control When, it is only necessary to configuration more new resources, and be associated with index information, without rewriting code and updating software, implementation letter It is single flexible.
As described above, the method that this specification embodiment provides, shows that class control assigns mobilism allocative abilities for resource, The mobilism is mainly reflected in the dynamic modification to contents such as text, pictures, does not change original service logic, without compiling again Write code.Class control distribution index information is shown particular by for resource, shows space-like by index information correlated resources The resource (i.e. more new resources) modified with needs, to realize the dynamic modification of resource.Wherein, index information is for positioning control Part, and it is associated with control and resource.To reach the purpose, index information may include page iden-tity (the i.e. page of the page where control Face ViewId) and control control identify (DynamicId).In order to realize batch updating (such as to using identical version software Multiple client on all carry out control show resource update, need to install the identical control in the client of identical version software The index information of part is identical, and therefore, control mark, which can be resource and show in class control construction process, to be configured.
For client software, resource shows that the construction of class control is carried out in the compilation process of software, because This, control mark is configured and is fixed up during software translating.Pass through the side of Remote configuration KEY-VALUE (key-value pair) Formula issues more new resources, and the update of showing resource may be implemented in the control in all softwares for running corresponding version.
Further, above-mentioned control mark can also include resource show the corresponding data transmission class of class control (such as Bundle class name and the resource) shows the number of class control.Wherein, resource shows that the number of class control can be constructed in control Period by way of increasing the Custom Attributes of control newly configuring.
It should be pointed out that above are only index information data composition for example, in practical application, it is all to position Class control is shown to resource, and the data format of control and resource associations can be used equally for index information.
Above-mentioned index information be it is preconfigured, the process for being pre-configured with index information is alternatively referred to as preprocessing process.Tool Body, it can be according to the page file type (such as XML type, JAVA type) for showing class control comprising resource, selection text The corresponding script of part type shows that class control configures Custom Attributes and category by the script selected for the resource in page file Property value (i.e. the number of control).
Since page iden-tity and class name are all existing, thus, it is only required to be pre-configured with the number of control.
In the technical solution that this specification embodiment provides, there are many implementations of above-mentioned steps 201, a kind of preferred In implementation, the index information that the resource in the page shows class control is searched by configuration manager (ConfigManager) Associated more new resources.Specifically, sending inquiry request to configuration manager, phase is searched according to inquiry request by configuration manager The more new resources answered.By calling configuration manager to realize, resource lookup, implementation are simple and efficient.
Further, in order to improve search efficiency, configuration manager can be arrived the update resource downloading in server This secondary memory (such as disk, memory);Correspondingly, being searched in the page in local storage when requiring to look up more new resources More new resources.
Wherein, configuration manager can access server after client software starting;It can also be according to the scheduled period Server is accessed, and downloads more new resources;Server can also be accessed according to the update notification of server, and download update money Source.
Certainly, the technical solution that this specification embodiment provides directly can also search more new resources in server end.
In this specification embodiment, update resource conservation is in specific storage location (in such as server or local storage Particular memory location), in a kind of implementation, newest more new resources are only saved in the storage location, for example, resource management After device has downloaded more new resources, history more new resources can be override, then, it is in the more new resources that the storage location is found The resource for needing to show;In another implementation, newest more new resources are not only saved in the storage location, also preservation history More new resources, then, the target of lookup is newest more new resources, and the implementation for judging whether it is newest more new resources has It is a variety of, for example, each more new resources Jun You version number, judges whether it is newest more new resources by version number, in another example, often A more new resources are corresponding with renewal time, judge whether it is newest more new resources by renewal time.
In above method embodiment, the index information of control is made of multiple marks, correspondingly, empty to save storage Between, it does not need to pre-save index information, but generates index information when requiring to look up more new resources.Correspondingly, searching Before resource in the page shows the associated more new resources of index information of class control, show that the initialization of class control is real in the resource After example, above-mentioned page iden-tity and above-mentioned control mark are obtained;Index information is generated using page iden-tity and the control mark of acquisition.
The resource exhibition method that this specification embodiment provides, the resource suitable for client software show class control institute The dynamic of showing resource updates, and the resource being also applied in browser page shows that the dynamic of class control institute showing resource updates.
Below by taking the resource in client software shows the dynamic update of class control institute showing resource as an example, to this specification The resource exhibition method that embodiment provides is described in detail.
As shown in figure 3, calling configuration manager more new resources first are matched after client software starting (i.e. program operation) It sets, i.e., configuration manager downloads more new resources (induction disk update) from server end.Specifically, configuration manager can be to clothes Business device end sends resource updates request, and the version number of client software is carried in the request, if the client software has update money Source, then server end more will be sent to configuration manager by new resources;Configuration manager will update resource conservation to local storage, Realize the synchronization of more new resources.
It completes after updating resource distribution, client software is that resource shows that class control initializes example, later, reads resource Bundle name (BundleName, i.e. the resource exhibition of the page iden-tity (ViewId), client software of the page where showing class control Show the class name of class control corresponding data transmission class) and resource displaying class number (ID), index is generated by cascade mode Information (CombinedID).
That is CombinedId=ViewId+BundleName+ID
Such as: 1058601064_alipass_16,1058608495_antui_2.Wherein, " 1058601064 ", " 1058608495 " are ViewID, and " alipass ", " antui " are BundleName, and " 16 ", " 2 " are the number of control.
It should be pointed out that and not all resource shows that class control supports dynamic more new resources, that is, have index information.Cause This, the resource that client software is directed to the number for finding control shows that class control generates index xinxi, to not finding control Number resource show class control according to existing service logic carry out resource load.
Show that class control, client software call configuration manager (i.e. setting resource side for the resource for finding number Method is called), more new resources (i.e. replacement resource) is searched using index information (CombinedID) by configuration manager, if searching It arrives, then when showing the page, load more new resources (implement replacement), if not finding, when showing the page, load control Preset resource (i.e. original logic).
The technical solution that this specification embodiment provides is that a kind of mobilism of lightweight is energized scheme, and business development is basic Unaware, processes of research & development is without adjustment;Mobilism is mainly reflected in the dynamic modification to contents such as text, pictures.
Based on inventive concept same as method, this specification embodiment provides a kind of resource displaying device, such as Fig. 4 institute Show, comprising:
Resource lookup module 401 is updated, shows that the index information of class control is associated more for searching the resource in the page New resources;
First resource loading module 402, if when showing the page, loading the more new resources for finding;
Secondary resource loading module 403, if when showing the page, loading the resource for not finding and showing class The preset resource of control.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, the control mark includes that the resource shows the corresponding executable file name of class control and the resource Show the number of class control.
Optionally, the update resource lookup module is specifically used for:
The associated more new resources of index information that the resource in the page shows class control are searched by configuration manager.
Optionally, the update resource lookup module is specifically used for: through the configuration manager in local storage Search the associated more new resources of index information that the resource in the page shows class control;
Further include configuration manager, be used for: by the update resource downloading by server to the local storage.
Optionally, further include index information generation module, be used for:
After the resource shows class control initialization example, the page iden-tity and control mark are obtained;
The index information is generated using the page iden-tity of acquisition and control mark.
Based on inventive concept same as method, this specification embodiment provides a kind of computer equipment, comprising: storage Device, for storing computer program;Processor realizes above-mentioned any means embodiment when for executing the computer program Step.
Based on inventive concept same as method, this specification embodiment provides a kind of computer readable storage medium, On be stored with computer program, the computer program realizes above-mentioned any means embodiment when being executed by processor the step of.
This specification embodiment provides a kind of configuration method of resource displaying class control, and this method is applied in server side, As shown in figure 5, this includes:
Step 502 obtains the more new resources that resource shows class control.
Wherein it is possible to be inputted on the server by staff, server obtains the more new resources of input;Service The device more new resources that also available other equipment are sent.
Server also obtains the control index that the resource shows class control together, to identify the corresponding control of more new resources Part.
The more new resources are shown that the index information of class control is associated with preservation, the index with the resource by step 504 Information searches the associated more new resources for client, and loads in the page where showing that the resource shows class control The more new resources.
The method that this specification embodiment provides shows that class control adds index information for resource, correspondingly, needing more When new resources show resource shown by class control, more new resources are obtained, and preservation is associated with index information, so that client exists Before loading the resource shown by it, the associated more new resources of the index information are first searched, if finding, load update money Source loads default resource if not finding.By this implementation, more new resources is being needed to show shown by class control Resource when, it is only necessary to configuration more new resources and be associated withs with index information, without rewriting code and updating software, realization Mode simple and flexible.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, control mark includes that the resource shows the class name of the corresponding data transmission class of class control and described The number of resource displaying class control.
As described in above-mentioned resource display method embodiment, identical control in the client software of same version can be with Batch updating is realized based on identical index information.Based on above-mentioned any means embodiment, optionally, this method further include: to Show that at least one client of class control sends the more new resources using the resource.
Wherein, server end can be by issuing update notification to active transmission more new resources, can also be according to client The request at end sends more new resources.
Based on inventive concept same as method, this specification embodiment provides a kind of configuration dress of resource displaying space-like It sets, as shown in Figure 6, comprising:
Source obtaining module 601 is updated, shows the corresponding more new resources of class control for obtaining resource;
Resource conservation module 602 is updated, for the more new resources and the resource to be shown to the index information of class control Association saves, and the index information searches the associated more new resources for client, and loads when showing the page The more new resources.
Optionally, the resource shows that the index information of class control includes the page iden-tity and the resource exhibition of the page Show the control mark of class control, the control identifies to be configured in the resource displaying class control construction process.
Optionally, control mark includes that the resource shows the class name of the corresponding data transmission class of class control and described The number of resource displaying class control.
Optionally, further include more new resources sending module, be used for:
To using the resource to show, at least one client of class control sends the more new resources.
Based on inventive concept same as method, this specification embodiment provides a kind of computer equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned any means embodiment is realized when for executing the computer program.
Based on inventive concept same as method, this specification embodiment provides a kind of computer readable storage medium, On be stored with computer program, the computer program realizes above-mentioned any means embodiment when being executed by processor the step of.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill Within the scope of art, then this specification is also intended to include these modifications and variations.

Claims (24)

1. a kind of resource exhibition method characterized by comprising
Search the associated more new resources of index information that the resource in the page shows class control;
If finding, when showing the page, the more new resources are loaded;
If not finding, when showing the page, the preset resource that the resource shows class control is loaded.
2. the method according to claim 1, wherein the resource shows that the index information of class control includes described The page iden-tity of the page and the resource show that the control mark of class control, the control mark are that the resource shows class control It is configured in construction process.
3. according to the method described in claim 2, it is characterized in that, control mark includes that the resource shows class control pair The class name for the data transmission class answered and the resource show the number of class control.
4. described in any item methods according to claim 1~3, which is characterized in that the resource searched in the page shows class The associated more new resources of the index information of control, comprising:
The associated more new resources of index information that the resource in the page shows class control are searched by configuration manager.
5. according to the method described in claim 4, it is characterized in that, the resource exhibition searched by configuration manager in the page Show that the index of class control identifies associated more new resources, comprising: page is searched in local storage by the configuration manager Resource in face shows the associated more new resources of index information of class control;
This method further include: the configuration manager is by the update resource downloading in server to the local storage.
6. according to the method in claim 2 or 3, which is characterized in that search the index that the resource in the page shows class control Before the more new resources of information association, this method further include:
After the resource shows class control initialization example, the page iden-tity and control mark are obtained;
The index information is generated using the page iden-tity of acquisition and control mark.
7. a kind of resource shows device characterized by comprising
Resource lookup module is updated, the associated more new resources of index information of class control are shown for searching the resource in the page;
First resource loading module, if when showing the page, loading the more new resources for finding;
Secondary resource loading module, if when showing the page, loading the resource for not finding and showing the pre- of class control Set resource.
8. device according to claim 7, which is characterized in that the resource shows that the index information of class control includes described The page iden-tity of the page and the resource show that the control mark of class control, the control mark are that the resource shows class control It is configured in construction process.
9. device according to claim 8, which is characterized in that the control mark includes that the resource shows class control pair The executable file name answered and the resource show the number of class control.
10. according to the described in any item devices of claim 7~9, which is characterized in that the update resource lookup module is specifically used In:
The associated more new resources of index information that the resource in the page shows class control are searched by configuration manager.
11. device according to claim 10, which is characterized in that the update resource lookup module is specifically used for: passing through The configuration manager searches the resource in the page in local storage and shows the associated update money of the index information of class control Source;
Further include configuration manager, be used for: by the update resource downloading by server to the local storage.
12. device according to claim 8 or claim 9, which is characterized in that further include index information generation module, be used for:
After the resource shows class control initialization example, the page iden-tity and control mark are obtained;
The index information is generated using the page iden-tity of acquisition and control mark.
13. a kind of computer equipment characterized by comprising
Memory, for storing computer program;
Processor, the step of method according to any one of claims 1 to 6 is realized when for executing the computer program.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method according to any one of claims 1 to 6 is realized when being executed by processor.
15. the configuration method that a kind of resource shows class control characterized by comprising
Obtain the more new resources that resource shows class control;
The more new resources are shown that the index information of class control is associated with preservation with the resource, the index information is used for client The associated more new resources are searched at end, and the update money is loaded in the page where showing that the resource shows class control Source.
16. according to the method for claim 15, which is characterized in that the resource shows that the index information of class control includes institute The page iden-tity and the resource for stating the page show that the control mark of class control, the control mark are that the resource shows class control It is configured in part construction process.
17. according to the method for claim 16, which is characterized in that the control mark includes that the resource shows class control The class name of corresponding data transmission class and the resource show the number of class control.
18. 5~17 described in any item methods according to claim 1, which is characterized in that this method further include:
To using the resource to show, at least one client of class control sends the more new resources.
19. the configuration device that a kind of resource shows space-like characterized by comprising
Source obtaining module is updated, the more new resources of class control are shown for obtaining resource;
Resource conservation module is updated, for the more new resources to be shown that the index information of class control is associated with guarantor with the resource It deposits, the index information searches the associated more new resources for client, and is showing resource displaying class control institute The more new resources are loaded in the page.
20. device according to claim 19, which is characterized in that the resource shows that the index information of class control includes institute The page iden-tity and the resource for stating the page show that the control mark of class control, the control mark are that the resource shows class control It is configured in part construction process.
21. device according to claim 20, which is characterized in that the control mark includes that the resource shows class control The class name of corresponding data transmission class and the resource show the number of class control.
22. 9~21 described in any item devices according to claim 1, which is characterized in that it further include more new resources sending module, For:
To using the resource to show, at least one client of class control sends the more new resources.
23. a kind of computer equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the step of method described in any one of claim 15~18 when for executing the computer program Suddenly.
24. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claim 15~18 is realized when being executed by processor.
CN201810917770.0A 2018-08-13 2018-08-13 Resource exhibition method, resource show configuration method, device and the equipment of class control Pending CN109213536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810917770.0A CN109213536A (en) 2018-08-13 2018-08-13 Resource exhibition method, resource show configuration method, device and the equipment of class control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810917770.0A CN109213536A (en) 2018-08-13 2018-08-13 Resource exhibition method, resource show configuration method, device and the equipment of class control

Publications (1)

Publication Number Publication Date
CN109213536A true CN109213536A (en) 2019-01-15

Family

ID=64988335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810917770.0A Pending CN109213536A (en) 2018-08-13 2018-08-13 Resource exhibition method, resource show configuration method, device and the equipment of class control

Country Status (1)

Country Link
CN (1) CN109213536A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347446A (en) * 2019-07-16 2019-10-18 阿里巴巴集团控股有限公司 A kind of page resource loading method and system
CN110489193A (en) * 2019-08-14 2019-11-22 北京猎户星空科技有限公司 Interface control method, device and the storage medium of smart machine
CN111949354A (en) * 2020-08-13 2020-11-17 北京字节跳动网络技术有限公司 Page content updating method and device
CN113010196A (en) * 2019-12-20 2021-06-22 武汉斗鱼鱼乐网络科技有限公司 Patch screening method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030424A1 (en) * 2008-07-30 2010-02-04 Fujitsu Limited View control system and view control method
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page
CN105242937A (en) * 2014-06-27 2016-01-13 中兴通讯股份有限公司 Method for dynamically updating application interface, terminal and system
CN106919406A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 A kind of desktop application component issue, update method and device
CN107179943A (en) * 2016-03-09 2017-09-19 广州优视网络科技有限公司 A kind of device for allocating resources and resource allocation method
CN107391507A (en) * 2016-05-16 2017-11-24 阿里巴巴集团控股有限公司 The update method and device of the mobile terminal page
CN107402775A (en) * 2016-05-19 2017-11-28 百度在线网络技术(北京)有限公司 Generation method, the device and system of webpage
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030424A1 (en) * 2008-07-30 2010-02-04 Fujitsu Limited View control system and view control method
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page
CN105242937A (en) * 2014-06-27 2016-01-13 中兴通讯股份有限公司 Method for dynamically updating application interface, terminal and system
CN106919406A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 A kind of desktop application component issue, update method and device
CN107179943A (en) * 2016-03-09 2017-09-19 广州优视网络科技有限公司 A kind of device for allocating resources and resource allocation method
CN107391507A (en) * 2016-05-16 2017-11-24 阿里巴巴集团控股有限公司 The update method and device of the mobile terminal page
CN107402775A (en) * 2016-05-19 2017-11-28 百度在线网络技术(北京)有限公司 Generation method, the device and system of webpage
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347446A (en) * 2019-07-16 2019-10-18 阿里巴巴集团控股有限公司 A kind of page resource loading method and system
CN110347446B (en) * 2019-07-16 2022-11-25 创新先进技术有限公司 Page resource loading method and system
CN110489193A (en) * 2019-08-14 2019-11-22 北京猎户星空科技有限公司 Interface control method, device and the storage medium of smart machine
CN113010196A (en) * 2019-12-20 2021-06-22 武汉斗鱼鱼乐网络科技有限公司 Patch screening method, device, equipment and storage medium
CN113010196B (en) * 2019-12-20 2023-09-26 武汉斗鱼鱼乐网络科技有限公司 Patch screening method, device, equipment and storage medium
CN111949354A (en) * 2020-08-13 2020-11-17 北京字节跳动网络技术有限公司 Page content updating method and device
CN111949354B (en) * 2020-08-13 2024-03-12 抖音视界有限公司 Page content updating method and device

Similar Documents

Publication Publication Date Title
CN108958796B (en) Service request processing method and device and service request processing system
CN107967159B (en) Method for configuring file application and server
CN109213536A (en) Resource exhibition method, resource show configuration method, device and the equipment of class control
CN109117169A (en) Method and apparatus for repairing kernel loophole
US9075633B2 (en) Configuration of life cycle management for configuration files for an application
US20230229437A1 (en) Container based application reification
US8489547B2 (en) System and method for transforming configuration data items in a configuration management database
CN110019080A (en) Data access method and device
CN108984272A (en) The control method and device of OpenStack cloud computing management platform
CN107193607A (en) Method and apparatus, storage medium, processor and terminal for updating code file
CN108415714A (en) The method for upgrading system and device of mobile terminal
WO2016145009A1 (en) Method and system for rapid deployment and execution of customized functionality across multiple distinct platforms
US20220147399A1 (en) Declarative language and compiler for provisioning and deploying data centers on cloud platforms
US20220360492A1 (en) Declarative specification based override mechanism for customizing data centers deployed on cloud platforms
US20070067353A1 (en) Smart path finding for file operations
CN114443076A (en) Mirror image construction method, device, equipment and storage medium
CN114996337A (en) Multi-cluster database management system and method
CN108733399A (en) The method and apparatus that dynamic updates configuration data
CN106598662A (en) Application loading method and device based on android
CN109918381A (en) Method and apparatus for storing data
US11848829B2 (en) Modifying a data center based on cloud computing platform using declarative language and compiler
CN108958933A (en) Configuration parameter update method, device and the equipment of task performer
US20200133709A1 (en) System and method for content - application split
US11907707B2 (en) Methods and systems for orchestrating software application variant configuration
CN109582487A (en) Method and apparatus for sending information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115