CN111124586B - Non-control automatic management character scrolling method and module implemented on embedded network telephone - Google Patents

Non-control automatic management character scrolling method and module implemented on embedded network telephone Download PDF

Info

Publication number
CN111124586B
CN111124586B CN201911400509.4A CN201911400509A CN111124586B CN 111124586 B CN111124586 B CN 111124586B CN 201911400509 A CN201911400509 A CN 201911400509A CN 111124586 B CN111124586 B CN 111124586B
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.)
Active
Application number
CN201911400509.4A
Other languages
Chinese (zh)
Other versions
CN111124586A (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

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 non-control automatic management character rolling method and a module realized on an embedded network telephone, wherein the module comprises the following steps: a scrolling unit, an executing unit and a creating 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; each rolling unit in the rolling unit linked list is accessed at regular time, and each rolling unit is updated and calculated for each access; and displaying information based on the scrolling unit in the embedded network phone screen, drawing the text into 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 telephone with unsound display control, which is independent of the display control system, can be flexibly applied to common embedded network telephone equipment, saves equipment resources, and has wide application and low performance requirement.

Description

Non-control automatic management character scrolling method and module implemented on embedded network telephone
Technical Field
The invention belongs to the technical field of communication, relates to the related technology of an embedded network telephone, and particularly relates to a non-control automatic management character scrolling method and a module realized on the embedded network telephone.
Background
Embedded network phones are limited in screen size and often require strings to be moved to display complete information in a particular small area. However, many embedded devices have incomplete display systems, no ready-made character scrolling method, or complete display controls cannot be used due to hardware limitations, which results in incomplete information display on many embedded network phones.
In addition, the display effect of the current character scrolling method is often unsatisfactory. The common method for performing character scrolling on the embedded network phone is to perform skip character scrolling, namely, character strings move forward one by one according to characters, and the method saves resources, but the scrolling is discontinuous, the scrolling in a narrow area has the problem of repeated skip, the user experience is poor, and the scrolling behavior is limited.
Disclosure of Invention
In order to solve the problems, the invention discloses a simple and universal character scrolling method and a module, which can be realized on the hardware environment of the prior equipment and are suitable for the character scrolling requirement of a common embedded network phone.
In order to achieve the above purpose, the present invention provides the following technical solutions:
the non-control automatic management character rolling module realized on the embedded network telephone comprises: the device comprises a rolling unit, an executing unit and a creating unit;
the rolling units are connected in series through a data management linked list, and comprise information needing to be rolled and presented, behavior control information and multiplexing check information, wherein the behavior control information comprises relevant rolling information of the rolling units;
the execution unit is arranged in a timer of the embedded telephone system, wakes up 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 of the rolling unit;
the creation unit is used for creating the rolling unit, firstly checking whether the rolling unit which can be multiplexed exists, multiplexing the unit if the multiplexing rolling unit exists, creating the rolling unit if the multiplexing rolling unit does not exist, and storing necessary information in the rolling unit.
Further, the information to be scrolled and presented comprises characters and a background to be scrolled.
Further, the related scroll information includes at least one of the following information: scroll speed, direction, status, effect.
The non-control automatic management character scrolling method implemented on the embedded network telephone comprises the following steps:
creating a rolling unit, firstly checking whether a reusable rolling unit exists or not, multiplexing the unit if the reusable rolling unit exists, creating the rolling unit if the reusable rolling unit does not exist, storing necessary information in the rolling unit, and organizing a plurality of rolling units by using a linked list;
each rolling unit in the rolling unit linked list is accessed at regular time, and each rolling unit is updated and calculated for each access;
and displaying information based on the scrolling unit in the embedded network phone screen, drawing the text into 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 scrolling unit.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the module and the method provided by the invention are independent of a display control system, provide an effective processing method for character scrolling of the embedded network telephone with unhealthy display control, and can be flexibly applied to common embedded network telephone equipment, thereby saving equipment resources, being widely applicable and having low performance requirements.
Drawings
FIG. 1 is a diagram of a non-control auto-management character scroll module architecture.
Fig. 2 is a schematic diagram of an embedded network phone.
Detailed Description
The technical scheme provided by the present invention will be described in detail with reference to the following specific examples, and it should be understood that the following specific examples are only for illustrating the present invention and are not intended to limit the scope of the present invention. Additionally, the steps illustrated in the flowcharts 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 flowcharts, in some cases the steps illustrated or described may be performed in an order other than that herein.
The invention provides a non-control automatic management character rolling module realized on an embedded network telephone.
The embedded network phone can provide position coordinate information of the display screen, and a specific text scrolling area can be created on a determined area corresponding to the position coordinate information on the display device by utilizing the information and other additional information. The scroll unit displays the text in the text scroll area. The information contained in the scrolling unit is: information (text, background, etc.), behavior control information, multiplexing inspection information, etc. that need to be scroll-presented; the multiplexing check information refers to coordinate information (i.e. position information), window handle, other status information (e.g. drawing area size) provided by the display system, and the like, and these information are stored for multiplexing the scrolling unit. Multiplexing inspection information is only a definition and does not mean that it can only be used for multiplexing inspection, essentially, the information therein needs to be used at the time of multiplexing inspection, and also needs to be used in creating a scroll unit or other functions. Because the scrolling unit can be multiplexed, when the displayed text changes and other display conditions are unchanged, 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 it is desired to display some text information on the phone display device, a scrolling unit is created to save the necessary information.
The behavior control information includes relevant scroll information of the scroll unit such as: scroll speed, direction, state, effect, or other property. Speed and direction are parameter controls. Positive numbers are left directions, negative numbers are right directions (we define an origin in a text scroll area and draw coordinates, the directions are calculated according to the coordinates at the time of final drawing. In this example, the origin is specified to be at the upper left corner of the area, the right is x positive, and the downward is y positive. The state control is function control, and according to the use scene, the function control can be customized, and when in operation, the state (namely the behavior control information) of each rolling unit can be checked, so as to determine whether to operate, pause, restart, destroy, skip and the like; the destroying state can thoroughly destroy the rolling unit from the data management linked list and release occupied resources, and the rolling units with other states can be multiplexed; the skip state may be used in conjunction with speed control to optimize performance. Only the rolling units in the running state can actually draw, so that the rolling units can be set to run at intervals of a plurality of times, 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 rolling from left to right, from right to left, starting from head to tail, starting after the tail disappears, and the like. Specifically, if in horizontal scrolling from right to left, the positional pixel offset at the time of drawing can be defined such that all characters are moved out of the display area, and the pixel offset start of the characters is placed at the character head coordinates in the next timer event, the effect that the characters scroll from the head to the tail and are displayed from the head can be formed. Control of other properties is typically achieved by parameter control such as number of scrolling times, whether drawing is required, when to pause, when to scroll again, etc. The behavior control information is preset, and the function callback can be used in the behavior control, so that the behavior control can be dynamically controlled. When the timer accesses, a preset callback function is called according to the specific situation at the time, and the timer pauses, skips, scrolls again and the like according to the return value (state) of the callback function.
The execution unit is arranged in a timer of the embedded telephone system, the execution unit is awakened each time the timer is reached, the execution unit accesses each rolling unit, extracts information in the rolling unit and behavior control information existing in the rolling unit to conduct rolling display and behavior control of the rolling unit, and the execution unit can conduct behavior updating and judging according to the behavior control information of the rolling unit when executing. The text scrolling is realized by adopting a writing position pixel offset method, namely, text movement is drawn into a temporary memory in a pixel movement mode (as shown in fig. 2), and then an effective area (namely, an area which is expected to be displayed on an interface is drawn into an area indicated by a scrolling unit when the scrolling unit is created, namely, the area is set according to position size information), so that a scrolling effect is formed.
The creation unit is used for creating the rolling unit and checking whether the rolling unit which can be multiplexed exists or not, and when the rolling unit is created, multiplexing check is firstly carried out to confirm whether the specific rolling unit exists or not, and if the specific rolling unit exists, multiplexing is carried out. The identification of the uniquely specified rolling unit is adopted for multiplexing inspection, and the inspected content such as window handle, position information, size information and the like is the same as the information created twice, namely the rolling unit is ready to be created. Related content, such as text, in the scrolling unit can be directly modified during multiplexing, thereby realizing multiplexing. If there is no reusable scroll unit, the scroll unit is newly created and necessary information such as information (text, background, etc.), behavior control information, multiplexing check information, etc. to be scroll-presented is set.
Based on the above module architecture, the invention also provides a non-control automatic management character scrolling method implemented on an embedded network phone, comprising the following steps:
a scroll unit is created, first, it is checked whether there is a scroll unit that can be multiplexed, the unit is multiplexed if there is a multiplexing-possible scroll unit, and if there is no multiplexing-possible unit, a scroll unit is created, necessary information including window information, coordinate information, size information, and various behavior control information is stored in the scroll unit. And organizing the plurality of scrolling units with a linked list.
The scrolling unit is accessed and executed at regular time. The linked list structure entry of the organization rolling unit 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.
And displaying information on the screen of the embedded network telephone based on the scrolling unit, drawing the text into a temporary memory in a pixel movement mode (as shown in fig. 2) when the text moves, and drawing an effective area into an area indicated by the scrolling unit to form a scrolling effect.
The technical means disclosed by the scheme of the invention is not limited to the technical means disclosed by the embodiment, and also comprises the technical scheme formed by any combination of the technical features. It should be noted that modifications and adaptations to the invention may occur to one skilled in the art without departing from the principles of the present invention and are intended to be within the scope of the present invention.

Claims (4)

1. The non-control automatic management character rolling module realized on the embedded network telephone is characterized by comprising: the device comprises a rolling unit, an executing unit and a creating unit;
the rolling units are connected in series through a data management linked list, and comprise information needing to be rolled and presented, behavior control information and multiplexing check information, wherein the behavior control information comprises relevant rolling information of the rolling units;
the related scroll information includes at least one of the following: scrolling speed, direction, status, effect;
the state control is function control, the function control can be customized according to the use scene, and the state of each rolling unit can be checked during running, so that whether to run, pause, restart, destroy and skip is determined;
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;
the function callback is used in the behavior control, so that the behavior control can be dynamically controlled, when the timer accesses, a preset callback function is called according to the specific situation at the time, and the callback function is paused, skipped and scrolled again according to the return value of the callback function;
the execution unit is arranged in a timer of the embedded telephone system, wakes up 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 of the rolling unit;
the creation unit is used for creating the rolling unit, firstly checking whether the rolling unit which can be multiplexed exists, multiplexing the unit if the multiplexing rolling unit exists, creating the rolling unit if the multiplexing rolling unit does not exist, and storing necessary information in the rolling unit.
2. The non-control automatic management character scroll module implemented on an embedded network phone of claim 1, wherein: the information to be scrolled and presented comprises characters and backgrounds to be scrolled.
3. The character scrolling method of a non-control automatic management character scrolling module according to claim 1, comprising the steps of:
creating a rolling unit, firstly checking whether a reusable rolling unit exists or not, multiplexing the unit if the reusable rolling unit exists, creating the rolling unit if the reusable rolling unit does not exist, storing necessary information in the rolling unit, and organizing a plurality of rolling units by using a linked list;
each rolling unit in the rolling unit linked list is accessed at regular time, and each rolling unit is updated and calculated for each access;
and displaying information based on the scrolling unit in the embedded network phone screen, drawing the text into 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.
4. A character scrolling method as claimed in claim 3, wherein: the effective area is preset in the scrolling 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 CN111124586A (en) 2020-05-08
CN111124586B true 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
CN111124586A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
EP3805908A1 (en) Annotation display method, device and apparatus, and storage medium
CN104572822A (en) Method and device for displaying text
CN106406862B (en) A kind of screen acquiring method and system
CN113655975B (en) Image display method, image display device, electronic apparatus, and medium
CN112199134A (en) Message display method and device, electronic equipment and storage medium
CN110471700B (en) Graphic processing method, apparatus, storage medium and electronic device
CN113779321B (en) Electronic whiteboard file storage method and device, electronic whiteboard and storage medium
CN111124586B (en) Non-control automatic management character scrolling method and module implemented on embedded network telephone
CN105227748A (en) Prompting message display packing and device
CN114995914A (en) Picture data processing method and device, computer equipment and storage medium
CN115718578A (en) Comment drawing method and device, terminal device and storage medium
CN112395036B (en) Page rendering method and system
CN112988105A (en) Playing state control method and device, electronic equipment and storage medium
US8395641B1 (en) Method for inserting graphic elements
CN112732679B (en) Data migration method, device, electronic equipment and readable storage medium
CN112667939A (en) Webpage refreshing method and device, electronic equipment and storage medium
CN112241303A (en) Image processing method and system, electronic device and storage medium
CN105824590A (en) Split screen processing method and device in mobile equipment
CN106406888B (en) Application program interface display method and device
CN115826898B (en) Cross-screen display method, system, device, equipment and storage medium
CN113365171B (en) Screen sound box processing method and device, electronic equipment and storage medium
CN111694476B (en) Translation browsing method and device, computer system and readable storage medium
CN107908320A (en) Show page switching method and device, computer-readable recording medium
CN109614564B (en) Method and device for improving interaction instantaneity of WebView and H5
CN115543510A (en) Target activity display method and device, 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
GR01 Patent grant
GR01 Patent grant