RU2155455C2 - Method and device for packet generation of main image data - Google Patents
Method and device for packet generation of main image data Download PDFInfo
- Publication number
- RU2155455C2 RU2155455C2 RU98106624A RU98106624A RU2155455C2 RU 2155455 C2 RU2155455 C2 RU 2155455C2 RU 98106624 A RU98106624 A RU 98106624A RU 98106624 A RU98106624 A RU 98106624A RU 2155455 C2 RU2155455 C2 RU 2155455C2
- Authority
- RU
- Russia
- Prior art keywords
- elements
- forming
- formation
- group
- function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/14—Display of multiple viewports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
- Digital Computer Display Output (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Изобретение относится к графическим пользовательским интерфейсам (ГНИ), используемым в подвижных системах связи, в частности к способам и устройству для реализации индикации сигнала тревоги, информирующего о сбоях в блоке управления базовой станции (ББУ) в цифровой сотовой системе связи. The invention relates to graphical user interfaces (STIs) used in mobile communication systems, in particular, to methods and apparatus for implementing an alarm indication informing of failures in a control unit of a base station (BBU) in a digital cellular communication system.
С момента появления на рынке сотовых систем связи в начале 1980-х годов спрос на них стремительно растет, что обусловлено их мобильностью, быстродействием, широкой зоной обслуживания, а также удобствами, обеспечиваемыми абонентам сотовых систем. Чтобы удовлетворить этот возрастающий спрос, возникли такие новые разработки, как микросотовая структура для увеличения пропускной способности радиоканалов, использование цифровой технологии, использование узкой полосы частот для речевых сигналов, высокоэффективные частотные модуляторы, а также системы с многостанционным доступом. Since the appearance on the market of cellular communication systems in the early 1980s, the demand for them has been growing rapidly, due to their mobility, speed, wide service area, as well as the amenities provided to subscribers of cellular systems. To meet this growing demand, new developments have arisen such as a microcellular structure to increase the capacity of radio channels, the use of digital technology, the use of a narrow frequency band for speech signals, high-performance frequency modulators, as well as systems with multiple access.
Современные цифровые сотовые системы подвижной связи делятся на системы МДВР (с многостанционным доступом с временным разделением каналов) и МДКР (с многостанционным доступом с кодовым разделением каналов). В системах МДВР используется технология, в которой для передачи и приема сигналов выделяются заданные временные интервалы. За счет установки времени передачи сигнала можно передавать множество сигналов на разные станции, при этом сигналы, накладывающиеся друг на друга в пространственной области, не создают взаимных помех во временной области. Схемы МДВР используются в настоящее время в Европе, США и Японии, которые приняли стандарт МДВР. Что касается систем МДКР, то они делятся на две категории - системы со скачкообразной перестройкой частоты и системы с прямой последовательностью. Компания Квэлком предложила систему МДКР с прямой последовательностью. Modern digital cellular mobile communication systems are divided into systems mdvr (with multiple access with time division of channels) and mdcr (with multiple access with code division of channels). TDMA systems use technology in which predetermined time intervals are allocated for transmitting and receiving signals. By setting the signal transmission time, it is possible to transmit multiple signals to different stations, while the signals superimposed on each other in the spatial domain do not interfere in the time domain. TDMA schemes are currently used in Europe, the USA and Japan, which have adopted the TDMA standard. As for CDMA systems, they are divided into two categories - systems with frequency hopping and systems with direct sequence. Quelcom has proposed a direct sequence CDMA system.
Индикация сигнала тревоги, показывающая на экране сбои сотового ББУ, реализуется на базе коммерческих программ, таких как SL-GMS. SL-GMS представляет собой вид графического программного инструмента, который очень дорого инсталлировать, и для которого требуется большой объем памяти, чтобы управлять соответствующими системными ресурсами. Использование SL-GMS повышает нагрузку, необходимую для изменения индикации сигнала тревоги, что увеличивает общее время, необходимое для изменения индикации. При этом также увеличивается время на обновление индикации, а это снижает эффективность индикации сигнала тревоги на ГПИ, для которой требуется обработка в реальном масштабе времени. Поэтому постоянные усилия направлены на реализацию индикации сигнала тревоги с помощью элементов основного изображения (motif) вместо SL-GMS. The alarm indication, showing on the screen the failures of the cellular BBU, is implemented on the basis of commercial programs such as SL-GMS. SL-GMS is a type of graphical software tool that is very expensive to install, and which requires a large amount of memory to manage the corresponding system resources. Using SL-GMS increases the load required to change the alarm indication, which increases the total time required to change the indication. This also increases the time to update the display, and this reduces the efficiency of the alarm indication on the GUI, which requires real-time processing. Therefore, constant efforts are aimed at implementing an alarm indication using the main image elements (motif) instead of SL-GMS.
Использование основного изображения облегчает формирование индикации. К тому же это экономично, так как такая возможность предусмотрена в большинстве систем UNIX. Кроме того, использование основного изображения создает меньшую нагрузку на систему управления в процессе управления и обеспечивает более высокое быстродействие по сравнению с SL-GMS. Но несмотря на эти преимущества, формирование элементов (widgets) основного изображения требует большого числа кодов, которые вводятся по одному. Кроме того, характеристику и структуру элементов очень трудно изменить. Например, поскольку всего лишь для изменения цвета одного элемента требуется корректировка и компиляция кода, процесс изменения цвета показанного основного изображения, который содержит множество элементов, очень усложняется и требует значительного времени. Using the main image facilitates the formation of an indication. It is also economical, as this feature is provided on most UNIX systems. In addition, the use of the main image creates a lower load on the control system during the control process and provides higher performance compared to SL-GMS. But despite these advantages, the formation of widgets of the main image requires a large number of codes that are entered one at a time. In addition, the characteristics and structure of the elements are very difficult to change. For example, since just changing the color of one element requires adjustment and compilation of the code, the process of changing the color of the shown main image, which contains many elements, is very complicated and time-consuming.
В основу изобретения положена задача создания устройства и способа для пакетного формирования элементов основного изображения, позволяющих эффективно реализовать индикацию сигнала тревоги в блоке управления базовой станции в цифровой сотовой системе связи. Пакетное формирование элементов основного изображения включает в себя использование файла данных, содержащего набор данных для формирования элементов основного изображения. The basis of the invention is the creation of a device and method for batch formation of elements of the main image that can effectively implement the alarm indication in the control unit of the base station in a digital cellular communication system. Batch formation of elements of the main image includes the use of a data file containing a data set for generating elements of the main image.
Еще одна задача изобретения заключается в создании устройства и способа для пакетного формирования элементов основного изображения с помощью файла данных. Another objective of the invention is to provide a device and method for batch formation of elements of the main image using a data file.
Изобретение также решает задачу создания устройства и способа, облегчающих формирование элементов основного изображения для реализации индикации сигнала тревоги. The invention also solves the problem of creating a device and method that facilitate the formation of elements of the main image for the implementation of the alarm indication.
Для решения указанных задач предложены устройство и способ для пакетного формирования элементов основного изображения. Согласно одному из вариантов изобретения, способ пакетного формирования элементов основного изображения заключается в том, что формируют файлы данных для формирования элементов, используемые для формирования элементов в пакет, и определяют структуру формирования пакета для считывания файловых данных формирования элементов в соответствующий блок группы элементов. Затем производят считывание с соответствующего файла данных, запрашиваемое по команде от блока определения структуры формирования пакета, и составные элементы формируются в пакет с помощью функции формирования элементов. To solve these problems, a device and method for batch forming the elements of the main image. According to one embodiment of the invention, a method for batch forming the elements of the main image is to form data files for forming elements used to form the elements in a packet, and determine the structure of the packet formation for reading the file data of the formation of elements in the corresponding block of the group of elements. Then, reading from the corresponding data file is carried out, which is requested by the command from the unit for determining the structure of the formation of the packet, and the constituent elements are formed into a packet using the function of forming the elements.
В дальнейшем изобретение поясняется описанием примеров его воплощения со ссылкой на прилагаемые чертежи, на которых
фиг. 1 изображает структурную схему цифровой сотовой системы связи, содержащей ББУ, в котором может быть реализовано изобретение,
фиг. 2 - примерный вид основного изображения, способствующий пониманию, что такое группа элементов, групповой идентификатор (ИД) и дочерний идентификатор (ИД),
фиг. 3 - структуру элемента основного изображения для показа основного изображения, проиллюстрированного на фиг. 2,
фиг. 4 - алгоритм формирования пакета элементов согласно одному из вариантов изобретения и
фиг. 5 - структурную схему предложенного устройства пакетного формирования элементов основного изображения.The invention is further explained in the description of examples of its embodiment with reference to the accompanying drawings, in which
FIG. 1 depicts a block diagram of a digital cellular communication system comprising a BSC in which the invention may be implemented,
FIG. 2 is an exemplary view of the main image, contributing to the understanding of what a group of elements, group identifier (ID) and child identifier (ID),
FIG. 3 is a structure of a main image element for showing a main image illustrated in FIG. 2
FIG. 4 is an algorithm for generating a packet of elements according to one embodiment of the invention; and
FIG. 5 is a structural diagram of the proposed device batch formation of elements of the main image.
В цифровой сотовой системе ББУ функционирует как рабочая станция и выполняет задачи управления, текущего ремонта и содержания всей системы подвижной связи. ББУ информирует о рабочем состоянии системы подвижной связи с помощью отображаемого основного изображения сигнала, реализованного в соответствии с изобретением. In the digital cellular system, the BBU functions as a workstation and performs the tasks of managing, maintaining and maintaining the entire mobile communication system. BBU informs about the operating state of the mobile communication system using the displayed main image of the signal implemented in accordance with the invention.
На фиг. 1 представлена структурная схема цифровой сотовой системы МДКР, содержащей ББУ. Система содержит подвижные станции (ПС) 10-1 - 10-n, приемопередающую подсистему базовой станции (БППС) 12, контроллер базовой станции (КБС) 14, блок управления базовой станции (ББУ) 16 и подвижный коммутационный узел (ПКУ) 18. Подвижные станции 10-1 - 10-n представляют собой подвижные связные терминалы, осуществляющие радиосвязь под управлением БППС 12. БППС 12 является базовой станцией, которая осуществляет радиосвязь с подвижными станциями 10-1 - 10-n, находящимися в радиусе своих ячеек. КБС 14 включен между БППС 12 и ПКУ 18 и управляет всеми передачами, связанными с БППС 12. ББУ 16 подсоединен к КБС 14 и взаимодействует с операторами в БППС 12. ПКУ 18 подключен к КБС 14 и осуществляет коммутацию подвижных станций 10-1 - 10-n. In FIG. 1 shows a structural diagram of a digital cellular system mdcr containing BBU. The system comprises mobile stations (PS) 10-1 - 10-n, a base station transceiver subsystem (BTS) 12, a base station controller (BSC) 14, a base station control unit (BSC) 16, and a mobile switching unit (PCU) 18. Mobile stations 10-1 to 10-n are mobile communication terminals that carry out radio communications under the control of BTS 12. BTS 12 is a base station that provides radio communications with mobile stations 10-1 - 10-n located within the radius of its cells. BSC 14 is connected between the BTS 12 and the control panel 18 and controls all transmissions associated with the BTS 12. The BSC 16 is connected to the BSC 14 and interacts with the operators in the BTS 12. The BSC 18 is connected to the BSC 14 and switches the mobile stations 10-1 to 10- n
Первый вариант осуществления изобретения направлен на эффективную реализацию индикации сигнала тревоги, чтобы показать сигнал сбоя ББУ 16 пользователю или оператору. Для этого предложен способ пакетного формирования элементов основного изображения с использованием файлов данных, которые содержат набор данных для формирования элементов основного изображения. Этот способ позволяет легко формировать элементы в пакет, благодаря помещению в файл только тех данных, которые необходимы для формирования элементов. Это сокращает рабочее время и повышает эффективность, так как структура элементов изменяется в файлах данных, что не требует операции компиляции. The first embodiment of the invention is directed to the effective implementation of an alarm indication to indicate a failure signal of the BSC 16 to a user or an operator. To this end, a method for batch forming the elements of the main image using data files that contain a data set for generating elements of the main image is proposed. This method allows you to easily form elements in a package, by placing only the data that is necessary for the formation of elements in a file. This reduces working time and increases efficiency, since the structure of elements is changed in data files, which does not require a compilation operation.
Под основным изображением понимается совокупность объектов пользовательского интерфейса, называемых элементами. Совокупность элементов основного изображения включает в себя все объекты, связанные с ГПИ, которые могут понадобиться программисту или пользователю, например, раскрывающиеся меню, диалоговые окна, линейные прокрутки, экранные кнопки и т.п. Когда программист намеревается создать прикладную программу, используя основное изображение, он просто выбирает набор элементов, которые будут использованы для получения ГПИ, и включает этот набор элементов в коды. Результаты закодированных элементов отображаются на экране. Но для получения множества элементов, имеющих одинаковое свойство, с помощью основного изображения требуется трудоемкое повторение идентичной кодировки. Кодовые части элементов, имеющих одинаковое свойство, различаются по положению, цвету и последовательностям элементов. Поэтому, если обеспечить независимое управление данными, необходимыми для формирования элементов, то элементы можно будет легко и быстро сформировать в пакет. Кодирование упрощается путем занесения данных формирования элементов в файлы данных, считывания файлов данных и создания функции для автоматического формирования элементов. Кроме того, эффективность кодирования можно повысить путем простого модифицирования файлов данных для изменения характеристик элементов. The main image refers to a collection of user interface objects called elements. The set of elements of the main image includes all objects associated with GUI that a programmer or user may need, for example, drop-down menus, dialog boxes, linear scrolling, screen buttons, etc. When a programmer intends to create an application program using the main image, he simply selects the set of elements that will be used to obtain the GUI, and includes this set of elements in the codes. The results of the encoded elements are displayed on the screen. But to obtain many elements having the same property, using the main image requires a laborious repetition of the identical encoding. The code parts of elements having the same property differ in position, color and sequences of elements. Therefore, if you provide independent management of the data necessary for the formation of elements, then the elements can be easily and quickly formed into a package. Coding is simplified by entering the data of the formation of elements into data files, reading data files and creating a function for the automatic generation of elements. In addition, coding efficiency can be improved by simply modifying the data files to change the characteristics of the elements.
Хотя существует множество видов управляющих элементов, необходимых для создания элементов, вместо них используются элементы формы благодаря удобству компоновки элементов в соответствии с положением, как будет описано ниже. Файл данных содержит положение родительского элемента, вид формируемого элемента, положение элемента в родительском элементе, а также цвет и последовательность элемента. Для положения элемента используются относительные координаты для использования в ресурсе XmATTACH_POSITION элемента формы. Элементы группируются по видам, и элементы одной группы имеют идентичный родительский элемент. Для представления вида элемента вместо имени исходного элемента основного изображения используется последовательность, указывающая функцию формирования пакета элементов основного изображения. Несмотря на то, что функция может создаваться по мере необходимости в использовании элементов, основные необходимые функции создаются предварительно. Although there are many types of controls needed to create elements, form elements are used instead because of the convenience of arranging the elements in accordance with the position, as described below. The data file contains the position of the parent element, the type of element being formed, the position of the element in the parent element, as well as the color and sequence of the element. Relative coordinates are used to position the element for use in the XmATTACH_POSITION resource of the form element. Elements are grouped by type, and elements of the same group have the same parent element. To represent the type of element, instead of the name of the original element of the main image, a sequence is used that indicates the function of forming a package of elements of the main image. Despite the fact that a function can be created as necessary to use elements, the basic necessary functions are created in advance.
При формировании элементов основного изображения файлы данных используются точно так же, как в языке пользовательского интерфейса (ЯПИ), в котором используются предварительно компилированные функции. Следовательно, ЯПИ должен иметь такую же структуру, как структура элемента в кодах основного изображения, и поэтому требует компиляции. Однако использование файлов данных в соответствии с изобретением позволяет определять структуру элемента независимо от исходного файла, и поэтому компилирование не требуется. Кроме того, функция формирования элементов создается по мере необходимости, и эффективность кодирования повышается благодаря исключению ненужной функции формирования элементов в источнике. Традиционные методы практически не осуществимы при кодировании, особенно в случае индикации сигнала тревоги, так как структуру индикации сигнала тревоги необходимо изменять каждый раз, когда изменяются требования к состоянию сигнала тревоги. Но в предложенном способе пакетного формирования элементов индикацию сигнала тревоги можно изменять просто посредством модификации файлов данных, что упрощает кодирование. В дальнейшем обсуждается структура элемента для формирования пакета элементов согласно изобретению. When forming elements of the main image, data files are used in exactly the same way as in the user interface language (YPI), which uses precompiled functions. Therefore, the YPI must have the same structure as the structure of the element in the codes of the main image, and therefore requires compilation. However, the use of data files in accordance with the invention makes it possible to determine the structure of an element independently of the source file, and therefore no compilation is required. In addition, the function of forming elements is created as necessary, and the coding efficiency is improved by eliminating the unnecessary function of forming elements in the source. Traditional methods are practically not feasible in coding, especially in the case of an alarm indication, since the structure of the alarm indication must be changed every time when the requirements for the alarm state change. But in the proposed method for batch generation of elements, the alarm indication can be changed simply by modifying the data files, which simplifies the encoding. In the following, the structure of an element for forming a packet of elements according to the invention is discussed.
(1) Определение структуры элемента для формирования пакета
Элементы группируются для формирования элементов в пакет. Каждая группа элементов имеет идентичный родительский элемент и дочерние элементы с одинаковым свойством. Под родительским элементом подразумевается управляющий элемент основного изображения, а под дочерним элементом - элемент, сформированный на родительском элементе. Структура элемента определяется следующим образом:
struct Page {
int*N ;
Widget**Buttons;
Pos**POSPTR;
COL**COLPTR;
Str**STRPTR;
Prt*PRTPTR;
Knd*KNDPTR;
int*MAXLEN;
};
В данном случае поле "N" означает количество элементов, подлежащих размещению в памяти. N[O] означает общее количество групп элементов, формирующих изображение. N[n] (n>0) означает количество дочерних элементов в n-й группе. Поле "Buttons" указывает адрес каждого дочернего элемента в группе. Дочерний элемент определяется двойным указателем, состоящим из группового ИД и дочернего ИД, которые присвоены данному дочернему элементу. Поля "POSPTR", "COLPTR", "STRPTR" соответственно указывают положение, цвет и последовательность элемента. Структуры "Pos", "Col", "Str" хранят данные, необходимые для изменения положения, цвета и последовательности элемента соответственно. Поля "PRTPTR" и "KNDPTR" указывают положение родительского элемента и вид группы элементов. Так как дочерние элементы в группе имеют одинаковый вид и совместно используют один и тот же родительский элемент, "PRTPTR" и "KNDPTR" определяются одним указателем. Поле "MAXLEN" хранит данные, соответствующие длине самой длинной последовательности в группе, которое используется для назначения соответствующего шрифта элементу. "MAXLEN" отличается от других полей тем, что его значение устанавливается после сравнения последовательностей во время реализации программы, в то время как исходные значения других полей устанавливаются в файле данных. Это значит, что исходное значение "MAXLEN" не может быть установлено в файле данных. Структуры "Pos", "Col", "Str" и "Knd" определяются следующим образом:
typedef struct_Pos {
int Nth, Sth, Wst, Est;
}Pos;
typedef struct_Col {
char Tsh[20], Bsh[20], Bgd[20];
}Col;
typedef struct_Str {
char str [100];
char fore [20];
}-Str;
typedef struct_Prt {
int i, j;
}Prt;
typedef struct_Knd {
char knd [20];
} Knd.(1) Determining the structure of an element for forming a packet
Elements are grouped to form elements in a package. Each group of elements has an identical parent element and child elements with the same property. By a parent element is meant a control element of the main image, and by a child element - an element formed on the parent element. The structure of an element is defined as follows:
struct Page {
int * N;
Widget ** Buttons;
Pos ** POSPTR;
COL ** COLPTR;
Str ** STRPTR;
Prt * PRTPTR;
Knd * KNDPTR;
int * MAXLEN;
};
In this case, the field "N" means the number of elements to be placed in memory. N [O] means the total number of groups of elements that form the image. N [n] (n> 0) means the number of children in the nth group. The Buttons field indicates the address of each child in the group. A child element is identified by a double pointer consisting of a group ID and a child ID that are assigned to this child element. The fields "POSPTR", "COLPTR", "STRPTR" respectively indicate the position, color and sequence of the element. Structures "Pos", "Col", "Str" store the data necessary to change the position, color and sequence of the element, respectively. The "PRTPTR" and "KNDPTR" fields indicate the position of the parent element and the type of group of elements. Since the children in the group are the same and share the same parent, "PRTPTR" and "KNDPTR" are defined by the same pointer. The "MAXLEN" field stores data corresponding to the length of the longest sequence in the group, which is used to assign the appropriate font to the element. "MAXLEN" differs from other fields in that its value is set after comparing the sequences during the implementation of the program, while the initial values of other fields are set in the data file. This means that the initial value "MAXLEN" cannot be set in the data file. The structures "Pos", "Col", "Str" and "Knd" are defined as follows:
typedef struct_Pos {
int Nth, Sth, Wst, Est;
} Pos;
typedef struct_Col {
char Tsh [20], Bsh [20], Bgd [20];
} Col;
typedef struct_Str {
char str [100];
char fore [20];
} -Str;
typedef struct_Prt {
int i, j;
} Prt;
typedef struct_Knd {
char knd [20];
} Knd.
Поля "Pos" указывают верхнюю, нижнюю, левую и правую координаты положения дочернего элемента относительно родительского элемента. Поля "Col" указывают самый темный оттенок, самый светлый оттенок и фон элемента. Поля "Str" указывают последовательность и цвет последовательности соответственно. Поле "fore" может быть опущено, и в этом случае обозначается черный цвет. Два поля "Prt" указывают групповой ИД и дочерний ИД родительского элемента соответственно. Поле "Knd" указывает тип или вид элемента. В дальнейшем будет описана сущность формирования элементов согласно изобретению. The "Pos" fields indicate the top, bottom, left, and right coordinates of the position of the child relative to the parent. The "Col" fields indicate the darkest hue, the lightest hue and background of the element. The "Str" fields indicate the sequence and color of the sequence, respectively. The fore field may be omitted, in which case black is indicated. The two “Prt” fields indicate the group ID and child ID of the parent, respectively. The Knd field indicates the type or type of element. In the following, the essence of the formation of elements according to the invention will be described.
(2) Сущность формирования элементов
Под группой элементов понимается набор элементов одинакового типа на идентичном родительском элементе. Групповой ИД указывает номер группы среди групп, определенных в файле данных, по возрастающей, начиная с единицы. Дочерний ИД указывает номер элемента в группе, начиная с 1 в возрастающей последовательности. Каждый элемент, определенный в файле данных, имеет групповой ИД и дочерний ИД. На фиг. 2 показан упрощенный вид основного изображения, чтобы облегчить понимание, что такое группа элементов, групповой ИД и дочерний ИД.(2) The essence of the formation of elements
A group of elements is a set of elements of the same type on an identical parent element. The group ID indicates the group number among the groups defined in the data file, in ascending order, starting from one. The child ID indicates the number of the element in the group, starting with 1 in ascending order. Each item defined in the data file has a group ID and a child ID. In FIG. 2 shows a simplified view of the main image in order to facilitate understanding of what a group of elements, a group ID, and a child ID are.
Для получения структуры вида основного изображения, показанного на фиг. 2, используются четыре группы элементов и пять дочерних элементов. Указанные четыре группы содержат соответственно один, один, один и два дочерних элемента. Хотя фоновый элемент 20 (т.е. элемент формы), находящийся внизу, не принадлежит ни к какой группе, он используется как родительский элемент для других элементов в файле данных, и поэтому имеет групповой ИД и дочерний ИД. Соответственно, фоновому элементу 20 присвоены групповой ИД 0 и дочерний ИД 0. На фиг. 3 показана структура основного изображения, проиллюстрированного на фиг. 2. Для упрощения описания элементов, если обозначить b-й дочерний элемент в a-й группе как элемент {a, b}, тогда фоновый элемент 20 будет элементом {0,0}. Группы 1-4 имеют родительские элементы {0,0}, {1,1}, {2,1} и { 3,1} соответственно. Элементы одинакового типа при родительском элементе обычно включаются в одну и ту же группу, но могут быть и в разных группах при определенных обстоятельствах, например для назначения разных шрифтов элементам одной и той же группы или для удобства управления элементами. В дальнейшем описывается функция формирования элементов. In order to obtain a view structure of the main image shown in FIG. 2, four groups of elements and five child elements are used. The indicated four groups contain respectively one, one, one and two children. Although the background element 20 (i.e., the form element) below does not belong to any group, it is used as the parent element for other elements in the data file, and therefore has a group ID and a child ID. Accordingly, the
(3) Функция формирования элементов
Функция формирования элементов выполняет следующие операции: создает дочерние элементы на родительском элементе путем размещения в памяти стольких дочерних элементов, сколько их требуется; изменяет характеристики дочерних элементов, такие как положение и цвет, и возвращает указатели дочерних элементов. Значения возвращенных указателей группируются и используются для обозначения дочерних элементов с помощью группового ИД и дочернего ИД. Данные родительского элемента, а также количество, положения и цвета дочерних элементов получают из структур элементов в файле данных. При необходимости можно сформировать составной элемент со сложной структурой. Например, для формирования управляющего элемента с трехмерным визуальным эффектом три элемента формы размещают в памяти, им назначаются разные цвета и производят их наложение с небольшим сдвигом. Хотя положение дочернего элемента относительно родительского элемента определяется элементом формы, находящимся внизу в родительском элементе, адрес элемента формы вверху в родительском элементе возвращается как адрес группы элементов. Не существует определенных ограничений по функциям формирования элементов, и они могут определяться пользователем, если указатель элемента формы возвращается в функцию формирования составного элемента. Это объясняется тем, что другие элементы могут располагаться только на составном управляющем элементе, включая элементы формы. Если последовательность, указывающая каждую функцию, используется в условном предложении, целевые функции формирования элементов могут быть реализованы путем считывания только одной функции, вместо того, чтобы включать несколько функций формирования элементов в отдельные коды. В дальнейшем описывается создание файла данных для пакетного формирования элементов в соответствии с изобретением.(3) Function of forming elements
The function of forming elements performs the following operations: creates child elements on the parent element by placing in memory as many child elements as they are needed; changes the characteristics of children, such as position and color, and returns pointers to children. The values of the returned pointers are grouped and used to designate children using the group ID and child ID. The data of the parent element, as well as the number, positions and colors of the child elements, are obtained from the element structures in the data file. If necessary, you can form a composite element with a complex structure. For example, to form a control element with a three-dimensional visual effect, three form elements are placed in memory, they are assigned different colors and superimposed with a slight shift. Although the position of the child element relative to the parent element is determined by the form element located at the bottom of the parent element, the address of the form element at the top in the parent element is returned as the address of the group of elements. There are no certain restrictions on the functions of forming the elements, and they can be determined by the user if the pointer to the form element returns to the function of forming the composite element. This is because other elements can only be located on a composite control element, including form elements. If a sequence indicating each function is used in a conditional sentence, the target function of forming the elements can be implemented by reading only one function, instead of including several functions of forming the elements in separate codes. The following describes the creation of a data file for batch generation of elements in accordance with the invention.
(4) Создание файла данных для пакетного формирования элементов
Рассмотрим файл данных для упрощенного показа основного изображения, реализованного функциями формирования элементов и используемого в индикации сигнала тревоги в блоке управления базовой станции в цифровой сотовой системе связи. Следует отметить, что этот файл данных не является идеальным и может быть легко определен программистом. Файл данных, соответствующий фиг. 2, выглядит так:
4 : 1 1 1 2
KNDO1 {большие кнопки}
KND02 {большие кнопки}
KND03 {большие кнопки}
KNDO4 {вертикальная черта}
PRTO1 {0,0}
PRTO2 {1,1}
PRTO3 {2,1}
PRTO4 {3,1}
POSO1 {25, 76, 3, 97}
POSO2 {5, 95, 5, 95}
POSO3 {5, 93, 5, 95}
POSO4 {7, 93, 15, 43} {7, 95, 57, 85}
COLO1 {дымчатый, серый 50, светло-серый}
COLO2 {серый 50, дымчатый, серый 70}
COLO3 {дымчатый, серый 50, светло-серый}
COLO4 {нуль, нуль, светло-зеленый} {нуль, нуль, светло-зеленый}
STRO1 {нуль}
STRO2 {нуль}
STRO3 {нуль}
STRO4 {А} {В}
Первая строка означает, что имеется четыре группы элементов, имеющих один, один, один и два дочерних элемента соответственно. Эти числа используются для размещения в памяти элементов, необходимых для функции формирования элементов, и должны располагаться в установленном порядке в первой строке. "KND" означает тип или вид элемента и должен находиться в начале строки, поскольку он обычно служит как маркер, представляющий положение целевых данных в файле данных. Последовательность (последовательность знаков), указывающая тип элемента, заключена в фигурные скобки, исключая другие последовательности знаков. Эта последовательность может быть определена для представления функции формирования элементов, инициированной пользователем.(4) Creating a data file for batch forming elements
Consider a data file for a simplified display of the main image implemented by the functions of forming the elements and used in the alarm indication in the control unit of the base station in a digital cellular communication system. It should be noted that this data file is not ideal and can be easily determined by the programmer. The data file corresponding to FIG. 2, looks like this:
4: 1 1 1 2
KNDO1 {large buttons}
KND02 {large buttons}
KND03 {large buttons}
KNDO4 {vertical bar}
PRTO1 {0,0}
PRTO2 {1,1}
PRTO3 {2,1}
PRTO4 {3,1}
POSO1 {25, 76, 3, 97}
POSO2 {5, 95, 5, 95}
POSO3 {5, 93, 5, 95}
POSO4 {7, 93, 15, 43} {7, 95, 57, 85}
COLO1 {smoky, gray 50, light gray}
COLO2 {gray 50, smoky, gray 70}
COLO3 {smoky, gray 50, light gray}
COLO4 {zero, zero, light green} {zero, zero, light green}
STRO1 {zero}
STRO2 {zero}
STRO3 {zero}
STRO4 {A} {B}
The first line means that there are four groups of elements having one, one, one and two children, respectively. These numbers are used to place in memory the elements necessary for the function of forming elements, and should be located in the established order in the first line. “KND” means the type or type of element and should be at the beginning of the line, since it usually serves as a marker representing the location of the target data in the data file. A sequence (sequence of characters) indicating the type of element is enclosed in braces, excluding other sequences of characters. This sequence can be defined to represent the user-generated element forming function.
"PRT" означает родительский элемент с групповым ИД и дочерним ИД для родительского элемента, разделенными запятой. При обозначении родительского элемента должна сохраняться последовательность родительского элемента и последующих элементов. В противном случае родительский элемент будет невозможно идентифицировать, что приведет к неожиданному изображению. "PRT" means a parent with a group ID and a child ID for the parent, separated by a comma. When designating a parent element, the sequence of the parent element and subsequent elements must be preserved. Otherwise, the parent will not be identifiable, resulting in an unexpected image.
"POS" означает верхнее, нижнее, левое и правое положения дочернего элемента относительно родительского элемента, выраженные в процентах. Если допустить, что элемент полностью занимает родительский элемент, его относительное положение будет {0, 100, 0, 100}. Обычно относительное минимальное положение равно 1 без десятичных долей. Если для целевого положения требуется координата меньше единицы, на родительском элементе формируется фиктивный элемент и элемент располагается на фиктивном элементе. "POS" means the top, bottom, left, and right positions of the child relative to the parent, expressed as a percentage. Assuming that the element fully occupies the parent element, its relative position will be {0, 100, 0, 100}. Usually the relative minimum position is 1 without decimals. If the target position requires a coordinate less than one, a dummy element is formed on the parent element and the element is located on the dummy element.
"COL" означает информацию о цвете элемента, такую как самый темный оттенок, самый светлый оттенок и фон. "Нуль" означает отсутствие цвета, и обозначения цветов должны соответствовать определениям в текстовом файле rgb.txt. “COL” means the color information of an element, such as the darkest hue, the lightest hue and background. “Zero” means the absence of color, and the color designations must conform to the definitions in the rgb.txt text file.
"STR" содержит информацию о последовательности, присоединенной к элементу. Чтобы получить дочерний элемент без последовательности, информация о цвете дочернего элемента в файле данных должна быть незаполненной. Для удаления последовательностей из всех дочерних элементов в группе должен быть помечен Нуль (NULL) в информации о цвете дочерних элементов. "STR" contains information about the sequence attached to the element. To get a child without a sequence, the color information of the child in the data file must be blank. To remove sequences from all children in a group, NULL must be marked in the color information of the children.
На фиг. 5 показана структурная схема предложенного устройства пакетного формирования элементов основного изображения. Устройство содержит блок 50 создания файлов данных, блок 52 определения структуры формирования пакета, блок 54 управления формированием пакета составного элемента. Блок 50 создания файла данных помещает в файлы данные формирования элементов, необходимые для формирования пакета элементов, являющихся объектами ГПИ. Блок 52 определения структуры формирования пакета определяет структуру формирования пакета для считывания файловых данных для формирования элементов в соответствующий блок группы элементов. Блок 54 управления пакетным формированием составного элемента считывает соответствующий файл данных, запрошенный по команде блока 52 определения структуры формирования пакета, из блока 50 создания файлов и формирует целевой составной элемент, используя функцию формирования элемента для пакетного формирования элементов. In FIG. 5 shows a structural diagram of the proposed device batch formation of elements of the main image. The device contains a
На фиг. 4 представлен предложенный алгоритм пакетного формирования элементов. В блоке 50 создания файла данных открывается файл данных (этап 100). Затем с файла данных считываются количество PAGE. N [O] групп элементов и количество PAGE. N[n] дочерних элементов в n-й группе (этап 102). На фиг. 2 и 3 PAGE. N[0] равно 4, a PAGE. N[1] - PAGE. N[4] равны 1, 1, 1 и 2 соответственно. In FIG. 4 presents the proposed algorithm for the batch formation of elements. In a data
На этапе 104 распределяется память для структуры элемента. В структуре PAGE хранится информация о структуре элемента, считанная с файла данных. At 104, memory is allocated for the item structure. The PAGE structure stores information about the structure of the element read from the data file.
На этапе 106 i и j, указывающие соответственно групповой ИД и дочерний ИД, устанавливаются на 1. Затем i увеличивается от 1 до PAGE. N [O], a j увеличивается от 1 до PAGE. N[n], где n означает ИД вспомогательной группы среди 1-PAGE. N[PAGE. N[O]]. Затем определяется, является ли i меньшим или равным PAGE. N [О] (этап 108). На фиг. 2 и 3 PAGE. N [О] равно 4, что больше 1 (i), и поэтому процесс переходит к этапу 110. At
На этапе 110 определяется, является ли j меньшим или равным PAGE. N[i]. Так как в этот момент j=i, оно также равно PAGE. N[i], и процесс переходит к этапу 112. At
На этапе 112 с файла данных считываются тип или вид KNDPTR[i] элемента, родительский элемент PRTPTR[i][j], положение POSPTR[i][j] элемента относительно родительского элемента и цвет COLPTR[i] [j] и последовательность SPRPTR[i] [j] элемента. Текущие значения i и j равны 1. Данные, считанные на этапе 112, используются для формирования элементов. На этапе 114 формируется составной элемент, соответствующий PAGE. KNDPTR (групповой ИД), с помощью функции формирования элементов. Как показано на фиг. 2 и 3, составной элемент для группы 1 формируется с использованием соответствующей функции формирования элементов PAGE.KNDPTR[1]. Функция формирования элементов включает в себя функции формирования составных элементов, которые реализуются путем ввода с клавиатуры PAGE.KNDPTR (групповой ИД). At
На этапе 116 j увеличивается на 1, и процесс возвращается к этапу 110. Теперь j равно 2, т.е. больше PAGE. N[1]. Поэтому процесс переходит к этапу 118. На этапе 118 i увеличивается на 1, и j устанавливается на 1, и процесс возвращается к этапу 108. At
С помощью описанной выше процедуры составные элементы для группы 1 формируются в пакет, и затем повторяются этапы 108-118, при этом i и j последовательно увеличиваются на 1. Таким образом, составные элементы для групп 2-4 формируются в пакет. Если сформированы все дочерние элементы для групп, процесс переходит к этапу 120, и файл данных закрывается. Using the above procedure, the constituent elements for group 1 are formed into a packet, and then steps 108-118 are repeated, with i and j sequentially increasing by 1. Thus, the constituent elements for groups 2-4 are formed into a packet. If all the children for the groups are formed, the process proceeds to step 120, and the data file is closed.
Как было описано выше, в предложенном способе пакетного формирования элемента с использованием функции основного изображения элементы легко формируются в пакет благодаря созданию файлов данных для формирования элементов. При этом сокращается рабочее время, так как структура элемента изменяется через файл данных, а это не требует компиляции. Кроме того, использование функции для автоматического считывания файла данных и формирования элементов облегчает кодирование и повышает эффективность работы. As described above, in the proposed method of batch forming an element using the main image function, the elements are easily formed into a packet by creating data files for forming the elements. At the same time, the working time is reduced, since the structure of the element is changed through the data file, and this does not require compilation. In addition, using the function to automatically read the data file and form elements facilitates coding and improves work efficiency.
Несмотря на то, что были описаны иллюстративные варианты изобретения со ссылкой на прилагаемые чертежи, понятно, что изобретение не ограничено этими конкретными вариантами и специалисты смогут осуществить разные другие изменения и модификации, не выходя за рамки объема изобретения. Although illustrative embodiments of the invention have been described with reference to the accompanying drawings, it is understood that the invention is not limited to these specific options and those skilled in the art will be able to make various other changes and modifications without departing from the scope of the invention.
Claims (16)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR13063/1997 | 1997-04-09 | ||
| KR1019970013063A KR100241881B1 (en) | 1997-04-09 | 1997-04-09 | Method and apparatus for generating motif widget in the bundle |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| RU98106624A RU98106624A (en) | 2000-02-10 |
| RU2155455C2 true RU2155455C2 (en) | 2000-08-27 |
Family
ID=19502307
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| RU98106624A RU2155455C2 (en) | 1997-04-09 | 1998-04-08 | Method and device for packet generation of main image data |
Country Status (7)
| Country | Link |
|---|---|
| JP (1) | JPH10283168A (en) |
| KR (1) | KR100241881B1 (en) |
| CN (1) | CN1196353C (en) |
| DE (1) | DE19812378B4 (en) |
| FR (1) | FR2762179A1 (en) |
| GB (1) | GB2324231B (en) |
| RU (1) | RU2155455C2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7337401B2 (en) * | 2002-12-18 | 2008-02-26 | Microsoft Corporation | User interface element representation with simplified view |
| KR100848129B1 (en) * | 2006-12-07 | 2008-07-24 | 한국전자통신연구원 | Method for providing a personalization service in ubiquitous environment and intelligent gadget therefor |
| KR100801650B1 (en) | 2007-02-13 | 2008-02-05 | 삼성전자주식회사 | How to execute a function on the standby screen of the mobile terminal |
| KR100747663B1 (en) * | 2007-05-04 | 2007-08-08 | 주식회사 위즈커뮤니케이션 | How to control widgets and mobile devices that can run widgets |
| CN104699455B (en) * | 2014-01-24 | 2017-10-10 | 杭州海康威视数字技术股份有限公司 | Carry out method, system and the warning keyboard of alarm host machine setting |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0239326A2 (en) * | 1986-03-19 | 1987-09-30 | Victor Company Of Japan, Limited | Magnetic recording and reproducing system |
| SU1443209A1 (en) * | 1987-05-14 | 1988-12-07 | Всесоюзный научно-исследовательский институт телевидения и радиовещания | Device for introducing alphanumeric information into displayed color televison image |
| EP0545323A1 (en) * | 1991-11-30 | 1993-06-09 | Sony Corporation | Motion picture decoding system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE19531961A1 (en) * | 1995-08-30 | 1997-03-06 | Siemens Ag | Alarm monitoring method for communication network |
-
1997
- 1997-04-09 KR KR1019970013063A patent/KR100241881B1/en not_active Expired - Fee Related
-
1998
- 1998-03-13 GB GB9805327A patent/GB2324231B/en not_active Expired - Fee Related
- 1998-03-20 DE DE1998112378 patent/DE19812378B4/en not_active Expired - Fee Related
- 1998-04-06 JP JP9313998A patent/JPH10283168A/en active Pending
- 1998-04-08 FR FR9804364A patent/FR2762179A1/en active Pending
- 1998-04-08 RU RU98106624A patent/RU2155455C2/en not_active IP Right Cessation
- 1998-04-09 CN CNB981059295A patent/CN1196353C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0239326A2 (en) * | 1986-03-19 | 1987-09-30 | Victor Company Of Japan, Limited | Magnetic recording and reproducing system |
| SU1443209A1 (en) * | 1987-05-14 | 1988-12-07 | Всесоюзный научно-исследовательский институт телевидения и радиовещания | Device for introducing alphanumeric information into displayed color televison image |
| EP0545323A1 (en) * | 1991-11-30 | 1993-06-09 | Sony Corporation | Motion picture decoding system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1202077A (en) | 1998-12-16 |
| KR100241881B1 (en) | 2000-02-01 |
| CN1196353C (en) | 2005-04-06 |
| GB2324231A (en) | 1998-10-14 |
| GB2324231B (en) | 1999-07-07 |
| DE19812378A1 (en) | 1998-10-15 |
| FR2762179A1 (en) | 1998-10-16 |
| KR19980076374A (en) | 1998-11-16 |
| GB9805327D0 (en) | 1998-05-06 |
| DE19812378B4 (en) | 2004-12-09 |
| JPH10283168A (en) | 1998-10-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4550386A (en) | Terminal controller | |
| US5119479A (en) | User interface system in which operation associated with input device may be selectively switched | |
| US4658359A (en) | Method for managing redundant resources in a complex avionics communication system | |
| EP0122082B1 (en) | Apparatus and method for modifying displayed color images | |
| US5490285A (en) | Method of topographically displaying selected information in a cellular communication system | |
| US5434957A (en) | Method and apparatus for generating a color palette | |
| US6185437B1 (en) | System and method for reconfiguring at least a portion of a cellular telecommunications network | |
| WO2021098579A1 (en) | Chart drawing method, device, apparatus and storage medium | |
| RU2155455C2 (en) | Method and device for packet generation of main image data | |
| KR100626778B1 (en) | Variable Length Walsh Code Allocation Method for Code Division Multiple Access Communication Systems | |
| US5450323A (en) | Command system with interactive command sources, enabling any number of heterogeneous systems to be accessed | |
| JP3554854B2 (en) | Business job execution related diagram display method | |
| KR100187993B1 (en) | Blank layout method for glass plate cutting machine | |
| CA2222702A1 (en) | Graphic control process for controlling operations in a network management system | |
| CN111115093B (en) | Method for realizing compatibility of warehouse management software | |
| JP3881414B2 (en) | Method and apparatus for customizing operation menu in electronic component mounting apparatus | |
| CN112100531B (en) | Map editing and generating method based on CocosCreator | |
| US6510423B1 (en) | Method and device for object control with a plurality of operation-target flags | |
| US8086969B2 (en) | System and method for graphical user interface | |
| WO1990001191A2 (en) | Improved data transmission optimizer | |
| CN111953628A (en) | Method and system for selecting modulation format of channel | |
| JPH04333970A (en) | Image filing system | |
| KR100454936B1 (en) | How to edit the maintenance database of the exchange | |
| JPS59178529A (en) | Cursor controlling system | |
| JPH04127319A (en) | Screen calling device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | The patent is invalid due to non-payment of fees |
Effective date: 20080409 |