Summary of the invention
Wardrobe advertisement is received in order to solve existing intelligence and updates inconvenient, when downloads ad, flow consumption is big, makes to userIt is the problem of at puzzlement, a kind of the present invention provides method, equipment and storage equipment that a kind of long-range control intelligence receives wardrobe advertisementThe method that long-range control intelligence receives wardrobe advertisement, is applied in intelligent cloth-washing cabinet, the intelligence cloth-washing cabinet include: display module,Resource memory module, timing module and resource management module;Default advertisement is preset in the resource memory module;
It is characterized by: the method that a kind of long-range control intelligence receives wardrobe advertisement, comprising the following steps:
S101: the default advertisement in display module playing resource memory module;Resource management module triggering timing mould simultaneouslyThe clocking capability of block, timing module start timing;
S102: terminal device uploads advertising resource data to cloud server;The advertising resource data include: newestAdvertisement version number corresponding with the advertisement;
Does S103: resource management module judge whether timing terminates timing module? if so, arriving step S104;Otherwise continueTiming;
S104: resource management module obtains the version number of the advertisement in the advertising resource data stored in cloud server;Does and the version number that will acquire compare with the version number in resource memory module, whether judges Liang Ge version number? if so,Then return step S101;Otherwise, step S105 is gone to;
S105: resource management module is by the advertising resource data buffer storage in cloud server to resource memory module, simultaneouslyDelete original advertising resource data in resource memory module;And default advertisement is set by the advertisement of newest caching;Open meterWhen module new round timing;
The default advertisement otherwise only one, have unique version number;There are multiple advertising segments, this is multipleAdvertising segment co-owns a version number, when broadcasting, all advertising segment loop plays.
Further, in step S101, after timing starts, until completing to be then turned on a new round timing time-count cycle,Within a time-count cycle, no longer reclocking.
Further, intelligence is installed on the terminal device and receives wardrobe Advertising Management System, user can be according to correspondingAccount and code entry intelligently receive wardrobe Advertising Management System, resource data in resource memory module is uploaded, update andIt deletes.
Further, the terminal device is the background devices at the end Web.
Further, each intelligent cloth-washing cabinet has a corresponding number, is the unique identity of intelligent cloth-washing cabinet, noSame intelligent cloth-washing cabinet corresponds to different numbers.
Further, it is described intelligence receive wardrobe be built-in with router, SIM address card is installed in router, it can be achieved that onNet function.
Further, each round timing time of timing module is 24 hours.User can according to demand, to timing mouldThe each round timing time of block is adjusted, to change the advertisement refreshing frequency that intelligence receives wardrobe.
A kind of storage equipment, the storage equipment store instruction and data receive wardrobe for realizing a kind of long-range control intelligenceThe method of advertisement.
Further, in step S105, default advertisement is only to be updated, and display module plays new default advertisement immediately.
A kind of equipment that wardrobe advertisement is intelligently received in long-range control, comprising: processor and the storage equipment;The processorIt loads and executes instruction and data in the storage equipment for realizing a kind of method that long-range control intelligence receives wardrobe advertisement.
Technical solution provided by the invention has the benefit that the advertisement for receiving wardrobe about intelligence plays, existing solutionAdvertising resource is obtained when certainly scheme is usually in fact, larger network flow can be consumed by obtaining advertising resource in real time.It is proposed by the present inventionTechnical solution can realize that on-demand update intelligently receives the advertisement of wardrobe, control flow by adjusting timing renewal time of advertisementConsumption.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detailA specific embodiment of the invention.
The method and apparatus of wardrobe advertisement is received the embodiment provides a kind of long-range control intelligence and storage is setIt is standby.
Referring to FIG. 1, Fig. 1 is that a kind of control for the method that long-range control intelligence receives wardrobe advertisement is former in the embodiment of the present inventionReason figure, comprising: intelligence receives wardrobe, cloud server and terminal device;
It includes: display module, resource memory module, timing module and resource management module that intelligence, which receives wardrobe,;
Cloud server includes: that online management module, cloud storage module and resource issue module;
Terminal device includes: the background devices at the end Web, mobile phone;
The advertisement of default is preset in the resource memory module;
Referring to FIG. 2, Fig. 2 is a kind of process of the method for long-range control intelligence receipts wardrobe advertisement in the embodiment of the present inventionFigure, specifically comprises the following steps:
S101: the default advertisement in display module playing resource memory module;Resource management module triggering timing mould simultaneouslyThe clocking capability of block, timing module start timing;After timing starts, until completing to be then turned on a new round meter time-count cycleWhen, within a time-count cycle, no longer reclocking.
S102: terminal device uploads advertising resource data to cloud server;The advertising resource data include: newestAdvertisement version number corresponding with the advertisement;
Does S103: resource management module judge whether timing terminates timing module? if so, arriving step S104;Otherwise continueTiming;
S104: resource management module obtains the version number of the advertisement in the advertising resource data stored in cloud server;Does and the version number that will acquire compare with the version number in resource memory module, whether judges Liang Ge version number? if so,Then return step S101;Otherwise, step S105 is gone to;
S105: resource management module is by the advertising resource data buffer storage in cloud server to resource memory module, simultaneouslyDelete original advertising resource data in resource memory module;And default advertisement is set by the advertisement of newest caching;Open meterWhen module new round timing.
To be more specifically illustrated to the embodiment of the present invention, by the online management module in cloud server, Yun CunStorage module and resource issue effect of the module in whole flow process and are described in detail, and then step S101 to step S105 is correspondingDetailed step include;
S201: intelligence receives the advertisement of the display module playing resource memory module default of wardrobe;Resource management module simultaneouslyThe clocking capability of triggering timing module, timing module start timing;
S202: terminal device sends resource upload request to online management module;Online management module receives the moneyAfter the upload request of source, the resource data of terminal device is uploaded to resource memory module and is stored;The resource data includesAdvertising resource and intelligent cloth-washing cabinet number;The intelligence cloth-washing cabinet number is the unique identity of intelligent cloth-washing cabinet, differentIntelligent cloth-washing cabinet corresponds to different numbers;The advertising resource is corresponding with version number;
Does S203: resource management module judge whether timing terminates timing module? if so, arriving step S204;Otherwise continueTiming;
S204: resource management module issues module by resource and obtains the wide of the newest upload stored in resource memory moduleThe version number of resource is accused, and the version number of the advertising resource for the newest upload that will acquire and display module in intelligence receipts wardrobe are currentDoes the version number of the advertising resource of display compare, and whether judges version number? if so, return step S201;Otherwise, turnTo step S205;
S205: resource management module issues module by resource and obtains the newest advertisement stored in resource memory module moneySource;And the newest advertising resource that will acquire is cached to resource memory module, and the advertising resource of newest caching is set as defaultingAdvertisement;Original advertising resource in resource memory module is deleted simultaneously, the new round timing for opening timing module (has arrived stepRapid S201).So circulation, intelligence receipts wardrobe advertisement can be realized is cyclically updated broadcasting.
Each intelligence, which receives wardrobe, corresponding group number and number, and different groups number corresponds to different login accounts;Having in each group number includes multiple intelligent numbers for receiving wardrobes;User logs in intelligence by account and receives wardrobe advertising management systemIt, can be wide to being stored in the intelligent cloud server medium cloud memory module for receiving wardrobe group corresponding with the account after system logs inIt accuses resource and is uploaded, updated and is deleted etc. and operate.The same intelligence receives all intelligence in wardrobe group and receives what wardrobe playedAdvertisement is consistent.The intelligence of different groups receives the advertisement that wardrobe plays can be inconsistent.Concrete condition can require to carry out according to userSetting.
When the advertisement of broadcasting is static advertising, after advertisement plays, as soon as it does not recycle and broadcasts before a time-count cycle terminatesIt puts.
When the advertisement of broadcasting is dynamic advertising, the time-count cycle of timing module is more than or equal to the primary of dynamic advertisingPlaying duration, when dynamic advertising starts second of broadcasting, no longer triggering timing module reclocking, timing module is wide from dynamicIt accuses and starts timing when broadcasting for the first time, after timing, just carry out relevant operation, start the timing of a new round.
In the present embodiment, intelligence is installed on terminal device and receives wardrobe Advertising Management System, user can be according to correspondingAccount and code entry intelligently receive wardrobe Advertising Management System, resource data in resource memory module is uploaded, update andIt deletes.
In the present embodiment, intelligence receive wardrobe be built-in with router, SIM address card is installed in router, it can be achieved that onNet function.
In the present embodiment, each round timing time of timing module is 24 hours, is every night in the embodiment of the present invention11:00 point is the new round timing opening time of timing module, while resource management module can go detection to update display moduleAdvertising resource.User can according to demand be adjusted each round timing time of timing module, receive wardrobe to change intelligenceAdvertisement refreshing frequency.
In the present embodiment, it is that the function that issues of resource is realized by customized API that resource, which issues module, is belowThe function of customized API describes:
Interface description: detect and obtain the latest edition and download address information of the advertising resource of current intelligent cabinet
Input: cabinet number information obtains advertising resource type;
Output: return Current ad resource latest edition number information, resource downloading address link, resource the last time moreThe new time.
In this example it is shown that module shows advertising resource by way of two separate display.
Fig. 3 is referred to, Fig. 3 is the hardware device operation schematic diagram of the embodiment of the present invention, and the hardware device specifically includes:Equipment 301, processor 302 and the storage equipment 303 of wardrobe advertisement are intelligently received in a kind of long-range control.
The equipment 301 of wardrobe advertisement is intelligently received in a kind of long-range control: the long-range control intelligence of one kind receives wardrobe advertisementEquipment 301 realizes the method that a kind of long-range control intelligence receives wardrobe advertisement.
Processor 302: the processor 302 loads and executes the instruction in the storage equipment 303 and data for realA kind of existing method that long-range control intelligence receives wardrobe advertisement.
Store equipment 303: 303 store instruction of storage equipment and data;The storage equipment 303 is for realizing describedA kind of method that wardrobe advertisement is intelligently received in long-range control.
The beneficial effects of the present invention are: playing about the advertisement that intelligence receives wardrobe, existing solution obtains in fact when being usuallyAdvertising resource is taken, larger network flow can be consumed by obtaining advertising resource in real time.Technical solution proposed by the present invention can be realized on demandThe advertisement that intelligence receives wardrobe is updated, the consumption of flow is controlled by adjusting the timing renewal time of advertisement.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention andWithin principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.