CN111124586A - Method and module for automatically managing character rolling of non-control on embedded network phone - Google Patents

Method and module for automatically managing character rolling of non-control on embedded network phone Download PDF

Info

Publication number
CN111124586A
CN111124586A CN201911400509.4A CN201911400509A CN111124586A CN 111124586 A CN111124586 A CN 111124586A CN 201911400509 A CN201911400509 A CN 201911400509A CN 111124586 A CN111124586 A CN 111124586A
Authority
CN
China
Prior art keywords
unit
rolling
scrolling
rolling unit
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
Application number
CN201911400509.4A
Other languages
Chinese (zh)
Other versions
CN111124586B (en
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.)
Nanjing Hanlong Technology Co ltd
Original Assignee
Nanjing Hanlong 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 Nanjing Hanlong Technology Co ltd filed Critical Nanjing Hanlong Technology Co ltd
Priority to CN201911400509.4A priority Critical patent/CN111124586B/en
Publication of CN111124586A publication Critical patent/CN111124586A/en
Application granted granted Critical
Publication of CN111124586B publication Critical patent/CN111124586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a module for automatically managing character scrolling by a non-control component on an embedded network phone, wherein the module comprises: the device comprises a rolling unit, an execution unit and a creation unit. The method comprises the following steps: firstly, checking reusability of rolling units, creating the rolling units, and organizing a plurality of rolling units by using a linked list; accessing each rolling unit in the rolling unit chain table at regular time, and updating and calculating each rolling unit in each access; and displaying information based on the scrolling unit in the screen of the embedded network phone, drawing the text in a temporary memory in a pixel moving mode when the text moves, and drawing an effective area in the temporary memory into an area indicated by the scrolling unit to form a scrolling effect. The invention provides an effective processing method for character scrolling of the embedded network phone with unsound display control without depending on a display control system, can be flexibly applied to common embedded network phone equipment, saves equipment resources, and has wide application and low performance requirement.

Description

Method and module for automatically managing character rolling of non-control on embedded network phone
Technical Field
The invention belongs to the technical field of communication, relates to the related technology of embedded network phones, and particularly relates to a method and a module for automatically managing character scrolling by a non-control component on an embedded network phone.
Background
The embedded network phone is limited by the size of the screen, and often requires moving the character string to display the complete information in a specific small area. However, many embedded devices have incomplete display systems, do not have ready-made character scrolling methods, or cannot use complete display controls due to hardware limitations, which results in incomplete display of information on many embedded network phones.
In addition, the display effect of the current character scrolling method is often unsatisfactory. A common method for scrolling characters on an embedded network phone is to scroll skipped characters, that is, character strings move forward one by one according to characters, although this method saves resources, the scrolling is not consistent, the problem of repeated jumping occurs in the scrolling in a narrow area, the user experience is not good, and the scrolling behavior is limited.
Disclosure of Invention
In order to solve the problems, the invention discloses a simple and universal character rolling method and a module, which can be realized in the current equipment hardware environment and are suitable for the character rolling requirement of a common embedded network telephone.
In order to achieve the purpose, the invention provides the following technical scheme:
the non-control automatic management character rolling module realized on the embedded network phone comprises: a scrolling unit, an execution unit and a creation unit;
the rolling units are connected in series through a data management linked list, each rolling unit comprises information needing to be rolled and presented, behavior control information and multiplexing check information, and the behavior control information comprises related rolling information of the rolling units;
the execution unit is arranged in a timer of the embedded phone system, is awakened and accesses each rolling unit when the timer arrives, extracts information in the rolling unit and behavior control information existing in the rolling unit and performs rolling display and behavior control on the rolling unit;
the creating unit is used for creating the rolling unit, firstly, whether the reusable rolling unit exists or not is checked, if the reusable rolling unit exists, the unit is reused, if the reusable rolling unit does not exist, the rolling unit is created, and necessary information is stored in the rolling unit.
Further, the information to be scrolled includes text and background to be scrolled.
Further, the related scroll information includes at least one of the following information: scrolling speed, direction, status, effect.
The method for automatically managing the character rolling of the non-control on the embedded network phone comprises the following steps:
creating a rolling unit, firstly checking whether a reusable rolling unit exists or not, if the reusable rolling unit exists, reusing the unit, and if the reusable rolling unit does not exist, creating the rolling unit, storing necessary information in the rolling unit, and organizing a plurality of rolling units by using a chain table;
accessing each rolling unit in the rolling unit chain table at regular time, and updating and calculating each rolling unit in each access;
and displaying information based on the scrolling unit in the screen of the embedded network phone, drawing the text in a temporary memory in a pixel moving mode when the text moves, and drawing an effective area in the temporary memory into an area indicated by the scrolling unit to form a scrolling effect.
Further, the effective area is preset in the scroll unit.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the module and the method provided by the invention do not depend on a display control system, provide an effective processing method for character scrolling of the embedded network phone with unsound display control, can be flexibly applied to common embedded network phone equipment, save equipment resources, and have wide application and low performance requirement.
Drawings
FIG. 1 is a diagram of a non-control auto-manage character scroll module architecture.
Fig. 2 is a schematic diagram of an embedded network phone display.
Detailed Description
The technical solutions provided by the present invention will be described in detail below with reference to specific examples, and it should be understood that the following specific embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention. Additionally, the steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions and, although a logical order is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than here.
The invention provides a non-control automatic management character rolling module realized on an embedded network phone, which structurally comprises a rolling unit, an execution unit and a creation unit.
The embedded network phone can provide the position coordinate information of the display screen, and a specific character rolling area can be created on the determined area corresponding to the position coordinate information on the display device by utilizing the information and other additional information. The scrolling unit displays the character scroll area. The information contained in the scroll unit is: information (text, background, etc.) that needs to be presented in a scrolling manner, behavior control information, multiplexing inspection information, etc.; the multiplexing check information refers to coordinate information (i.e., position information) provided by the display system, window handles, other state information (e.g., drawing area size), etc., which are stored for multiplexing of the scrolling unit. The multiplexing check information is merely a definition, and does not mean that it can be used only for multiplexing check, and in essence, the information therein needs to be used at the time of multiplexing check, and also needs to be used in creating a scrolling unit or other functions. Since the scrolling unit can be multiplexed, when the displayed text changes and other display conditions do not change, only the text needs to be directly changed. The plurality of rolling units are connected in series and managed through a data management linked list. When some character information needs to be displayed on the phone display equipment, a rolling unit is created, and necessary information is stored.
The behavior control information includes related scroll information of the scroll unit, such as: scrolling speed, direction, status, effect, or other property. Speed and direction are parameter controls. In the present example, the origin is defined at the upper left corner of the region, x positive is right, and y positive is downward. The state control is function control, the function control can be customized according to a use scene, and when the system runs, the state (namely behavior control information) of each rolling unit can be checked, so that whether the system runs, pauses, restarts, destroys, skips and the like is determined; the destruction state can thoroughly destroy the rolling unit from the data management linked list and release occupied resources, and the rolling units in other states can be reused; the skip state may be used in conjunction with speed control to optimize performance. Only the rolling unit in the running state can be really drawn, so that the rolling unit can be set to run at intervals, and the effects of speed control, performance optimization and the like can be achieved. The effect control is function control, and the function control can be customized according to the use scene, so that the rolling effect is defined, such as from left to right, from right to left, from head to tail, and then starting after the rolling disappears. Specifically, as in horizontal right-to-left scrolling, the positional pixel offset at the time of drawing may be specified such that all the text moves out of the display area and the pixel offset of the text is initially placed at the head coordinates of the text in the next timer event, and then an effect may be created in which the text disappears from the head to the tail, and starts to be displayed from the head here. Control of other properties is typically achieved by parameter control, such as the number of scrolls, whether or not drawing is required, when to pause, when to scroll again, and so on. The behavior control information is preset, and function call-back can be used in behavior control, so that dynamic control can be realized. When the timer is accessed, a preset callback function is called according to the specific situation at that time, and pause, skip, re-scroll and the like are carried out according to the return value (state) of the callback function.
The execution unit is arranged in a timer of the embedded phone system, wakes up the execution unit when the timer arrives, accesses each rolling unit, extracts information in the rolling unit and behavior control information existing in the rolling unit to perform rolling display and behavior control on the rolling unit, and performs behavior updating and judgment according to the behavior control information of the rolling unit when the execution unit executes. The character scrolling is realized by adopting a method of writing position pixel shift, namely, the text movement is drawn into a temporary memory (as shown in fig. 2) in a pixel movement mode, and then an effective area (namely, an area expected to be displayed on an interface, and the area is set according to position size information when a scrolling unit is created) is drawn into an area indicated by the scrolling unit, so that a scrolling effect is formed.
The creation unit is used for creating the rolling unit and checking whether the rolling unit capable of being reused exists, when the rolling unit is created, multiplexing check is firstly carried out to confirm whether the specific rolling unit already exists, and if the specific rolling unit exists, the specific rolling unit is reused. The multiplexing check is carried out by using the identifier which can uniquely specify the scroll unit, the checked contents such as window handle, position information, size information and the like are the same as those created twice, namely, the scroll unit is considered to be the same scroll unit to be created. When in multiplexing, related contents in the rolling unit, such as a word scene, can be directly modified, thereby realizing multiplexing. If no reusable scroll unit exists, the scroll unit is newly created, and necessary information such as information (characters, background and the like) needing to be scrolled and presented, behavior control information, multiplexing check information and the like is set.
Based on the module architecture, the invention also provides a method for realizing the automatic management of the characters rolling by the non-control on the embedded network phone, which comprises the following steps:
and creating a rolling unit, firstly checking whether a reusable rolling unit exists or not, if the reusable rolling unit exists, multiplexing the unit, and if the reusable rolling unit does not exist, creating the rolling unit, and storing necessary information in the rolling unit, wherein the necessary information comprises window information, coordinate information, size information and various behavior control information. And organizing the plurality of scrolling elements with a linked list.
The scrolling unit may be accessed and executed periodically. The linked list structure entry for organizing the rolling elements is in the timer. And accessing each rolling unit in the rolling unit linked list in the system timer, and updating and calculating each rolling unit in each access.
The information is displayed on the screen of the embedded network phone based on the scrolling unit, the text is drawn into a temporary memory (as shown in fig. 2) in a pixel moving mode when moving, and then an effective area is drawn into an area indicated by the scrolling unit to form a scrolling effect.
The technical means disclosed in the invention scheme are not limited to the technical means disclosed in the above embodiments, but also include the technical scheme formed by any combination of the above technical features. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and such improvements and modifications are also considered to be within the scope of the present invention.

Claims (5)

1. The non-control automatic management character rolling module realized on the embedded network phone is characterized by comprising: a scrolling unit, an execution unit and a creation unit;
the rolling units are connected in series through a data management linked list, each rolling unit comprises information needing to be rolled and presented, behavior control information and multiplexing check information, and the behavior control information comprises related rolling information of the rolling units;
the execution unit is arranged in a timer of the embedded phone system, is awakened and accesses each rolling unit when the timer arrives, extracts information in the rolling unit and behavior control information existing in the rolling unit and performs rolling display and behavior control on the rolling unit;
the creating unit is used for creating the rolling unit, firstly, whether the reusable rolling unit exists or not is checked, if the reusable rolling unit exists, the unit is reused, if the reusable rolling unit does not exist, the rolling unit is created, and necessary information is stored in the rolling unit.
2. The non-control automatic management character scrolling module implemented on the embedded network phone according to claim 1, wherein: the information needing to be presented in a scrolling mode comprises characters and a background to be scrolled.
3. The non-control automatic management character scrolling module implemented on the embedded network phone according to claim 1, wherein: the related scroll information includes at least one of the following information: scrolling speed, direction, status, effect.
4. The method for automatically managing character scrolling by a non-control component realized on an embedded network phone is characterized by comprising the following steps:
creating a rolling unit, firstly checking whether a reusable rolling unit exists or not, if the reusable rolling unit exists, reusing the unit, and if the reusable rolling unit does not exist, creating the rolling unit, storing necessary information in the rolling unit, and organizing a plurality of rolling units by using a chain table;
accessing each rolling unit in the rolling unit chain table at regular time, and updating and calculating each rolling unit in each access;
and displaying information based on the scrolling unit in the screen of the embedded network phone, drawing the text in a temporary memory in a pixel moving mode when the text moves, and drawing an effective area in the temporary memory into an area indicated by the scrolling unit to form a scrolling effect.
5. The method for non-control automatic management character scrolling implemented on an embedded network phone according to claim 4, wherein: the effective area is preset in the scroll unit.
CN201911400509.4A 2019-12-30 2019-12-30 Non-control automatic management character scrolling method and module implemented on embedded network telephone Active CN111124586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911400509.4A CN111124586B (en) 2019-12-30 2019-12-30 Non-control automatic management character scrolling method and module implemented on embedded network telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911400509.4A CN111124586B (en) 2019-12-30 2019-12-30 Non-control automatic management character scrolling method and module implemented on embedded network telephone

Publications (2)

Publication Number Publication Date
CN111124586A true CN111124586A (en) 2020-05-08
CN111124586B CN111124586B (en) 2023-08-29

Family

ID=70505720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911400509.4A Active CN111124586B (en) 2019-12-30 2019-12-30 Non-control automatic management character scrolling method and module implemented on embedded network telephone

Country Status (1)

Country Link
CN (1) CN111124586B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635807A (en) * 2009-08-06 2010-01-27 康佳集团股份有限公司 Smooth scrolling method of characters of set-top box according to pixels
CN101662616A (en) * 2009-09-17 2010-03-03 北京中科智网传媒技术有限公司 Character rolling display method
CN107329759A (en) * 2017-06-30 2017-11-07 北京酷我科技有限公司 A kind of method of content scrolling display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635807A (en) * 2009-08-06 2010-01-27 康佳集团股份有限公司 Smooth scrolling method of characters of set-top box according to pixels
CN101662616A (en) * 2009-09-17 2010-03-03 北京中科智网传媒技术有限公司 Character rolling display method
CN107329759A (en) * 2017-06-30 2017-11-07 北京酷我科技有限公司 A kind of method of content scrolling display

Also Published As

Publication number Publication date
CN111124586B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
KR102323333B1 (en) Application data processing method and apparatus, and storage medium
US8775923B1 (en) Web page restoration
CN110020323B (en) Page switching method and system for hybrid application, computer equipment and storage medium
EP2696285A1 (en) Method and device for allocating resource
CN109388317B (en) Picture loading method, terminal device and storage medium
CN103353860B (en) EMS memory management process and device
CN104572822A (en) Method and device for displaying text
CN104063125B (en) A kind of desktop icon management method and device
CN105630461A (en) Managing method of android application interface
US20090254866A1 (en) Method and system for displaying a multitude of objects on a display
CN103530160A (en) Page loading method and device
CN104113567A (en) Content distribution network data processing method, device and system
CN109271255A (en) Resource regulating method, system and electronic equipment and storage medium
CN112199134A (en) Message display method and device, electronic equipment and storage medium
CN111079045B (en) Full-screen display method, storage medium and system of customized page
CN109558325A (en) Time delay statistical method and device and computer readable storage medium
CN105227748A (en) Prompting message display packing and device
CN110866208A (en) Responsive layout method, device and equipment for page
CN104199729A (en) Resource management method and system
CN113779321A (en) Electronic whiteboard file saving method and device, electronic whiteboard and storage medium
CN111124586A (en) Method and module for automatically managing character rolling of non-control on embedded network phone
CN102736901A (en) Implementation method for WinCE platform self-defining desktop
CN111858612A (en) Data accelerated access method and device based on graph database and storage medium
CN109981798A (en) A kind of method for writing data, system and electronic equipment and storage medium
CN109167830A (en) A kind of acquisition methods and device of monitoring data

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