CN109360029A - A kind of Self-management approach of remote terminal advertisement machine - Google Patents
A kind of Self-management approach of remote terminal advertisement machine Download PDFInfo
- Publication number
- CN109360029A CN109360029A CN201811275678.5A CN201811275678A CN109360029A CN 109360029 A CN109360029 A CN 109360029A CN 201811275678 A CN201811275678 A CN 201811275678A CN 109360029 A CN109360029 A CN 109360029A
- Authority
- CN
- China
- Prior art keywords
- advertisement machine
- software
- server
- machine terminal
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F19/00—Advertising or display means not otherwise provided for
- G09F19/12—Advertising or display means not otherwise provided for using special optical effects
- G09F19/18—Advertising or display means not otherwise provided for using special optical effects involving the use of optical projection means, e.g. projection of images on clouds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of Self-management approachs of remote terminal advertisement machine, its advertisement machine system includes several advertisement machine terminals and server, several advertisement machine terminals are connected with server simultaneously, it is characterized by: after advertisement machine system booting, it carries out software management work, global abnormal captures work and memory detects work, to complete the self-management of several advertisement machine terminals.
Description
Technical field
The present invention relates to a kind of advertisement machine management methods, particularly relate to a kind of self pipe of several remote terminal advertisement machine systems
The method of reason.
Background technique
Advertisement machine is a kind of advertisement playback terminal, it is very widely practical by advertisement publishers institute at present, is at it
Following problem is frequently encountered in practice in system exploitation.
1, there is serious bug after publication in the system being just packaged, this just needs to solve bug, then tests then
Packing and issuing again.Thus compare a large amount of manpower and material resources of consumption, cost can be bigger.2, corrected released version before this
Bug, if next version is a big version, the interval time of two versions can be long, to wait until down in this way
A version repairs bug in publication again, and the bug of version can influence user for a long time before this in this way.3, the progression rate of version is not high, and
Need to complete version covering for a long time, the bug of version will always affect the user not upgraded before this.4, have it is one small and
Important function needs to complete version covering, such as the change of holiday theme in the short time.5, system needs to have own hardware
One comprehensive management, cpu temperature is excessively high, and EMS memory occupation is excessively high, and hard disk deficiency etc. needs different times to have different solution party
Case, rather than impose uniformity without examining individual cases.If what if the equipment 6, sold out needs a newly-increased software.It is current to solve this method
Approach is, by manually one by one go to upgrade, if device distribution range is wider, the investment for company is very big
, waste of manpower, financial resources, material resources.7, the equipment sold out has a software not having updated, but it has background task again,
Backstage is occupied always, is wanted to unload, can only manually be gone to delete.If 8, user arbitrarily installs third party software, for example, yellow gambling
Poison etc, it can only be deleted by the way of artificial.9, device memory is nervous, prepares primary system upgrading this when,
Out of Memory can not solve.10, the time of advertisement machine storage inside file is too remote, basic without effect, can only manually delete
It removes.11, how anywhere or anytime according to status modifier memory threshold, existing equipment can not be solved.If 12, some demand
Needing to upgrade 2 ~ 3 softwares just can solve.How to guarantee disposably to upgrade multiple softwares.Current state is in single software
Portion, which is done, to be upgraded, and then software upgrading is triggered to be upgraded automatically, but on condition that user opens software.If be not turned on, that
Software upgrading will not be triggered always.On entering etc., all of above inconvenience link, is all to develop all face in reality
Problem.
There is problem above, is most to allow developer and company worried, falls into and being repaired without only most bug, new version publication
Process wastes time, and manpower is suffered untold misery.For system development team, continuous restoration updating is common occurrence, no
With people can encounter different system problems, it is not strong to send out exploitativeness miscellaneous using whole upgrade-system work every time, and this is
For the major defect of traditional technology.
Summary of the invention
The technical scheme adopted by the invention is as follows: a kind of Self-management approach of advertisement machine system remote terminal, advertisement machine
System includes several advertisement machine terminals and server, and several advertisement machine terminals are connected with server simultaneously, it is characterised in that:
After advertisement machine system booting, carries out software management work, global abnormal capture work and memory and detect work, if to complete
The self-management of dry advertisement machine terminal.
Wherein, software management work is carried out according to following step.
Step 1, advertisement machine terminal booting, and detect advertisement machine terminal locally all mounted software informations, advertisement machine
The preferential detection system version number of terminal, and the information that system installs all softwares is obtained, the information of software includes at least software
Packet name, upgraded version number and upgrading date, the information of software generate List aggregate information and are stored in advertisement machine terminal caching,
Later, advertisement machine terminal reads advertisement machine terminal system bottom file ipconfig file by going, and obtains current networked information,
Gateway, dns state value, and according to current state value, go whether judgement currently networks, if currently having network direct request net
Network.
Step 2, several advertisement machine terminals simultaneously with server network query service device software configuration information, server receive
The request sent to advertisement machine terminal is traversed by the software under Iterator iterator traversing directories using iterator, maintenance
Document order under current directory.
Step 3, advertisement machine terminal compare its local software information and server info one by one, advertisement machine terminal software letter
Breath is consistent with server info, stops detecting, and advertisement machine terminal software information then unloads advertisement machine terminal more than server info
The software having more, advertisement machine terminal software information is less than server info, advertisement machine terminal inspection software new version, and downloads soft
Part is installed.
Global abnormal captures work and includes the following steps.
The bug file that positioning system occurs during A step, advertisement machine terminal operation.
The information of B step, parsing bug file, the information is including at least the packet name of software, the class name for the software that malfunctions and goes out
The line number of wrong code.
Information in B step is generated a json text information by C step.
Json text information is written to local advertising machine terminal by D step.
Automatically by json text information, abnormal document is generated, thread is opened by IO and flows write-in locally, abnormal document is at least
Packet name, the class name of error software and the line number of error codes including software, meanwhile, the loading problem mark in abnormal document
Label, abnormal document are divided into software anomaly and system exception, and software anomaly and system exception have different problems label,
In, label generates problem label by 0+ class name+line number the problem of software anomaly, and system exception problem label is by 1+ class name+line number
Generation problem label, the number 1 and 0 in problem label is for directly distinguishing the type of exception.
E step, advertisement machine terminal read its grid configuration file ipcpnfig file, are judged according to configuration information
Either with or without network, and following work is carried out, if in the case where currently having network, directly submitting abnormal document to server,
It submits successfully, is automatically deleted bug file corresponding to abnormal document, prevent from repeatedly submitting, if submitting failure, booting next time is certainly
Dynamic detection network, has network directly to submit, if advertisement machine terminal can detect again being switched on next time currently without network,
Repeat A, B, C, D, E step, submit again, guarantees that abnormal document can centainly upload onto the server, it is later etc. to be serviced
Device pushes solution.
When server receives abnormal document, server carries out following step.
Json text information in F step, parsing abnormal document.
G step, the number according in problem label, class name and line number, screen in the recursive traversal library of server and work as
It is preceding either with or without the number file accordingly solved.
H is walked, if it find that current server has the number file solved accordingly, then directly by holding in number file
The packing of line program file is pushed in advertisement machine terminal, if not finding the number file accordingly solved in recursive traversal library,
Then by advertisement machine terminal ID and the database of problem label write service device, meanwhile, abnormal document is stored in server
In abnormal library.
I step, inspection personnel's timing login service device are checked in the abnormal library of server with the presence or absence of abnormal document, are such as sent out
Existing abnormal document, then solve abnormal document, writes the execution program of solution, uploads and executes program to server, by
Server issues automatically.
After advertisement machine terminal receives the execution program that server issues, installation kit is directly downloaded, downloading finishes, automatic to pacify
Dress, advertisement machine terminal, which is opened, executes program, and program solves bug file automatically, solves to finish, advertisement machine terminal system reboot, extensively
The restarting of announcement machine terminal system, which can detect, currently prevents journey if there is then unloading execution program either with or without installation execution program
Sequence is run multiple times.
Memory detects work and carries out according to following step.
A step, advertisement machine terminal and server foundation contact, and whether search has new task in server, and discovery has new post
Activly request of being engaged in downloads installation package file, meanwhile, advertisement machine terminal detects its own free memory.
B step, advertisement machine terminal obtain the information of downloading file, which includes that authority information, memory threshold, file are big
Small information.
C step, advertisement machine terminal obtain memory threshold, directly download if itself free memory is greater than memory threshold,
If itself free memory is less than memory threshold, advertisement machine terminal memory is discharged.
The invention has the benefit that remote terminal self-management system just produces more than to solve the problems, such as, for
Remote equipment bug self-regeneration, software version management, device memory release provide a kind of more intelligent self-management
Method.Advertisement machine system and server are automatic to carry out machine language interaction by defining friendly interaction protocol, reach system certainly
The purpose that I repairs.Guarantee when and where no matter equipment be all fearless bug.It is tight that developer does not fear advertisement machine device memory yet
, situations such as software anomaly.
Detailed description of the invention
Fig. 1 is invention software management work flow chart.
Fig. 2 is invention software management server end configuration flow figure.
Fig. 3 is advertisement machine terminal abnormality detection flow chart of the present invention.
Fig. 4 is that advertisement machine terminal of the present invention receives exception information process flow diagram.
Fig. 5 is that advertisement machine terminal of the present invention receives abnormal scheme process flow.
Fig. 6 is advertisement machine terminal memory management flow chart of the present invention.
Specific embodiment
As shown in Figures 1 to 6, a kind of Self-management approach of advertisement machine system remote terminal, advertisement machine system includes several
Advertisement machine terminal and server, several advertisement machine terminals are connected with server simultaneously, after advertisement machine system booting, carry out
Software management work, global abnormal capture work and memory detects work, to complete the self-management of several advertisement machine terminals.
As shown in Fig. 1 to 2, wherein software management work is carried out according to following step.
Step 1, advertisement machine terminal booting, and detect advertisement machine terminal locally all mounted software informations.
The preferential detection system version number of advertisement machine terminal, and obtain the information that system installs all softwares, the letter of software
Breath includes at least software package name, upgraded version number and upgrading date.
The information of software generates List aggregate information and is stored in advertisement machine terminal caching.
Later, advertisement machine terminal reads advertisement machine terminal system bottom file ipconfig file by going, and obtains current
Networked information, gateway, dns state value, and according to current state value go whether judgement currently networks, connection be Ethernet also
It is wireless WIFI, the network compared to application layer judges that speed is just fast, and information is more accurate, if currently there is network direct request net
Network.
Step 2, several advertisement machine terminals simultaneously with server network query service device software configuration information.
Server receives the request that advertisement machine terminal is sent, by the software under Iterator iterator traversing directories,
It is traversed using iterator, can safeguard the document order under current directory, user can set the sequence of upgrading software, server
Packet name, upgraded version number and upgrading date are packaged into json information, advertisement are returned in the form of HTTP by traversal information
Machine terminal.
Step 3, advertisement machine terminal compare its local software information and server info one by one, advertisement machine terminal software letter
Breath is consistent with server info, stops detecting, and advertisement machine terminal software information then unloads advertisement machine terminal more than server info
The software having more.
Advertisement machine terminal software information is less than server info, advertisement machine terminal inspection software new version, and downloads software
It is installed.
In step 3, advertisement machine terminal obtains the software configuration information that server returns, and contains inside configuration information wide
All softwares to be mounted and version number needed for announcement machine terminal, packet name pass through the service of traversal local software information and acquisition
Device software information compares one by one, such as finds that server has the software having more, and stops comparing, and directly unlatching multithreading downloads software,
It is maximized to promote speed of download, su system read-write permission is obtained after downloading, is realized the silent installation in software backstage, is installed
Finish, advertisement machine terminal directly restarts the work for carrying out step 1, detects again soft in advertisement machine terminal software version and server
Part version stops comparing, directly downloads new edition if it find that the software version in server is higher than advertisement machine terminal software version
This, covering installation, the service of restarting so recycles.
By way of this Determination, upgrading is detected, increase software, delete the relevant information of software, just stop
It compares, has handled current operation, restarted and compare again, restarted only do something every time, single threaded operation guarantees to execute complete
Whole property, does not omit any one software information, final to guarantee advertisement machine embedded software and being consistent property of server software configuration,
Make all software all in control range.
In software management work user can will need and meanwhile the software document that is loaded into several advertisement machine terminals by
It is loaded according to following step.
Firstly, during user uploads onto the server software document, then, server by MD5 verification transmitting file it is complete
Whole property parses the software document by server, and obtain the file information later, the file information include at least filename, packet name,
Version number and download address, then, server encapsulate this document information and advertisement machine terminal are waited to make requests, when advertisement machine end
The information of end request upgrading is sent to server, then carries out software management work to complete the loading of software.
The present invention can complete the configuration information to several advertisement machine terminal backstages, traditional backstage by above-mentioned method
Configuration upgrading needs to fill in the text of software, the packet name information and download address and version information of software, hand accidentally meeting
There is the endless loop that software enters upgrading, is constantly in upgrade status, otherwise is exactly software detection less than upgrade information, rigor
It is relatively high.
It utilizes the present invention to carry out advertisement machine terminal system software backstage to configure, it is only necessary to a step, it is only necessary to which user is by software
File upload onto the server in after remaining step system can be automatically performed, be specifically described as.
1 step, administrator upload (update) and stablize software document to server.
2 steps, server are verified by MD5 uploads file integrality.
3 steps, server parsing generate file directory, according to packet name comparison go judgement upload file be new version or
Legacy version, if it is new version, directly deletion legacy version.
The automatic traversal server file of 4 steps, server generates attribute information, saves in the buffer.
5 steps, attribute information include filename, file label, packet name, version information, the relevant informations such as download address,
(file label is divided into third party software, three kinds of classifications of system software and system firmware).
6 steps, server receive the network request of advertisement machine, return attribute information.
The present invention only needs the upper transmitting file of administrator, and system can be by md5 encryption others all working whole system certainly
Oneself completes, the update upgrade problem for the single software that Software Management services perfectly solve, while compatible multiple softwares is same
Step upgrading, increases, deletes work, reduce the repeated workload of engineer and the frequency of system upgrade, does not need to increase modification
Version information, directly upper transmitting file simplify the software operation on backstage, need to increase software and directly upload, need to a certain
Money software is updated upgrading, uploads new version and replaces early version, stop using certain a software, deletes the software on server
Installation kit.The simple system for solving remote equipment, simplifies thinking, foolproof software management, though someone's malice or
In a device, equipment can Timing Synchronization server version information for installation other software unintentionally.Self delete or update software service.
Inspection software version information can be executed preferentially after system boot, until all software information sync servers,
Stop detection function, equipment enters using operating mode.It goes to play task set by user.
As shown in Fig. 3 to 5, global abnormal captures work and includes the following steps.
The bug file that positioning system occurs during A step, advertisement machine terminal operation.
The information of B step, parsing bug file.
The information includes at least the packet name of software, malfunction the class name of software and the line number of error codes.
In practice, which further includes advertisement machine terminal number.
Information in B step is generated a json text information by C step.
Such as:
{
" errorSoft ": " small fish is in .apk ",
“errorClass”:”Util.class”,
“errorNum”:35,
“errorDesc”:”NullPointException”,
“errorTag”:”0/Util/35”
}。
Json text information is written to local advertising machine terminal by D step.
Automatically by json text information, abnormal document is generated, thread is opened by IO and flows write-in locally.
Abnormal document includes at least the packet name of software, malfunction the class name of software and the line number of error codes.
Meanwhile the loading problem label in abnormal document.
Abnormal document is divided into software anomaly and system exception, and software anomaly and system exception have different problems mark
Label.
Wherein, label by 0+ class name+line number generates problem label the problem of software anomaly.
System exception problem label generates problem label by 1+ class name+line number.
Number 1 and 0 in problem label is for directly distinguishing abnormal type.
E step, advertisement machine terminal read its grid configuration file ipcpnfig file, are judged according to configuration information
Either with or without network, and carry out following work.
If in the case where currently having network, directly submission abnormal document is submitted successfully to server, is automatically deleted exception
Bug file corresponding to file prevents from repeatedly submitting.
If submitting failure, the automatic detection network of booting next time has network directly to submit.
If advertisement machine terminal can detect again being switched on next time currently without network, repeat A, B, C, D, E
Step, is submitted again, guarantees that abnormal document can centainly upload onto the server.
Waiting for server pushes solution later.
When server receives abnormal document, server carries out following step.
Json text information in F step, parsing abnormal document.
G step, the number according in problem label, class name and line number, screen in the recursive traversal library of server and work as
It is preceding either with or without the number file accordingly solved.
H is walked, if it find that current server has the number file solved accordingly, then directly by holding in number file
The packing of line program file is pushed in advertisement machine terminal.
If not finding the number file accordingly solved in recursive traversal library, by advertisement machine terminal ID and problem mark
The database of write service device is signed, meanwhile, abnormal document is stored in the abnormal library of server.
I step, inspection personnel's timing login service device are checked in the abnormal library of server with the presence or absence of abnormal document, are such as sent out
Existing abnormal document, then solve abnormal document, writes the execution program of solution, uploads and executes program to server, by
Server issues automatically.
In practice, abnormal document is sent to software engineer and goes observation the file information by inspection personnel, solves bug, front end
It goes to upload new file, modifies database positioning information, upload finishes, and can search submission current number within server every 10 minutes
Advertisement machine terminal, if Current ad machine terminal online directly push scheme, if advertisement machine terminal is not online, wait next time look into
It looks for, as long as advertisement machine terminal pushes in time online, push is finished, and server stops push.
Software engineer receives exception information, and the positioning position bug can be gone to according to file, purposive to solve the problems, such as, most
Upgrade software or repair system bug afterwards, work is completed, and is write advertisement machine terminal and is executed program, installation kit, system jar packet etc.
File can directly be write in a program, upload and execute program to server, give system and issue automatically.
After advertisement machine terminal receives the execution program that server issues, installation kit is directly downloaded, downloading finishes, automatic to pacify
Dress, advertisement machine terminal, which is opened, executes program, and program solves bug file automatically, solves to finish, advertisement machine terminal system reboot.
The restarting of advertisement machine terminal system, which can detect, currently executes program either with or without installation, if there is then unloading execution journey
Sequence prevents program to be run multiple times.
As described above, advertisement machine terminal can solve bug automatically, does not encounter abnormal advertisement machine terminal and do not have to then rise
Grade does not have to each equipment of mandatory upgrade, mitigates server stress, increases user experience.
The purpose for carrying out memory detection work is that the advertisement that advertisement machine terminal plays daily is all from backstage active pull
Media advertisement, picture, the information such as video use USB flash disk without artificial, and the external device of sd card etc carrys out promoted advertisements, this
It is the advantage of present system, has new task directly to upload, advertisement machine timing goes to obtain playing task, and carries out memory detection work
Make that the more smooth of above-mentioned movement operation can be made.
It is carried out as shown in fig. 6, memory detects work according to following step.
A step, advertisement machine terminal and server foundation contact, and whether search has new task in server, and discovery has new post
Activly request of being engaged in downloads installation package file, meanwhile, advertisement machine terminal detects its own free memory.
B step, advertisement machine terminal obtain the information of downloading file, which includes that authority information, memory threshold, file are big
Small information.
C step, advertisement machine terminal obtain memory threshold, directly download if itself free memory is greater than memory threshold,
If itself free memory is less than memory threshold, advertisement machine terminal memory is discharged.
Advertisement machine terminal memory is discharged to carry out according to following step.
D step, advertisement machine terminal obtain authority information, and authority information is divided into low level permission, intermediate permission and advanced
Permission.
When authority information is low level permission, advertisement machine terminal deletion installation package file, liquidation procedures cache file, clearly
Except empty file, empty folder, the media file before cleaning ten days.
When specific implementation, advertisement machine terminal deletes apk installation package file, passes through all soft of traversal mobile phone installation
Part clears up all installation softwares in the cache file of data subregion, clears up empty file all in memory, empty folder cleaning 10
Media file (picture, video) before it, big file.
When authority information is middle level-right, advertisement machine terminal deletion installation package file, liquidation procedures cache file, clearly
Except empty file, empty folder, the media file before cleaning five days.
When specific implementation, advertisement machine terminal deletes apk installation package file and passes through all soft of traversal mobile phone installation
Part clears up the cache file of all installation softwares, clears up empty file all in memory, and the sound before empty folder is deleted 5 days regards
Frequency media file, deletes big file, and big file size is obtained from server.
When authority information is high-level permission, advertisement machine terminal factory reset empties memory.
When specific implementation, the direct factory reset of advertisement machine terminal empties SD card All Files.
That is the present invention provides more scientific Memory Managements, before Installed System Memory is in an emergency, request are gone to service
Device obtains memory scheme set by user, obtains threshold value set by user, obtains cleaning rank set by user, obtains big text
The predetermined size of part obtains the advertisement machine list of devices being cleaned.
Data success is obtained, the cpu number of equipment of itself is obtained, and the facility information data obtained compare, if not
In the queue, any operation is not done, if itself coding continues to execute, advertisement machine terminal can pass through in the queue of cleaning
All Files in memory are done a classification, such as apk file, picture file, video file by recursive traversal method.If
Remaining memory is greater than threshold value, without any processing, according to cleaning grade classification processing if memory is less than threshold value.
By server memory configuration information set by user, advertisement machine terminal executes liquidation procedures automatically, gets off in this way
Just do not have to the case where worrying Out of Memory, according to the size of each upgrade file, manually sets memory threshold, and cleaning
Rank guarantees that the ad content issued normally completely can be downloaded and be executed by equipment.
Software management work, global abnormal capture work and memory detection work belongs to manually submit correlation on backstage
File, operations all later is all equipment and server automatic interaction, equipment end activly request relevant information, server push
Configuration information is sent, equipment end network request obtains configuration information, automatically parses, and carries out associated restoration work.It simplifies artificial
Operation.Manual operation is all managed using active, and problem reparation is only done once, and repeated problem is all given system and located automatically
Reason.
All operations are got off, it is ensured that equipment can smoothly be run during running.There is bug to submit automatically, from
Dynamic to repair, system software is also automatic synchronization server, keeps last state, it is interior exist meet self-demand in the case where self
Cleaning, in the case where needing more multioperation, manual configuration information clears up more files.
Claims (6)
1. a kind of Self-management approach of advertisement machine system remote terminal, advertisement machine system include several advertisement machine terminals and clothes
Business device, several advertisement machine terminals are connected with server simultaneously, it is characterised in that: after advertisement machine system booting, carry out software
Management work, global abnormal capture work and memory detects work, to complete the self-management of several advertisement machine terminals,
Wherein, software management work is carried out according to following step:
Step 1, advertisement machine terminal booting, and detect advertisement machine terminal locally all mounted software informations, advertisement machine terminal
Preferential detection system version number, and obtain the information that system installs all softwares, the information of software include at least software package name,
Upgraded version number and upgrading date, the information of software generate List aggregate information and are stored in advertisement machine terminal caching, later,
Advertisement machine terminal reads advertisement machine terminal system bottom file ipconfig file by going, and obtains current networked information, gateway,
Dns state value, and according to current state value, go whether judgement currently networks, if currently having network direct request network,
Step 2, several advertisement machine terminals are networked with server query service device software configuration information simultaneously, and server receives extensively
The request that announcement machine terminal is sent is traversed by the software under Iterator iterator traversing directories using iterator, and maintenance is current
Document order under catalogue,
Step 3, advertisement machine terminal compare its local software information and server info one by one, advertisement machine terminal software information with
Server info unanimously then stops detecting, and advertisement machine terminal software information then unloads advertisement machine terminal more than server info and has more
Software, advertisement machine terminal software information be less than server info, advertisement machine terminal inspection software new version, and download software into
Row installation,
Global abnormal captures work and includes the following steps:
The bug file that positioning system occurs during A step, advertisement machine terminal operation,
The information of B step, parsing bug file, the information include at least the packet name of software, the class name for the software that malfunctions and error generation
The line number of code,
Information in B step is generated a json text information by C step,
Json text information is written to local advertising machine terminal by D step,
Automatically by json text information, abnormal document is generated, thread is opened by IO and flows write-in locally, abnormal document includes at least
The packet name of software, malfunction the class name of software and the line number of error codes, meanwhile, the loading problem label in abnormal document is different
Normal file is divided into software anomaly and system exception, and software anomaly and system exception have different problems label, wherein soft
The problem label of part exception generates problem label by 0+ class name+line number, and system exception problem label is asked by 1+ class name+line number generation
Label is inscribed, the type abnormal for directly differentiation of the number 1 and 0 in problem label,
E step, advertisement machine terminal read its grid configuration file ipcpnfig file, judge have not according to configuration information
There is network, and carry out following work, if in the case where currently having network, directly submission abnormal document is submitted to server
Success, is automatically deleted bug file corresponding to abnormal document, prevents from repeatedly submitting, if submitting failure, the automatic inspection of booting next time
Survey grid network, has network directly to submit, if advertisement machine terminal can detect again being switched on next time currently without network, repeats
A, B, C, D, E step are carried out, is submitted again, guarantees that abnormal document can centainly upload onto the server, waiting for server pushes away later
Solution is sent,
When server receives abnormal document, server carries out following step:
Json text information in F step, parsing abnormal document,
G step, the number according in problem label, class name and line number, screening in the recursive traversal library of server currently has
The number file not solved accordingly,
H is walked, if it find that current server has the number file solved accordingly, then directly by the execution journey in number file
The packing of preface part is pushed in advertisement machine terminal, will if not finding the number file accordingly solved in recursive traversal library
The database of advertisement machine terminal ID and problem label write service device, meanwhile, abnormal document is stored in the exception of server
In library,
I step, inspection personnel's timing login service device are checked in the abnormal library of server with the presence or absence of abnormal document, such as find have
Abnormal document then solves abnormal document, writes the execution program of solution, uploads and executes program to server, by servicing
Device issues automatically,
After advertisement machine terminal receives the execution program that server issues, installation kit is directly downloaded, downloading finishes, and it is automatic to install,
Advertisement machine terminal, which is opened, executes program, and program solves bug file automatically, solves to finish, advertisement machine terminal system reboot, advertisement machine
Terminal system restarting can detect currently prevents program more either with or without installation execution program if there is then unloading execution program
Secondary operation,
Memory detects work and carries out according to following step:
A step, advertisement machine terminal and server foundation contact, and whether search has new task in server, and discovery has new task master
Dynamic request downloading installation package file, meanwhile, advertisement machine terminal detects its own free memory,
B step, advertisement machine terminal obtain the information of downloading file, which includes authority information, memory threshold, file size letter
Breath,
C step, advertisement machine terminal obtain memory threshold, directly download if itself free memory is greater than memory threshold, if
Itself free memory is less than memory threshold, then discharges advertisement machine terminal memory.
2. a kind of Self-management approach of advertisement machine system remote terminal as described in claim 1, it is characterised in that: step 2
Middle user can set the sequence of upgrading software, server traversal information, by packet name, upgraded version number and upgrading date
It is packaged into json information, advertisement machine terminal is returned in the form of HTTP.
3. a kind of Self-management approach of advertisement machine system remote terminal as described in claim 1, it is characterised in that: the 3rd
In step, advertisement machine terminal obtains the software configuration information that server returns, and contains needed for advertisement machine terminal inside configuration information
All softwares to be mounted and version number, packet name, by the server software information one for traversing local software information and acquisition
One compares, and such as finds that server has the software having more, and stops comparing, and directly unlatching multithreading downloads software, maximized to be promoted
Speed of download obtains su system read-write permission after downloading, realize the silent installation in software backstage, install, advertisement machine is whole
The work for carrying out step 1 is directly restarted at end, detects the software version in advertisement machine terminal software version and server again, if
It was found that the software version in server is higher than advertisement machine terminal software version, stop comparing, directly downloads new version, covering peace
Dress, the service of restarting so recycle.
4. a kind of Self-management approach of advertisement machine system remote terminal as described in claim 1, it is characterised in that: in software
In management work user can will need and meanwhile the software document that is loaded into several advertisement machine terminals according to following step into
Luggage carries:
Firstly, during user uploads onto the server software document, then, server by the integrality of transmitting file in MD5 verification,
Later, which is parsed by server, and obtains the file information, the file information includes at least filename, packet name, version number
And download address, then, server encapsulates this document information and advertisement machine terminal is waited to make requests, when advertisement machine terminal is requested
The information of upgrading is sent to server, then carries out software management work to complete the loading of software.
5. a kind of Self-management approach of advertisement machine system remote terminal as described in claim 1, it is characterised in that: B step
In the information further include advertisement machine terminal number.
6. a kind of Self-management approach of advertisement machine system remote terminal as described in claim 1, it is characterised in that: release is wide
Announcement machine terminal memory is carried out according to following step:
D step, advertisement machine terminal obtain authority information, and authority information is divided into low level permission, intermediate permission and super-ordinate right,
When authority information is low level permission, advertisement machine terminal deletes installation package file, and liquidation procedures cache file removes ineffective law, rule, etc.
Part, empty folder, the media file before cleaning ten days, when authority information is middle level-right, advertisement machine terminal deletes installation
APMB package, liquidation procedures cache file remove empty file, empty folder, the media file before cleaning five days, when authority information is
When high-level permission, advertisement machine terminal factory reset empties memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811275678.5A CN109360029B (en) | 2018-10-30 | 2018-10-30 | Self-management method of remote terminal advertising machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811275678.5A CN109360029B (en) | 2018-10-30 | 2018-10-30 | Self-management method of remote terminal advertising machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109360029A true CN109360029A (en) | 2019-02-19 |
CN109360029B CN109360029B (en) | 2021-09-10 |
Family
ID=65347482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811275678.5A Active CN109360029B (en) | 2018-10-30 | 2018-10-30 | Self-management method of remote terminal advertising machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109360029B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111128007A (en) * | 2019-12-31 | 2020-05-08 | 国电南瑞科技股份有限公司 | Intelligent exhibition hall interaction system based on ubiquitous power Internet of things |
CN112367560A (en) * | 2020-11-04 | 2021-02-12 | 深圳康佳电子科技有限公司 | Advertising machine configuration method, device and system and computer readable storage medium |
CN113377162A (en) * | 2021-06-09 | 2021-09-10 | 昆山汉元经水水务科技有限公司 | Intelligent community business hall device and query method |
CN115309664A (en) * | 2022-10-11 | 2022-11-08 | 深圳市诚王创硕科技有限公司 | Software problem tracking method and system |
CN116684207A (en) * | 2023-08-03 | 2023-09-01 | 杭州字节方舟科技有限公司 | Method, device, equipment and medium for processing monitoring data based on blockchain |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794222A (en) * | 2010-01-13 | 2010-08-04 | 腾讯科技(深圳)有限公司 | Software version collecting method, management system and software upgrading detection method and system |
CN102857559A (en) * | 2012-08-15 | 2013-01-02 | 腾讯科技(深圳)有限公司 | Method and system for recommending software, and client end |
CN103019782A (en) * | 2012-06-18 | 2013-04-03 | 上海哈诚电子科技有限公司 | Method for updating advertisement and program for multifunctional client information interaction terminal |
CN103152412A (en) * | 2013-02-28 | 2013-06-12 | 福建三元达通讯股份有限公司 | QT-based multimedia networked information publication terminal system |
CN105610954A (en) * | 2015-12-31 | 2016-05-25 | 腾讯科技(深圳)有限公司 | Media information processing method and system |
CN105721567A (en) * | 2016-01-29 | 2016-06-29 | 上海分众软件技术有限公司 | Network pushing system and pushing control method thereof for marketplace advertisements |
CN106775873A (en) * | 2016-12-20 | 2017-05-31 | 北京五八信息技术有限公司 | Update cell phone software, obtain the method and apparatus of patch file |
CN206850806U (en) * | 2017-03-20 | 2018-01-05 | 天津市华恒启创科技有限公司 | A kind of multimedia advertisement delivery system |
CN207182261U (en) * | 2017-04-13 | 2018-04-03 | 重庆科创职业学院 | A kind of software upgrading download system |
CN108076075A (en) * | 2016-11-07 | 2018-05-25 | 重庆雾都科技有限公司 | A kind of intelligent terminal system being remotely located with network cloud management |
CN108259575A (en) * | 2017-12-27 | 2018-07-06 | 南京怡化信息技术有限公司 | Advertisement broadcast method, system, self-service device and Advertisement Server |
US20180203755A1 (en) * | 2017-01-17 | 2018-07-19 | American Express Travel Related Services Company, Inc. | System and method for automated computer system diagnosis and repair |
-
2018
- 2018-10-30 CN CN201811275678.5A patent/CN109360029B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794222A (en) * | 2010-01-13 | 2010-08-04 | 腾讯科技(深圳)有限公司 | Software version collecting method, management system and software upgrading detection method and system |
CN103019782A (en) * | 2012-06-18 | 2013-04-03 | 上海哈诚电子科技有限公司 | Method for updating advertisement and program for multifunctional client information interaction terminal |
CN102857559A (en) * | 2012-08-15 | 2013-01-02 | 腾讯科技(深圳)有限公司 | Method and system for recommending software, and client end |
CN103152412A (en) * | 2013-02-28 | 2013-06-12 | 福建三元达通讯股份有限公司 | QT-based multimedia networked information publication terminal system |
CN105610954A (en) * | 2015-12-31 | 2016-05-25 | 腾讯科技(深圳)有限公司 | Media information processing method and system |
CN105721567A (en) * | 2016-01-29 | 2016-06-29 | 上海分众软件技术有限公司 | Network pushing system and pushing control method thereof for marketplace advertisements |
CN108076075A (en) * | 2016-11-07 | 2018-05-25 | 重庆雾都科技有限公司 | A kind of intelligent terminal system being remotely located with network cloud management |
CN106775873A (en) * | 2016-12-20 | 2017-05-31 | 北京五八信息技术有限公司 | Update cell phone software, obtain the method and apparatus of patch file |
US20180203755A1 (en) * | 2017-01-17 | 2018-07-19 | American Express Travel Related Services Company, Inc. | System and method for automated computer system diagnosis and repair |
CN206850806U (en) * | 2017-03-20 | 2018-01-05 | 天津市华恒启创科技有限公司 | A kind of multimedia advertisement delivery system |
CN207182261U (en) * | 2017-04-13 | 2018-04-03 | 重庆科创职业学院 | A kind of software upgrading download system |
CN108259575A (en) * | 2017-12-27 | 2018-07-06 | 南京怡化信息技术有限公司 | Advertisement broadcast method, system, self-service device and Advertisement Server |
Non-Patent Citations (6)
Title |
---|
R. RUMMLER 等: "Addressing of software downloads to reconfigurable terminals in third-generation mobile networks", 《IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2005》 * |
RANDALL L.MARION 等: "Preserving test program set(TPS) performance after legacy automated test equipment(ATE) upgrade", 《2012 IEEE AUTOTESTCON PROCEEDINGS》 * |
唐浩 等: "基于Hi3510的无线多媒体广告终端设计", 《电视技术》 * |
张幕: "基于AMQP的视频广告分发机制实现", 《网络新媒体技术》 * |
张战天: "多媒体广告自助发布系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
梁洪波: "基于无线网络的广告播控系统设计与实现", 《安徽建筑工业学院学报(自然科学版)》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111128007A (en) * | 2019-12-31 | 2020-05-08 | 国电南瑞科技股份有限公司 | Intelligent exhibition hall interaction system based on ubiquitous power Internet of things |
CN112367560A (en) * | 2020-11-04 | 2021-02-12 | 深圳康佳电子科技有限公司 | Advertising machine configuration method, device and system and computer readable storage medium |
CN113377162A (en) * | 2021-06-09 | 2021-09-10 | 昆山汉元经水水务科技有限公司 | Intelligent community business hall device and query method |
CN115309664A (en) * | 2022-10-11 | 2022-11-08 | 深圳市诚王创硕科技有限公司 | Software problem tracking method and system |
CN115309664B (en) * | 2022-10-11 | 2023-01-17 | 深圳市诚王创硕科技有限公司 | Software problem tracking method and system |
CN116684207A (en) * | 2023-08-03 | 2023-09-01 | 杭州字节方舟科技有限公司 | Method, device, equipment and medium for processing monitoring data based on blockchain |
CN116684207B (en) * | 2023-08-03 | 2023-10-20 | 杭州字节方舟科技有限公司 | Method, device, equipment and medium for processing monitoring data based on blockchain |
Also Published As
Publication number | Publication date |
---|---|
CN109360029B (en) | 2021-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109360029A (en) | A kind of Self-management approach of remote terminal advertisement machine | |
CN102622241B (en) | A kind of method for upgrading software and device | |
US8032880B2 (en) | Multi-branch management for updating software | |
US9003392B2 (en) | Use of cloning in maintenance of virtual appliances | |
CN106991035A (en) | A kind of Host Supervision System based on micro services framework | |
US7933866B2 (en) | Systems, methods and software programs for data synchronization | |
CN106293701A (en) | The application engine method for designing of many tenants version management based on cloud server | |
CN108881477B (en) | Distributed file acquisition monitoring method | |
CN107193607B (en) | Method and apparatus for updating code file, storage medium, processor, and terminal | |
CN106557347B (en) | Software updating method and device | |
CN105653329A (en) | Application management method, apparatus and system | |
CN105512044A (en) | Method and system for updating object base used for keyword drive test | |
CN109086051B (en) | Application component deployment method and device and computer storage medium | |
US11055078B2 (en) | Systems and methods for deploying software products to environments | |
CN107483241B (en) | Method and device for downloading upgrade mirror image version in network element upgrading process | |
CN105468393B (en) | Module release upgrade method and terminal installation | |
CN109240716B (en) | Big data platform version management and rapid iterative deployment method and system | |
CN110515673A (en) | Plug-in unit system and method | |
CN110162334B (en) | Code management method, device and storage medium | |
CN109189680A (en) | A kind of system and method for application publication and configuration | |
CN110098952A (en) | A kind of management method and device of server | |
CN106529281B (en) | A kind of executable file processing method and processing device | |
CN110727575B (en) | Information processing method, system, device and storage medium | |
CN103026337A (en) | Distillation and reconstruction of provisioning components | |
CN115421765A (en) | Big data management deployment method applied to domestic operating system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |