CN108958856A - Control management method, storage medium, electronic equipment and the system of mobile terminal - Google Patents

Control management method, storage medium, electronic equipment and the system of mobile terminal Download PDF

Info

Publication number
CN108958856A
CN108958856A CN201710396128.8A CN201710396128A CN108958856A CN 108958856 A CN108958856 A CN 108958856A CN 201710396128 A CN201710396128 A CN 201710396128A CN 108958856 A CN108958856 A CN 108958856A
Authority
CN
China
Prior art keywords
control
view
priority
management object
display
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
CN201710396128.8A
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710396128.8A priority Critical patent/CN108958856A/en
Publication of CN108958856A publication Critical patent/CN108958856A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses control management method, storage medium, electronic equipment and the systems of a kind of mobile terminal, are related to the control research and development field of mobile terminal.Steps of the method are: corresponding priority management object and setting control management information are created for each control;According to the view of priority level formed all priority management objects in display queue and the successively corresponding control of displaying priority management object;When needing to add control, defining control priority management object to be added is that the priority level of X is compared with the priority management object that each has been added X respectively, obtains insertion position of the X in display queue;According to insertion position, X is inserted into display queue.The present invention can show the view of each control according to the sequence of priority level, be not in the chaotic situation of view display, and then ensure that the popularization quality of operation information.

Description

Control management method, storage medium, electronic equipment and the system of mobile terminal
Technical field
The present invention relates to the controls of mobile terminal to research and develop field, and in particular to a kind of control management method of mobile terminal, Storage medium, electronic equipment and system.
Background technique
With the extensive use of mobile terminal APP, more and more operators by operation information (such as advertisement and operation live Move) it is invested on the page of APP.Since the page of APP is smaller, after operation information generally forms view by control, Some being placed in the APP page fixes position (such as some small white space of direct broadcasting room).When in the same APP page When operation information is more, it may appear that the case where multiple control displays conflict, i.e., the display order of several views is chaotic, and then causes The APP page can not normally show all operation informations (such as the overlapping of multiple operation informations), reduce the popularization of operation information Quality.
Summary of the invention
In view of the deficiencies in the prior art, present invention solves the technical problem that are as follows: how according to specified sequence, The corresponding view of control is successively shown in the APP page.
To achieve the above objectives, the control management method of mobile terminal provided by the invention, comprising the following steps:
Step A: mobile terminal is that each control creates corresponding priority management object, is set in priority management object Control management information is set, control management information includes the priority level of control exposure, goes to step B;
Step B: mobile terminal is opened up all priority management objects formation display queue and successively according to priority level Show the view in the corresponding control of priority management object, goes to step C;
Step C: when needing to add control, defining control priority management object to be added is X, and mobile terminal is by X's Priority level is compared with the priority management object that each has been added respectively, obtains insertion position of the X in display queue It sets, goes to step D;
Step D: mobile terminal is inserted into display queue according to insertion position, by X.
Storage medium provided by the invention is stored with computer program on the storage medium, and the computer program is located Reason device realizes the control management method of above-mentioned mobile terminal when executing.
Electronic equipment provided by the invention, including memory and processor are stored on memory and are run on a processor Computer program, processor realizes the control management method of above-mentioned mobile terminal when executing computer program.
The control management system of mobile terminal provided by the invention, including priority management Object Creation module, view are aobvious Show module and control adding module;
Priority management Object Creation module is used for: corresponding priority management object is created for each control, preferential Setting control management information in grade management object, control management information include the priority level of control exposure, and direction view shows mould Block sends view and shows signal;
View display module is used for:, will be all preferential according to putting in order for priority level after receiving view display signal Grade management object forms display queue;According to putting in order for priority level, the corresponding control of priority management object is successively shown View in part;
Control adding module is used for: when needing to add control, defining control priority management object to be added is X, by X Priority level, be compared respectively with the priority management object that each has been added, obtain X display queue in insertion Position;According to insertion position, X is inserted into display queue.
Compared with the prior art, the advantages of the present invention are as follows:
(1) referring to step A and B of the present invention it is found that the present invention is provided with before the view of display control, for each control Priority level, compared with the display order confusion of several views in the prior art, the present invention can be according to the sequence of priority level The view for showing each control is not in the chaotic situation of view display, and then ensure that the popularization quality of operation information.With This simultaneously, the present invention be each control create priority management object, to control manage when, it is only necessary to manage priority management Object, operating process are fairly simple.
(2) if the present invention shows that the process of the view in the corresponding control of priority management object includes: active view pair View in the priority management control answered shows that state is display, then shows active view, if active view is corresponding preferential Grade management control in view show state be it is hiding, then do not show active view.It therefore, can be with when the present invention shows view Actual view adaptation shows if actual view needs to show, if desired hides and do not show, ensure that the display essence of view Degree.
(3) present invention is when adding new control, if new control is identical as the view properties of old control, directly replacement is Can, it does not need to add new control again at this time, not only avoids the case where repetition shows same view, improve user's body It tests, and simplifies operating process.
Detailed description of the invention
Fig. 1 is the flow chart of the control management method of mobile terminal in the embodiment of the present invention;
Fig. 2 is the connection block diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
It is shown in Figure 1, the control management method of the mobile terminal in the embodiment of the present invention, comprising the following steps:
S1: mobile terminal is that each control creates corresponding priority management object, is arranged in priority management object Control management information, control management information include priority level, the display state (show or hide) of the corresponding view of control and View properties go to S2.
The purpose of S1 is: when managing control, it is only necessary to manage priority management object, operating process is simpler It is single.
S2: mobile terminal, will be all excellent according to the putting in order of priority level (such as from down to height, or from high to low etc.) First grade management object forms display queue;According to putting in order for priority level, successively show that priority management object is corresponding View in control.When showing view, if the view in the corresponding priority management control of active view shows that state is display, Then show active view, if view in the corresponding priority management control of active view show state be it is hiding, do not show Active view goes to S3.
Showing in S2 can be adapted to when view with actual view, show if actual view needs to show, if desired hide It does not show then, ensure that the display precision of view.
Referring to S1 to S2 it is found that the present invention is before the view of display control, priority level, root are provided with for each control The view that each control is shown according to the sequence of priority level is not in the chaotic situation of view display, and then ensure that operation The popularization quality of information.
S3: when needing to add control, according to being that control to be added creates priority management object the step of S1, definition to The control priority management object of addition is X, and mobile terminal is by the priority level of X, the priority added respectively with each Management object is compared, and obtains insertion position of the X in display queue, goes to S4.
By the priority level of X in S3, it is compared respectively with the priority management object that each has been added, obtains X and exist Show the detailed process of the insertion position in queue are as follows:
Whether the priority level for judging X is maximum or minimum, if so, determine head of the queue that insertion position be display queue or Otherwise tail of the queue determines insertion position between the 2 priority management objects neighbouring with the priority level of X.
Such as there are 5 priority management objects in display queue, priority is respectively 1~5, shows that the arrangement of queue is suitable Sequence be the sequence of priority level from small to large, if at this time the priority level of X be 0, insertion position be display queue head of the queue (i.e. Before 1), if the priority level of X is 6, insertion position is display queue to tail (after i.e. 5).
S4: whether there is priority management object identical with the view properties of X in mobile terminal judgement display queue, if It is to go to S5, otherwise goes to S6.
S5: priority management object identical with the view properties of X is replaced with X by mobile terminal, is terminated.
S6: mobile terminal is inserted into display queue according to insertion position, by X, terminates.
By S4 to S6 it is found that the embodiment of the present invention is when adding new control, if new control is identical as the view of old control, It then directly replaces, does not need to add new control again at this time, not only avoid the case where repetition shows same view, mention User experience has been risen, and has simplified operating process.
The embodiment of the present invention also provides a kind of storage medium, and computer program, computer program are stored on storage medium The control management method of above-mentioned mobile terminal is realized when being executed by processor.It should be noted that the storage medium includes U Disk, mobile hard disk, ROM (Read-OnlyMemory, read-only memory), RAM (Random Access Memory, arbitrary access Memory), the various media that can store program code such as magnetic or disk.
Shown in Figure 2, the embodiment of the present invention also provides a kind of electronic equipment, including memory and processor, memory On store the computer program run on a processor, processor realizes the control of above-mentioned mobile terminal when executing computer program Part management method.
The embodiment of the present invention also provides a kind of control management system of mobile terminal, which includes priority management object Creation module, view display module and control adding module.
Priority management Object Creation module is used for: corresponding priority management object is created for each control, preferential Setting control management information in grade management object, control management information includes the priority level of control exposure, the corresponding view of control The display state and view properties of figure, display state are show or hide;Direction view display module sends view and shows signal;
View display module is used for: being received after view shows signal, according to priority level by all priority managements pair Pictograph is at showing queue and successively showing the view in the corresponding control of priority management object, if active view is corresponding excellent View in first grade management control shows that state is display, then active view is shown, if the corresponding priority management of active view View in control show state be it is hiding, then do not show active view.
Control adding module is used for:
(1) when needing to add control, control priority management Object Creation is that space to be added creates priority management Object;
(2) defining control priority management object to be added is that X has added the priority level of X with each respectively Priority management object be compared, obtain X display queue in insertion position: whether the priority level for judging X is most It is big or minimum, if so, determining that insertion position is the head of the queue or tail of the queue for showing queue, otherwise determine that insertion position is excellent with X Between 2 neighbouring priority management objects of first rank.
(3) according to insertion position, X is inserted into display queue: with the presence or absence of the view properties phase with X in judgement display queue Same priority management object, if so, priority management object identical with the view properties of X is replaced with X;Otherwise basis X is inserted in display queue by insertion position.
It should be understood that system provided in an embodiment of the present invention is when carrying out intermodule communication, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of system is divided into different functional modules, to complete all or part of function described above Energy.
Further, the present invention is not limited to the above-described embodiments, for those skilled in the art, Without departing from the principles of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the present invention Protection scope within.The content being not described in detail in this specification belongs to existing skill well known to professional and technical personnel in the field Art.

Claims (10)

1. a kind of control management method of mobile terminal, which is characterized in that method includes the following steps:
Step A: mobile terminal is that each control creates corresponding priority management object, and control is arranged in priority management object Part management information, control management information include the priority level of control exposure, go to step B;
Step B: all priority management objects are formed display queue according to priority level and successively shown preferential by mobile terminal View in the corresponding control of grade management object, goes to step C;
Step C: when needing to add control, defining control priority management object to be added is X, and mobile terminal is by the preferential of X Rank is compared with the priority management object that each has been added respectively, obtains insertion position of the X in display queue, Go to step D;
Step D: mobile terminal is inserted into display queue according to insertion position, by X.
2. the control management method of mobile terminal as described in claim 1, it is characterised in that: control management described in step A Information further includes the display state of the corresponding view of control, and display state is show or hide;It is successively shown described in step B excellent If the process of the view in the corresponding control of first grade management object includes: the view in the corresponding priority management control of active view Figure shows that state for display, then shows active view, if the view in the corresponding priority management control of active view shows shape State be it is hiding, then do not show active view.
3. the control management method of mobile terminal as claimed in claim 1 or 2, it is characterised in that: control pipe described in step A Reason information further includes the corresponding view properties of control, and the process of step D includes: in judgement display queue with the presence or absence of the view with X The identical priority management object of figure attribute, if so, priority management object identical with the view properties of X is replaced with X; Otherwise according to insertion position, X is inserted in display queue.
4. a kind of storage medium, computer program is stored on the storage medium, it is characterised in that: the computer program is located It manages when device executes and realizes the described in any item methods of claims 1 to 3.
5. a kind of electronic equipment, including memory and processor, the computer journey run on a processor is stored on memory Sequence, it is characterised in that: processor realizes the described in any item methods of claims 1 to 3 when executing computer program.
6. a kind of control management system of mobile terminal, it is characterised in that: the system include priority management Object Creation module, View display module and control adding module;
Priority management Object Creation module is used for: corresponding priority management object is created for each control, in priority pipe Setting control management information in object is managed, control management information includes the priority level of control exposure, direction view display module hair View is sent to show signal;
View display module is used for: after receiving view display signal, according to priority level by all priority managements to pictograph At the view shown in queue and the successively corresponding control of displaying priority management object;
Control adding module is used for: when needing to add control, defining control priority management object to be added is X, by the excellent of X First rank is compared with the priority management object that each has been added respectively, obtains insertion position of the X in display queue It sets;According to insertion position, X is inserted into display queue.
7. the control management system of mobile terminal as claimed in claim 6, it is characterised in that: the priority management object wound The control management information of modeling block further includes the display state of the corresponding view of control, and display state is show or hide;It is described If view display module successively shows that the process of the view in the corresponding control of priority management object includes: that active view is corresponding Priority management control in view show state be display, then active view is shown, if the corresponding priority of active view Management control in view show state be it is hiding, then do not show active view.
8. the control management system of mobile terminal as claimed in claim 6, it is characterised in that: the priority management object wound The control management information for modeling block further includes the corresponding view properties of control;The control adding module is according to insertion position, by X The process of insertion display queue includes: in judgement display queue with the presence or absence of priority management pair identical with the view properties of X As if so, priority management object identical with the view properties of X is replaced with X;Otherwise according to insertion position, X is inserted into In display queue.
9. such as the control management system of the described in any item mobile terminals of claim 6 to 8, it is characterised in that: the control adds Add priority level of the module by X, be compared respectively with the priority management object that each has been added, obtains X in display team The process of insertion position in column includes: to judge whether the priority level of X is maximum or minimum, if so, determining insertion position For the head of the queue or tail of the queue for showing queue, otherwise determine that insertion position is the 2 priority management objects neighbouring with the priority level of X Between.
10. such as the control management system of the described in any item mobile terminals of claim 6 to 8, which is characterized in that the control adds Add module to be also used to: when needing to add control, sending priority management Object Creation letter to priority management Object Creation module Number;After the priority management Object Creation module receives priority management Object Creation signal, created for space to be added Priority management object.
CN201710396128.8A 2017-05-26 2017-05-26 Control management method, storage medium, electronic equipment and the system of mobile terminal Pending CN108958856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710396128.8A CN108958856A (en) 2017-05-26 2017-05-26 Control management method, storage medium, electronic equipment and the system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710396128.8A CN108958856A (en) 2017-05-26 2017-05-26 Control management method, storage medium, electronic equipment and the system of mobile terminal

Publications (1)

Publication Number Publication Date
CN108958856A true CN108958856A (en) 2018-12-07

Family

ID=64494909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710396128.8A Pending CN108958856A (en) 2017-05-26 2017-05-26 Control management method, storage medium, electronic equipment and the system of mobile terminal

Country Status (1)

Country Link
CN (1) CN108958856A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618214A (en) * 2018-12-19 2019-04-12 北京字节跳动网络技术有限公司 Information display method, device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192732A1 (en) * 2006-02-13 2007-08-16 International Business Machines Corporation Controlling display of windows
CN101382887A (en) * 2008-09-19 2009-03-11 金蝶软件(中国)有限公司 Method and apparatus for regulating interface layout
CN104239027A (en) * 2013-06-07 2014-12-24 北京三星通信技术研究有限公司 Method and device for calling programs and terminal device
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment
CN105278937A (en) * 2014-06-30 2016-01-27 腾讯科技(深圳)有限公司 Method and device for displaying pop-up box messages
CN105373301A (en) * 2014-08-14 2016-03-02 中兴通讯股份有限公司 Control display method, control display apparatus, and terminal
CN106020697A (en) * 2016-05-25 2016-10-12 乐视控股(北京)有限公司 Control method and device for display elements
CN106648641A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Automatic management method and system for multi-level pop-up boxes on iOS system device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192732A1 (en) * 2006-02-13 2007-08-16 International Business Machines Corporation Controlling display of windows
CN101382887A (en) * 2008-09-19 2009-03-11 金蝶软件(中国)有限公司 Method and apparatus for regulating interface layout
CN104239027A (en) * 2013-06-07 2014-12-24 北京三星通信技术研究有限公司 Method and device for calling programs and terminal device
CN105278937A (en) * 2014-06-30 2016-01-27 腾讯科技(深圳)有限公司 Method and device for displaying pop-up box messages
CN105373301A (en) * 2014-08-14 2016-03-02 中兴通讯股份有限公司 Control display method, control display apparatus, and terminal
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment
CN106020697A (en) * 2016-05-25 2016-10-12 乐视控股(北京)有限公司 Control method and device for display elements
CN106648641A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Automatic management method and system for multi-level pop-up boxes on iOS system device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618214A (en) * 2018-12-19 2019-04-12 北京字节跳动网络技术有限公司 Information display method, device and electronic equipment

Similar Documents

Publication Publication Date Title
CN111221726A (en) Test data generation method and device, storage medium and intelligent equipment
CN109065035A (en) Information interacting method and device
CN111428448B (en) Text generation method, device, computer equipment and readable storage medium
CN109086352A (en) Consultation information feedback method, terminal and storage medium based on artificial intelligence
CN109547322A (en) System prompt control method, device, computer and computer readable storage medium
CN107592427A (en) Method, terminal device and the computer-readable recording medium of switch mode
CN108958856A (en) Control management method, storage medium, electronic equipment and the system of mobile terminal
CN110135814A (en) The correlating method of BIM and project data, system and terminal device
CN104021085A (en) Mobile terminal internal memory cleaning method and device
CN109783782A (en) Generation method, equipment, storage medium and the device of electronic contract template
CN108960528A (en) The prediction technique and relevant apparatus of labor turnover reason
CN107491700A (en) A kind of data access method and equipment
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN114691630B (en) Smart supply chain big data sharing method and system
CN105573835B (en) A kind of interface combinations management system, method and terminal
CN105554398B (en) Video shooting method and device and electronic equipment
CN109298974A (en) System control method, device, computer and computer readable storage medium
CN108717851A (en) A kind of audio recognition method and device
CN107071553A (en) A kind of method, device and computer-readable recording medium for changing video speech
CN103023810A (en) Method and system for simulating message processing
CN107589907A (en) Data processing method, electronic equipment and computer-readable recording medium
CN112418349A (en) Distributed multi-agent deterministic strategy control method for large complex system
CN114035533A (en) Vehicle intelligent test method and device
CN109276886B (en) Text generation method, system and terminal equipment
CN112734005A (en) Method and device for determining prediction model, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication