WO2018214083A1 - Program file display method, terminal, and computer storage medium - Google Patents

Program file display method, terminal, and computer storage medium Download PDF

Info

Publication number
WO2018214083A1
WO2018214083A1 PCT/CN2017/085806 CN2017085806W WO2018214083A1 WO 2018214083 A1 WO2018214083 A1 WO 2018214083A1 CN 2017085806 W CN2017085806 W CN 2017085806W WO 2018214083 A1 WO2018214083 A1 WO 2018214083A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
displayed
files
program file
file
Prior art date
Application number
PCT/CN2017/085806
Other languages
French (fr)
Chinese (zh)
Inventor
穆文锋
Original Assignee
深圳配天智能技术研究院有限公司
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 深圳配天智能技术研究院有限公司 filed Critical 深圳配天智能技术研究院有限公司
Priority to CN201780036354.3A priority Critical patent/CN109511283A/en
Priority to PCT/CN2017/085806 priority patent/WO2018214083A1/en
Publication of WO2018214083A1 publication Critical patent/WO2018214083A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Definitions

  • the present invention relates to the field of industrial robot technology, and in particular, to a program file display method, a terminal, and a computer storage medium.
  • the object of the present invention is to provide a program file display method and the like, which are caused by excessive opening of a program file in the prior art, and inconvenience caused by displaying a complete program file name when the program file is opened too much.
  • the terminal can display the complete program file name when more and more open program files are opened, which is convenient for operating the program file.
  • the technical solution adopted by the present invention to solve the above technical problem is to provide a program file display method, which comprises: when a program file is opened or newly created, it is determined whether the number of displayed program files exceeds the preset number of files. If the number of the displayed program files exceeds the preset number of files, close at least one of the displayed program files, open or create the one of the program files and display them.
  • a terminal including a display, a memory and a processor for storing computer instructions configured to be executed by the processor;
  • the computer executes the computer instruction, when a program file is opened or newly created, determining whether the number of program files displayed on the display exceeds a preset number of files; if the number of the displayed program files is Exceeding the preset number of files, closing at least one program file in the displayed program file on the display, opening or creating the one program file and displaying on the display.
  • Another technical solution adopted by the present invention to solve the above technical problems is to provide a computer storage medium storing computer instructions executable by a processor for use in the above program file display method.
  • the beneficial effects of the present invention are: if the number of displayed program files exceeds the preset file number, close at least one of the program files, and then display the opened or newly created program file, so that the name of the displayed program file can be completed. It is displayed at the same time, and it is convenient to operate the program file, and it is impossible to open or create a new program file without restriction, and does not occupy too much resources, thereby not affecting the overall operation efficiency.
  • FIG. 1 is a schematic diagram showing the display of a program editor in the prior art
  • FIG. 2 is a flow chart showing an embodiment of a program file display method of the present invention
  • FIG. 3 is a flow chart of an embodiment of a program file in a closed program file of the present invention.
  • FIG. 4 is a flowchart of step S304 in the above embodiment of the present invention.
  • Figure 5 is a flow chart showing another embodiment of a program file in the closed displayed program file of the present invention.
  • Figure 6 is a block diagram showing the structure of an embodiment of the terminal of the present invention.
  • FIG. 1 it is a schematic diagram of a display of a program editor in the prior art.
  • the program editor includes a main window 10 for displaying an overall layout.
  • the main window 10 is provided with a center window 11 and a menu bar 12 .
  • the toolbar 13 the center window 11 is used to display new or open program files and has an editing function
  • the menu bar 12 contains all the functions of the editor
  • the toolbar 13 contains shortcut buttons for common functions.
  • the present invention is directed to displaying a new or open program file in the center window 11, that is, the present invention displays the program file on the program editor.
  • the present invention displays the program file on the program editor, and is not limited to the interface of the program editor in the prior art described above, and may be the interface of the program editor of other layouts.
  • the program editor can be a program editor of the teach pendant software, or a program editor of the programming software of other terminals.
  • FIG. 2 it is a flowchart of an embodiment of a program file display method according to the present invention.
  • the method displays the program file on the program editor in FIG. 1 above, and includes the following steps:
  • Step S202 When a program file is opened or newly created, it is determined whether the number of the displayed program files exceeds the preset file number;
  • the program file is a program file in the robot teach pendant, and a related operation, such as editing, is performed on the file to form a corresponding control command at compile time, and then transmitted to the robot for related actions.
  • the software corresponding to the program editor is installed in the robot teach pendant.
  • the robot teach pendant when an instruction to open a program file is received, the corresponding program file is opened, and when an instruction to create a new program file is received, the corresponding program file is newly created.
  • the program file may also be a file in another terminal, for example, a personal computer.
  • the software corresponding to the program editor is installed on the personal computer, and the software corresponding to the program editor is, for example, programming software such as VC++.
  • the displayed program files are displayed on the center window of the program editor, and each program file corresponds to a tab page.
  • the number of preset files indicates the number of files that can be simultaneously displayed on the center window, which can be determined according to the size of the program editor and the tab. For example, suppose the width of the center window of the program editor is 780 mm, and the length of the label of each tab. It is 130mm, and in order to display the label completely, the number of preset files is 6, so that the names of the program files displayed at the same time can be completely displayed. Of course, it can also be determined according to other conditions, for example, the length of the program file name, which is within the understanding of those skilled in the art, and will not be described here.
  • step S204 is performed.
  • Step S204 If it is over, close at least one program file in the displayed program file, open or create the new program file.
  • step S204 when the number of displayed program files exceeds the preset file number, it means that the open or newly created program file can no longer be displayed on the center window of the program editor, otherwise the program file cannot be completely displayed, and thus cannot Open or create a new program file without restrictions.
  • At least one of the displayed program files exceeds the preset number of files, and at least one of the program files is closed, and then the opened or newly created program file is displayed, so that the name of the displayed program file is displayed. It can be displayed completely, and it is convenient to operate the program file, and it can not open or create new program files without restriction, and does not occupy too much resources, so as not to affect the overall operation efficiency.
  • step S206 is executed to open or create the new program file and display it.
  • Close at least one program file in the displayed program file including closing one of the displayed program files.
  • opening or creating a new program file only one of the displayed program files is closed.
  • you can also close two or more program files in the displayed program file so that you can not close the displayed program when you open or create a new program file next time.
  • the file may also be so that the name of the displayed program file is completely displayed, and the present invention does not limit it within the scope of those skilled in the art. The following describes how to close a program file in the displayed program file.
  • FIG. 3 is a flowchart of an embodiment of a program file in the closed program file of the present invention, including:
  • Step S302 Acquire a frequency of use of each program file that has been displayed
  • each of the displayed program files is set with an attribute item, that is, the frequency of use.
  • attribute item that is, the frequency of use.
  • the value of the attribute item is incremented by one, wherein the used program may refer to the program.
  • the file is manipulated, of course, it can also mean other meanings, for example, the program file is executed.
  • step S302 includes: counting the number of operations that each of the displayed program files is operated as a frequency of use corresponding to the displayed program file.
  • the operation includes at least one of editing on the program file, clicking on the program file, and acquiring the focus of the program file.
  • Step S304 Close one of the displayed program files according to the frequency of use.
  • step S304 a program file in the displayed program file is closed according to the frequency of use, and the redundant program file is assisted to be closed, thereby not affecting the overall operation efficiency.
  • step S304 includes:
  • Step S3041 Find the program file with the lowest frequency of use.
  • Step S3042 It is judged whether the program having the lowest frequency of use among the displayed respective program files is one; if yes, step S3043 is performed, and if not, step S3044 is performed.
  • Step S3043 Turn off the program file with the lowest frequency of use. Then, the process ends.
  • step S304 further includes:
  • Step S3044 If more than one program file having the lowest frequency of use among the displayed program files is more than one, the order of opening the program files with the lowest frequency of use is obtained.
  • the opening order can be represented by a number, and the number can be represented by an Arabic numeral.
  • the program file a is opened after opening the program file b and the program file c, and the program file a is opened in the order of 3.
  • it can also be expressed by other means, for example, S1, S2, S3, and the like.
  • step S3045 closing the first open program file among the plurality of program files with the lowest frequency of use. Then, the process ends.
  • FIG. 5 it is a flowchart of another embodiment of a program file in the closed program file of the present invention, including:
  • Step S502 Acquire an open sequence of the displayed respective program files.
  • the open order of the displayed individual program files may be represented by a number, and the number may be represented by an Arabic numeral.
  • the program file a is opened after opening the program file b and the program file c, and the program file is The order of opening a is 3, and of course, it can also be expressed by other, for example, S1, S2, S3, and the like.
  • Step S504 Close one of the displayed program files according to the opening order.
  • step S504 one of the displayed program files is closed in accordance with the open sequence, and similarly, the redundant program file is assisted to be closed, thereby not affecting the overall operational efficiency.
  • the program file opened first is closed, and then the open or newly created program file is displayed.
  • FIG. 6 is a schematic structural diagram of an embodiment of a terminal according to the present invention.
  • the terminal 600 is configured to display a program file on a program editor, and includes a display 610, a memory 620, a processor 630, and a bus 640.
  • the display 610 is configured to display an interface of the program editor
  • Memory 620 is used to store computer instructions that are configured to be executed by processor 630 and data that needs to be saved or cached during operation of processor 630.
  • the processor 630 is configured to execute by calling a computer instruction stored in the memory 620:
  • At least one of the program files displayed is closed, and a new program file is opened or created and the display 610 is instructed to display.
  • terminal 600 is a robot teach pendant
  • program file is a program file in the robot teach pendant.
  • the processor 630 by calling the computer instruction stored in the memory 620, is configured to directly open or create a new program file and directly instruct the display 610 to display if the number of displayed program files does not exceed the preset number of files.
  • the processor 630 performs a process of closing one of the displayed program files, including: obtaining a frequency of use of each of the displayed program files; and closing one of the displayed program files according to the frequency of use.
  • the processor 630 performs to close one of the displayed program files according to the frequency of use, including: finding a program file having the lowest frequency of use; and determining a program file having the lowest frequency of use among the displayed respective program files. Whether it is one; if it is, close the program file with the lowest frequency of use. Further, in this embodiment, the processor 630 performs to close one of the displayed program files according to the frequency of use, and further includes: if more than one program file having the lowest frequency of use among the respective program files is displayed, Get the order in which the most frequently used program files are opened; close the first open program files among the most frequently used program files.
  • the processor 630 performs the frequency of acquiring the used program files, including: counting the number of operations of the displayed program files being operated as the frequency of use corresponding to the displayed program files; The operation includes at least one of editing on the program file, clicking on the program file, and acquiring the focus of the program file.
  • the processor 630 performs to close at least one of the displayed program files, including: acquiring an open sequence of the displayed program files; and closing one of the displayed respective program files according to the open sequence.
  • the processor 630 may also be referred to as a CPU (Central Processing). Unit, central processing unit).
  • Memory 620 can include read only memory and random access memory and provides instructions and data to processor 630.
  • a portion of memory 620 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the above components of the terminal are coupled together by a bus 640.
  • the bus 640 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus 640 in the figure.
  • Processor 630 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 630 or an instruction in a form of software.
  • the processor 630 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 620, and the processor 630 reads the information in the memory 620 and completes the steps of the above method in combination with its hardware.
  • the present invention also provides a computer readable storage medium, which is specifically usable as a memory 620 as shown in FIG. 6, which stores computer instructions executable on the processor 630, in particular,
  • computer instructions can be executed to implement the program file display method in the above embodiment.
  • the computer readable storage medium storing computer instructions executable on the processor 630 corresponds to the steps in the above method embodiments.
  • At least one of the displayed program files exceeds the preset number of files, and at least one of the program files is closed, and then the opened or newly created program file is displayed, so that the name of the displayed program file is displayed. It can be displayed completely, and it is convenient to operate the program file, and it can not open or create new program files without restriction, and does not occupy too much resources, so as not to affect the overall operation efficiency.

Abstract

A program file display method and terminal. The method comprises: upon opening or creation of a program file, determining whether the number of displayed program files exceeds a predetermined file number; if so, then closing at least one of the displayed program files, and opening or creating the program file and displaying the same. In this way, names of the displayed program files can be entirely displayed, and operation of a program file is facilitated. Furthermore, the present invention disables unlimited opening or creation of program files to prevent excessive resource occupation from influencing the overall operation efficiency.

Description

一种程序文件显示方法、终端及计算机存储介质 Program file display method, terminal and computer storage medium
【技术领域】[Technical Field]
本发明涉及工业机器人技术领域,尤其涉及一种程序文件显示方法、终端及计算机存储介质。The present invention relates to the field of industrial robot technology, and in particular, to a program file display method, a terminal, and a computer storage medium.
【背景技术】 【Background technique】
在对工业机器人进行示教的过程中,通常需要通过示教器软件的程序编辑器工具来编写程序或者打开已经存在的程序文件。操作人员在使用示教器软件进行程序编辑时,一般在程序编辑器中显示多个程序文件,而在实际操作过程中,一般不会关闭已经打开的程序文件,因此在程序编辑器中显示的程序文件会越来越多,同时由于示教器屏幕大小的限制,导致每个程序文件的标签页的空间变得狭窄,进而无法显示完整的程序文件名称。目前,为了显示完整的程序文件名称,如图1所示,当需要打开的程序文件过多时,在标签页的左侧和右侧分别用一个小箭头,通过小箭头切换到上一个或者下一个要显示的文件,进而使得每个标签页的空间大小得以保证,但是,在工业机器人示教器上左右切换小箭头难于操作,每点击一次只能切换到相邻的上一个或者下一个程序文件,造成了操作不方便。另外,仍然会导致显示的程序文件越来越多,从而影响整个软件运行的效率。In the process of teaching industrial robots, it is usually necessary to write programs or open existing program files through the program editor tool of the teach pendant software. When the operator uses the teach pendant software to perform program editing, generally, multiple program files are displayed in the program editor, and in the actual operation process, the opened program file is generally not closed, so it is displayed in the program editor. There will be more and more program files, and due to the limitation of the size of the teach pendant screen, the space of the tabs of each program file becomes narrow, and the complete program file name cannot be displayed. Currently, in order to display the complete program file name, as shown in Figure 1, when there are too many program files to open, use a small arrow on the left and right sides of the tab page to switch to the previous or next one with a small arrow. The file to be displayed, so that the space size of each tab is guaranteed, but it is difficult to switch the left and right arrows on the industrial robot teach pendant, and can only switch to the adjacent previous or next program file with each click. , resulting in inconvenient operation. In addition, it will still lead to more and more program files being displayed, which will affect the efficiency of the entire software operation.
【发明内容】 [Summary of the Invention]
本发明的目的在于,针对现有技术中的打开程序文件过多而引起的问题,以及打开程序文件过多时为显示完整的程序文件名称而导致的操作不便等,提供一种程序文件显示方法及终端,在打开程序文件越来越多时能显示完整的程序文件名称,方便操作程序文件。The object of the present invention is to provide a program file display method and the like, which are caused by excessive opening of a program file in the prior art, and inconvenience caused by displaying a complete program file name when the program file is opened too much. The terminal can display the complete program file name when more and more open program files are opened, which is convenient for operating the program file.
本发明解决上述技术问题所采用的技术方案是提供了一种程序文件显示方法,该方法包括:当一个程序文件被打开或者被新建时,判断已显示的程序文件的数量是否超过预设文件数量;若所述已显示的程序文件的数量超过预设文件数量,关闭所述已显示的各个程序文件中至少一个程序文件,打开或者新建所述一个程序文件并进行显示。The technical solution adopted by the present invention to solve the above technical problem is to provide a program file display method, which comprises: when a program file is opened or newly created, it is determined whether the number of displayed program files exceeds the preset number of files. If the number of the displayed program files exceeds the preset number of files, close at least one of the displayed program files, open or create the one of the program files and display them.
本发明解决上述技术问题所采用的另一技术方案是提供了一种终端,包括显示器、存储器以及处理器;所述存储器用于存储被配置为被所述处理器执行的计算机指令;所述处理器执行所述计算机指令,用于:当一个程序文件被打开或者被新建时,判断所述显示器上已显示的程序文件的数量是否超过预设文件数量;若所述已显示的程序文件的数量超过预设文件数量,关闭所述显示器上所述已显示的程序文件中至少一个程序文件,打开或者新建所述一个程序文件并在所述显示器上进行显示。Another technical solution adopted by the present invention to solve the above technical problems is to provide a terminal including a display, a memory and a processor for storing computer instructions configured to be executed by the processor; The computer executes the computer instruction, when a program file is opened or newly created, determining whether the number of program files displayed on the display exceeds a preset number of files; if the number of the displayed program files is Exceeding the preset number of files, closing at least one program file in the displayed program file on the display, opening or creating the one program file and displaying on the display.
本发明解决上述技术问题所采用的另一技术方案是提供了一种计算机存储介质,该计算机存储介质存储有处理器可运行的计算机指令,所述计算机指令用于上述程序文件显示方法。 Another technical solution adopted by the present invention to solve the above technical problems is to provide a computer storage medium storing computer instructions executable by a processor for use in the above program file display method.
本发明的有益效果有:在已显示的程序文件的数量超过预设文件数量,关闭其中的至少一个程序文件,再显示打开或者新建的程序文件,使得已显示的程序文件的名称能被完整的显示出来,同时方便操作程序文件,并且,使得不能无限制地打开或者新建程序文件,不会过多地占用资源,进而不影响整体的运行效率。The beneficial effects of the present invention are: if the number of displayed program files exceeds the preset file number, close at least one of the program files, and then display the opened or newly created program file, so that the name of the displayed program file can be completed. It is displayed at the same time, and it is convenient to operate the program file, and it is impossible to open or create a new program file without restriction, and does not occupy too much resources, thereby not affecting the overall operation efficiency.
【附图说明】 [Description of the Drawings]
下面将结合附图及实施方式对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1是现有技术中的程序编辑器的显示示意图;1 is a schematic diagram showing the display of a program editor in the prior art;
图2是本发明的程序文件显示方法一实施例的流程图;2 is a flow chart showing an embodiment of a program file display method of the present invention;
图3是本发明的关闭已显示的程序文件中一个程序文件一实施例的流程图;3 is a flow chart of an embodiment of a program file in a closed program file of the present invention;
图4是本发明上述实施例中步骤S304的流程图;Figure 4 is a flowchart of step S304 in the above embodiment of the present invention;
图5是本发明的关闭已显示的程序文件中一个程序文件另一实施例的流程图;Figure 5 is a flow chart showing another embodiment of a program file in the closed displayed program file of the present invention;
图6是本发明的终端一实施例的结构示意图。Figure 6 is a block diagram showing the structure of an embodiment of the terminal of the present invention.
【具体实施方式】【detailed description】
为使本领域的技术人员更好地理解本发明的技术方案,下面结合附图和具体实施方式对本发明的技术方案做进一步详细描述。The technical solutions of the present invention are further described in detail below in conjunction with the accompanying drawings and specific embodiments.
为了便于理解本发明,先对现有技术中的程序编辑器进行说明。In order to facilitate the understanding of the present invention, a prior art program editor will be described.
如图1所示,是现有技术中的程序编辑器的显示示意图,该程序编辑器包括主窗口10,主窗口10用于显示总体布局,主窗口10上设置有中心窗口11、菜单栏12和工具栏13,中心窗口11用于显示新建或者打开程序文件并具有编辑功能,菜单栏12包含编辑器的全部功能,工具栏13包含为常用功能提供的快捷按钮。在中心窗口11上,通常采用标签页的形式。当打开或者新建一个程序文件时,在中心窗口11上添加一个标签,标签上显示当前的程序文件名称,标签下方对应程序文件的编辑区域。As shown in FIG. 1 , it is a schematic diagram of a display of a program editor in the prior art. The program editor includes a main window 10 for displaying an overall layout. The main window 10 is provided with a center window 11 and a menu bar 12 . And the toolbar 13, the center window 11 is used to display new or open program files and has an editing function, the menu bar 12 contains all the functions of the editor, and the toolbar 13 contains shortcut buttons for common functions. On the center window 11, it is usually in the form of a tab. When opening or creating a new program file, a label is added to the center window 11, and the current program file name is displayed on the label, and the edit area of the program file corresponding to the label is displayed below the label.
可以理解,本发明是针对中心窗口11中显示新建或者打开程序文件而言,即本发明是将程序文件在程序编辑器上进行显示。It can be understood that the present invention is directed to displaying a new or open program file in the center window 11, that is, the present invention displays the program file on the program editor.
另外,本发明将程序文件在程序编辑器上进行显示,并不限于上述现有技术中的程序编辑器的界面,还可以是其他布局的程序编辑器的界面。程序编辑器可以是示教器软件的程序编辑器,当然也可以是其他终端的编程软件的程序编辑器。In addition, the present invention displays the program file on the program editor, and is not limited to the interface of the program editor in the prior art described above, and may be the interface of the program editor of other layouts. The program editor can be a program editor of the teach pendant software, or a program editor of the programming software of other terminals.
如图2所示,是本发明的程序文件显示方法一实施例的流程图,该方法将程序文件在上述图1中的程序编辑器上进行显示,包括以下步骤:As shown in FIG. 2, it is a flowchart of an embodiment of a program file display method according to the present invention. The method displays the program file on the program editor in FIG. 1 above, and includes the following steps:
步骤S202:当一个程序文件被打开或者新建时,判断已显示的程序文件的数量是否超过预设文件数量;Step S202: When a program file is opened or newly created, it is determined whether the number of the displayed program files exceeds the preset file number;
在步骤S202中,程序文件为机器人示教器中的程序文件,通过对该文件进行相关操作,例如编辑,以在编译时形成相应的控制指令,进而传输给机器人以进行相关动作。此时,程序编辑器所对应的软件安装在机器人示教器内。对于机器人示教器而言,接收到打开程序文件的指令时,相应的程序文件被打开,接收到新建程序文件的指令时,相应的程序文件被新建。当然,程序文件还可以是其他终端中的文件,例如,个人计算机,此时,程序编辑器所对应的软件安装在个人计算机上,程序编辑器所对应的软件例如VC++等编程软件。In step S202, the program file is a program file in the robot teach pendant, and a related operation, such as editing, is performed on the file to form a corresponding control command at compile time, and then transmitted to the robot for related actions. At this time, the software corresponding to the program editor is installed in the robot teach pendant. For the robot teach pendant, when an instruction to open a program file is received, the corresponding program file is opened, and when an instruction to create a new program file is received, the corresponding program file is newly created. Of course, the program file may also be a file in another terminal, for example, a personal computer. At this time, the software corresponding to the program editor is installed on the personal computer, and the software corresponding to the program editor is, for example, programming software such as VC++.
已显示的程序文件是指显示在程序编辑器的中心窗口上,每个程序文件对应于一个标签页。预设文件数量表示中心窗口上能同时显示的文件数量,可以根据程序编辑器和标签页的大小来确定,例如,假设程序编辑器的中心窗口的宽度为780mm,每个标签页的标签的长度为130mm,进而为了完整显示标签,预设文件数量为6,从而同时显示的程序文件的名称均能完整显示。当然,还可以根据其他条件来确定,例如,程序文件名称的长度,在本领域技术人员的理解范围之内,在此不再说明。The displayed program files are displayed on the center window of the program editor, and each program file corresponds to a tab page. The number of preset files indicates the number of files that can be simultaneously displayed on the center window, which can be determined according to the size of the program editor and the tab. For example, suppose the width of the center window of the program editor is 780 mm, and the length of the label of each tab. It is 130mm, and in order to display the label completely, the number of preset files is 6, so that the names of the program files displayed at the same time can be completely displayed. Of course, it can also be determined according to other conditions, for example, the length of the program file name, which is within the understanding of those skilled in the art, and will not be described here.
在已显示的程序文件的数量超过预设文件数量时,执行步骤S204。When the number of displayed program files exceeds the preset number of files, step S204 is performed.
步骤S204:若超过,关闭已显示的程序文件中至少一个程序文件,打开或者新建该一个程序文件。Step S204: If it is over, close at least one program file in the displayed program file, open or create the new program file.
在步骤S204中,在已显示的程序文件的数量超过预设文件数量时,表示程序编辑器的中心窗口上不能再显示打开或者新建的程序文件,否则出现程序文件不能完整显示的问题,进而不能无限制地打开或者新建程序文件。In step S204, when the number of displayed program files exceeds the preset file number, it means that the open or newly created program file can no longer be displayed on the center window of the program editor, otherwise the program file cannot be completely displayed, and thus cannot Open or create a new program file without restrictions.
本实施例中,相对于现有技术,在已显示的程序文件的数量超过预设文件数量,关闭其中的至少一个程序文件,再显示打开或者新建的程序文件,使得已显示的程序文件的名称能被完整的显示出来,同时方便操作程序文件,并且,使得不能无限制地打开或者新建程序文件,不会过多地占用资源,进而不影响整体的运行效率。In this embodiment, relative to the prior art, at least one of the displayed program files exceeds the preset number of files, and at least one of the program files is closed, and then the opened or newly created program file is displayed, so that the name of the displayed program file is displayed. It can be displayed completely, and it is convenient to operate the program file, and it can not open or create new program files without restriction, and does not occupy too much resources, so as not to affect the overall operation efficiency.
进一步地,继续如图2所示,若已显示的程序文件的数量没有超过预设文件数量,执行步骤S206:打开或者新建该一个程序文件并进行显示。Further, as shown in FIG. 2, if the number of displayed program files does not exceed the preset file number, step S206 is executed to open or create the new program file and display it.
关闭已显示的程序文件中至少一个程序文件,包括关闭已显示的程序文件中一个程序文件,即打开或者新建一个程序文件时,仅关闭已显示的程序文件中的一个程序文件。当然,在打开或者新建一个程序文件时,还可以关闭已显示的程序文件中的两个或者更多个程序文件,这样,在下次再打开或者新建一个程序文件时,可以不用关闭已显示的程序文件,也可以达到使得已显示的程序文件的名称被完整显示出来,在本领域技术人员理解的范围内,本发明并不对此进行限制。下面对关闭已显示的程序文件中的一个程序文件进行说明。Close at least one program file in the displayed program file, including closing one of the displayed program files. When opening or creating a new program file, only one of the displayed program files is closed. Of course, when opening or creating a new program file, you can also close two or more program files in the displayed program file, so that you can not close the displayed program when you open or create a new program file next time. The file may also be so that the name of the displayed program file is completely displayed, and the present invention does not limit it within the scope of those skilled in the art. The following describes how to close a program file in the displayed program file.
具体地,在一个实施例中,如图3所示,是本发明的关闭已显示的程序文件中一个程序文件一实施例的流程图,包括:Specifically, in one embodiment, as shown in FIG. 3, is a flowchart of an embodiment of a program file in the closed program file of the present invention, including:
步骤S302:获取已显示的各个程序文件的使用频率;Step S302: Acquire a frequency of use of each program file that has been displayed;
在步骤S302中,已显示的各个程序文件均被设置有一属性项,也即使用频率,在某个程序文件被使用一次时,该属性项的数值就加1,其中,被使用可以是指程序文件被操作,当然,也可以是指其他含义,例如,程序文件被执行。In step S302, each of the displayed program files is set with an attribute item, that is, the frequency of use. When a program file is used once, the value of the attribute item is incremented by one, wherein the used program may refer to the program. The file is manipulated, of course, it can also mean other meanings, for example, the program file is executed.
具体地,步骤S302包括:统计已显示的各个程序文件被操作的操作次数,以作为对应已显示的程序文件的使用频率。其中,操作包括在程序文件上编辑、点击程序文件以及程序文件获取焦点中的至少一种。Specifically, step S302 includes: counting the number of operations that each of the displayed program files is operated as a frequency of use corresponding to the displayed program file. The operation includes at least one of editing on the program file, clicking on the program file, and acquiring the focus of the program file.
步骤S304:根据使用频率关闭已显示的程序文件中的一个程序文件。Step S304: Close one of the displayed program files according to the frequency of use.
在步骤S304中,根据使用频率关闭已显示的程序文件中的一个程序文件,协助关闭冗余的程序文件,进而不影响整体的运行效率。具体地,一个实施例中,如图4所示,步骤S304包括:In step S304, a program file in the displayed program file is closed according to the frequency of use, and the redundant program file is assisted to be closed, thereby not affecting the overall operation efficiency. Specifically, in an embodiment, as shown in FIG. 4, step S304 includes:
步骤S3041:查找出使用频率最低的程序文件。Step S3041: Find the program file with the lowest frequency of use.
步骤S3042:判断已显示的各个程序文件中的使用频率最低的程序是否是一个;若是,执行步骤S3043,若否,执行步骤S3044。Step S3042: It is judged whether the program having the lowest frequency of use among the displayed respective program files is one; if yes, step S3043 is performed, and if not, step S3044 is performed.
步骤S3043:关闭使用频率最低的程序文件。随后,结束流程。Step S3043: Turn off the program file with the lowest frequency of use. Then, the process ends.
进一步地,继续如图4所示,步骤S304还包括:Further, as shown in FIG. 4, step S304 further includes:
步骤S3044:若已显示的各个程序文件中的使用频率最低的程序文件超过一个时,获取多个使用频率最低的程序文件的打开顺序。在此步骤中,打开顺序可以通过编号来表示,编号可以采用阿拉伯数字来表示,例如,程序文件a是在打开程序文件b和程序文件c之后打开的,则程序文件a的打开顺序为3,当然,也可以通过其他来表示,例如,S1、S2、S3等。Step S3044: If more than one program file having the lowest frequency of use among the displayed program files is more than one, the order of opening the program files with the lowest frequency of use is obtained. In this step, the opening order can be represented by a number, and the number can be represented by an Arabic numeral. For example, the program file a is opened after opening the program file b and the program file c, and the program file a is opened in the order of 3. Of course, it can also be expressed by other means, for example, S1, S2, S3, and the like.
随后,步骤S3045:关闭多个使用频率最低的程序文件中最先打开的程序文件。随后,结束流程。Subsequently, step S3045: closing the first open program file among the plurality of program files with the lowest frequency of use. Then, the process ends.
在另一个实施例中,如图5所示,是本发明的关闭已显示的程序文件中一个程序文件另一实施例的流程图,包括:In another embodiment, as shown in FIG. 5, it is a flowchart of another embodiment of a program file in the closed program file of the present invention, including:
步骤S502:获取已显示的各个程序文件的打开顺序。Step S502: Acquire an open sequence of the displayed respective program files.
在步骤S502中,已显示的各个程序文件的打开顺序可以通过编号来表示,编号可以采用阿拉伯数字来表示,例如,程序文件a是在打开程序文件b和程序文件c之后打开的,则程序文件a的打开顺序为3,当然,也可以通过其他来表示,例如,S1、S2、S3等。In step S502, the open order of the displayed individual program files may be represented by a number, and the number may be represented by an Arabic numeral. For example, the program file a is opened after opening the program file b and the program file c, and the program file is The order of opening a is 3, and of course, it can also be expressed by other, for example, S1, S2, S3, and the like.
步骤S504:根据打开顺序关闭已显示的各个程序文件中的一个程序文件。Step S504: Close one of the displayed program files according to the opening order.
在步骤S504中,根据打开顺序关闭显示的各个程序文件中的一个程序文件,同样地,协助关闭冗余的程序文件,进而不影响整体的运行效率。例如,在打开或者新建一个程序文件时,将最先打开的程序文件关闭,进而再显示打开或者新建的程序文件。当然,也可以将打开顺序中排列在特定顺序的程序文件关闭,此可由操作人员来决定。In step S504, one of the displayed program files is closed in accordance with the open sequence, and similarly, the redundant program file is assisted to be closed, thereby not affecting the overall operational efficiency. For example, when opening or creating a new program file, the program file opened first is closed, and then the open or newly created program file is displayed. Of course, it is also possible to close the program files arranged in a specific order in the open order, which can be determined by the operator.
如图6所示,是本发明的终端一实施例的结构示意图,该终端600用于将程序文件在程序编辑器上进行显示,包括显示器610、存储器620、处理器630以及总线640。FIG. 6 is a schematic structural diagram of an embodiment of a terminal according to the present invention. The terminal 600 is configured to display a program file on a program editor, and includes a display 610, a memory 620, a processor 630, and a bus 640.
显示器610用于显示程序编辑器的界面;The display 610 is configured to display an interface of the program editor;
存储器620用于存储被配置为被处理器630执行的计算机指令以及在处理器630工作过程中所需保存或缓存的数据。Memory 620 is used to store computer instructions that are configured to be executed by processor 630 and data that needs to be saved or cached during operation of processor 630.
在本实施例中,处理器630通过调用存储器620存储的计算机指令,用于执行:In this embodiment, the processor 630 is configured to execute by calling a computer instruction stored in the memory 620:
在一个程序文件被打开或者新建时,判断显示器610上已显示的程序文件的数量是否超过预设文件数量;When a program file is opened or newly created, it is judged whether the number of program files displayed on the display 610 exceeds the preset file number;
若超过,关闭已显示的各个程序文件中至少一个程序文件,并打开或者新建一个程序文件并指示显示器610进行显示。If so, at least one of the program files displayed is closed, and a new program file is opened or created and the display 610 is instructed to display.
进一步地,终端600为机器人示教器,程序文件为机器人示教器中的程序文件。Further, the terminal 600 is a robot teach pendant, and the program file is a program file in the robot teach pendant.
进一步地,处理器630通过调用存储器620存储的计算机指令,用于执行:若已显示的程序文件的数量没有超过预设文件数量,直接打开或者新建一个程序文件并直接指示显示器610进行显示。Further, the processor 630, by calling the computer instruction stored in the memory 620, is configured to directly open or create a new program file and directly instruct the display 610 to display if the number of displayed program files does not exceed the preset number of files.
进一步地,处理器630执行关闭已显示的各个程序文件中一个程序文件,包括:获取已显示的各个程序文件的使用频率;根据使用频率关闭已显示的各个程序文件中的一个程序文件。Further, the processor 630 performs a process of closing one of the displayed program files, including: obtaining a frequency of use of each of the displayed program files; and closing one of the displayed program files according to the frequency of use.
进一步地,处理器630执行根据使用频率关闭已显示的各个程序文件中的一个程序文件,包括:查找出使用频率为最低的程序文件;判断已显示的各个程序文件中的使用频率最低的程序文件是否是一个;若是,则关闭使用频率最低的程序文件。进一步地,本实施例中,处理器630执行根据使用频率关闭已显示的各个程序文件中的一个程序文件,还包括:若已显示的各个程序文件中的使用频率最低的程序文件超过一个时,获取多个使用频率最低的程序文件的打开顺序;关闭多个使用频率最低的程序文件中最先打开的程序文件。Further, the processor 630 performs to close one of the displayed program files according to the frequency of use, including: finding a program file having the lowest frequency of use; and determining a program file having the lowest frequency of use among the displayed respective program files. Whether it is one; if it is, close the program file with the lowest frequency of use. Further, in this embodiment, the processor 630 performs to close one of the displayed program files according to the frequency of use, and further includes: if more than one program file having the lowest frequency of use among the respective program files is displayed, Get the order in which the most frequently used program files are opened; close the first open program files among the most frequently used program files.
进一步地,处理器630执行获取已显示的各个程序文件的使用频率,包括:统计已显示的各个程序文件被操作的操作次数,以作为对应已显示的程序文件的将操作次数作为使用频率;其中,操作包括在程序文件上编辑、点击程序文件以及程序文件获取焦点中的至少一种。Further, the processor 630 performs the frequency of acquiring the used program files, including: counting the number of operations of the displayed program files being operated as the frequency of use corresponding to the displayed program files; The operation includes at least one of editing on the program file, clicking on the program file, and acquiring the focus of the program file.
进一步地,处理器630执行关闭已显示的各个程序文件中至少一个程序文件,包括:获取已显示的程序文件的打开顺序;根据打开顺序关闭已显示的各个程序文件中的一个程序文件。Further, the processor 630 performs to close at least one of the displayed program files, including: acquiring an open sequence of the displayed program files; and closing one of the displayed respective program files according to the open sequence.
上述处理器630还可以称为CPU(Central Processing Unit,中央处理单元)。存储器620可以包括只读存储器和随机存取存储器,并向处理器630提供指令和数据。存储器620的一部分还可以包括非易失性随机存取存储器(NVRAM)。具体的应用中,终端的上述各个组件通过总线640耦合在一起,其中总线640除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线640。The processor 630 may also be referred to as a CPU (Central Processing). Unit, central processing unit). Memory 620 can include read only memory and random access memory and provides instructions and data to processor 630. A portion of memory 620 may also include non-volatile random access memory (NVRAM). In a specific application, the above components of the terminal are coupled together by a bus 640. The bus 640 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus 640 in the figure.
上述本发明实施例揭示的方法可以应用于处理器703中,或者由处理器630实现。处理器630可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器630中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器630可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器620,处理器630读取存储器620中的信息,结合其硬件完成上述方法的步骤。The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 703 or implemented by the processor 630. Processor 630 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 630 or an instruction in a form of software. The processor 630 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or discrete hardware. Component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 620, and the processor 630 reads the information in the memory 620 and completes the steps of the above method in combination with its hardware.
为此,本发明还提供了计算机可读存储介质,该计算机可读存储介质具体可用作如图6所示的存储器620,其存储有可在处理器630上运行的计算机指令,具体地,在本实施例中,计算机指令能够被执行以实现上述实施例中的程序文件显示方法。To this end, the present invention also provides a computer readable storage medium, which is specifically usable as a memory 620 as shown in FIG. 6, which stores computer instructions executable on the processor 630, in particular, In the present embodiment, computer instructions can be executed to implement the program file display method in the above embodiment.
需要注意的是,计算机可读存储介质存储有可在处理器630上运行的计算机指令对应于上述方法实施例中的步骤。It is noted that the computer readable storage medium storing computer instructions executable on the processor 630 corresponds to the steps in the above method embodiments.
本实施例中,相对于现有技术,在已显示的程序文件的数量超过预设文件数量,关闭其中的至少一个程序文件,再显示打开或者新建的程序文件,使得已显示的程序文件的名称能被完整的显示出来,同时方便操作程序文件,并且,使得不能无限制地打开或者新建程序文件,不会过多地占用资源,进而不影响整体的运行效率。In this embodiment, relative to the prior art, at least one of the displayed program files exceeds the preset number of files, and at least one of the program files is closed, and then the opened or newly created program file is displayed, so that the name of the displayed program file is displayed. It can be displayed completely, and it is convenient to operate the program file, and it can not open or create new program files without restriction, and does not occupy too much resources, so as not to affect the overall operation efficiency.
以上仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (17)

  1. 一种程序文件显示方法,其中,包括:A program file display method, comprising:
    当一个程序文件被打开或者被新建时,判断已显示的程序文件的数量是否超过预设文件数量;When a program file is opened or newly created, it is judged whether the number of displayed program files exceeds the preset file number;
    若所述已显示的程序文件的数量超过预设文件数量,关闭所述已显示的各个程序文件中至少一个程序文件,打开或者新建所述一个程序文件并进行显示。If the number of the displayed program files exceeds the preset file number, at least one of the displayed program files is closed, and the one program file is opened or newly created and displayed.
  2. 根据权利要求1中所述的方法,其中,所述程序文件为机器人示教器中的程序文件。The method of claim 1 wherein said program file is a program file in a robotic teach pendant.
  3. 根据权利要求2中所述的方法,其中,The method according to claim 2, wherein
    所述关闭所述已显示的各个程序文件中一个程序文件,包括:The closing a program file of each of the displayed program files includes:
    获取所述已显示的各个程序文件的使用频率;Obtaining the frequency of use of each of the displayed program files;
    根据所述使用频率关闭所述已显示的各个程序文件中的一个程序文件。One of the displayed program files is closed according to the frequency of use.
  4. 根据权利要求3中所述的方法,其中,The method according to claim 3, wherein
    所述根据所述使用频率关闭所述已显示的各个程序文件中的一个程序文件,包括:The closing, according to the frequency of use, one of the displayed program files, including:
    判断所述已显示的各个程序文件中的使用频率最低的程序文件是否是一个;Determining whether the program file having the lowest frequency of use among the displayed respective program files is one;
    若所述已显示的各个程序文件中的使用频率最低的程序文件是一个,则关闭该程序文件。If the program file having the lowest frequency of use among the displayed individual program files is one, the program file is closed.
  5. 根据权利要求4中所述的方法,其中,The method according to claim 4, wherein
    所述根据所述使用频率关闭所述已显示的各个程序文件中的一个程序文件,还包括:The closing one of the displayed program files according to the frequency of use further includes:
    若所述已显示的各个程序文件中的使用频率最低的程序文件超过一个时,获取该多个使用频率最低的程序文件的打开顺序;If the program file with the lowest frequency of use among the displayed program files exceeds one, obtain an open sequence of the program files with the lowest frequency of use;
    关闭所述多个使用频率最低的程序文件中最先打开的程序文件。Close the first open program file among the multiple frequently used program files.
  6. 根据权利要求3中所述的方法,其中,The method according to claim 3, wherein
    所述获取所述已显示的各个程序文件的使用频率,包括:The obtaining the frequency of use of the displayed respective program files includes:
    统计已显示的各个程序文件被操作的操作次数,以作为对应所述已显示的程序文件的使用频率;Counting the number of operations that each program file that has been displayed is operated as a frequency of use corresponding to the displayed program file;
    其中,所述操作包括在程序文件上编辑、点击程序文件以及程序文件获取焦点中的至少一种。The operation includes at least one of editing on a program file, clicking a program file, and acquiring a program file focus.
  7. 根据权利要求2中所述的方法,其中,包括:The method of claim 2, comprising:
    若已显示的程序文件的数量没有超过预设文件数量,打开或者新建所述一个程序文件并进行显示。If the number of program files that have been displayed does not exceed the preset number of files, open or create one of the program files and display them.
  8. 根据权利要求2中所述的方法,其中,The method according to claim 2, wherein
    所述关闭所述已显示的各个程序文件中至少一个程序文件,包括:The closing at least one of the displayed program files includes:
    获取所述已显示的程序文件的打开顺序;Obtaining an open sequence of the displayed program files;
    根据所述打开顺序关闭所述已显示的各个程序文件中的一个程序文件。One of the displayed program files is closed according to the opening order.
  9. 一种终端,其中,包括显示器、存储器以及处理器;A terminal, including a display, a memory, and a processor;
    所述存储器用于存储被配置为被所述处理器执行的计算机指令;The memory is for storing computer instructions configured to be executed by the processor;
    所述处理器执行所述计算机指令,用于:The processor executes the computer instructions for:
    当一个程序文件被打开或者被新建时,判断所述显示器上已显示的程序文件的数量是否超过预设文件数量;When a program file is opened or newly created, it is determined whether the number of program files displayed on the display exceeds a preset number of files;
    若所述已显示的程序文件的数量超过预设文件数量,关闭所述显示器上所述已显示的各个程序文件中至少一个程序文件,打开或者新建所述一个程序文件并在所述显示器上进行显示。If the number of the displayed program files exceeds the preset number of files, close at least one of the displayed program files on the display, open or create the one of the program files and perform the display on the display display.
  10. 根据权利要求9中所述的终端,其中,所述终端为机器人示教器,所述程序文件为所述机器人示教器中的程序文件。The terminal according to claim 9, wherein said terminal is a robot teach pendant, and said program file is a program file in said robot teach pendant.
  11. 根据权利要求10中所述的终端,其中,The terminal according to claim 10, wherein
    所述处理器执行关闭所述已显示的各个程序文件中一个程序文件,包括:The processor performs a process of closing one of the displayed program files, including:
    获取所述已显示的各个程序文件的使用频率;Obtaining the frequency of use of each of the displayed program files;
    根据所述使用频率关闭所述已显示的各个程序文件中的一个程序文件。One of the displayed program files is closed according to the frequency of use.
  12. 根据权利要求11中所述的终端,其中,The terminal according to claim 11, wherein
    所述处理器执行所述根据所述使用频率关闭所述已显示的各个程序文件中的一个程序文件,包括:The processor executing the shutting down one of the displayed program files according to the frequency of use, including:
    判断所述已显示的各个程序文件中的使用频率最低的程序文件是否是一个;Determining whether the program file having the lowest frequency of use among the displayed respective program files is one;
    若所述已显示的各个程序文件中的使用频率最低的程序文件是一个,则关闭该程序文件。If the program file having the lowest frequency of use among the displayed individual program files is one, the program file is closed.
  13. 根据权利要求12中所述的终端,其中,The terminal according to claim 12, wherein
    所述处理器执行所述根据所述使用频率关闭所述已显示的各个程序文件中的一个程序文件,还包括:The processor executing the closing one of the displayed program files according to the frequency of use, further comprising:
    若所述已显示的各个程序文件中的使用频率最低的程序文件超过一个时,获取该多个使用频率最低的程序文件的打开顺序;If the program file with the lowest frequency of use among the displayed program files exceeds one, obtain an open sequence of the program files with the lowest frequency of use;
    关闭所述多个使用频率最低的程序文件中最先打开的程序文件。Close the first open program file among the multiple frequently used program files.
  14. 根据权利要求11中所述的终端,其中,The terminal according to claim 11, wherein
    所述处理器执行所述获取所述已显示的各个程序文件的使用频率,包括:The processor performs the acquiring the frequency of use of the displayed respective program files, including:
    统计所述已显示的各个程序文件被操作的操作次数,以作为对应所述已显示的程序文件的使用频率;Counting the number of operations that each of the displayed program files is operated as a frequency of use corresponding to the displayed program file;
    其中,所述操作包括在程序文件上编辑、点击程序文件以及程序文件获取焦点中的至少一种。The operation includes at least one of editing on a program file, clicking a program file, and acquiring a program file focus.
  15. 根据权利要求10中所述的终端,其中,The terminal according to claim 10, wherein
    所述处理器执行所述计算机指令,用于:The processor executes the computer instructions for:
    若已显示的程序文件的数量没有超过预设文件数量,打开或者新建所述一个程序文件并指示在所述显示器上进行显示。If the number of program files that have been displayed does not exceed the preset number of files, open or create the one of the program files and instruct display on the display.
  16. 根据权利要求10中所述的终端,其中,The terminal according to claim 10, wherein
    所述处理器执行所述关闭所述已显示的各个程序文件中至少一个程序文件,包括:The processor executing the closing at least one of the displayed program files, including:
    获取所述已显示的程序文件的打开顺序;Obtaining an open sequence of the displayed program files;
    根据所述打开顺序关闭所述已显示的各个程序文件中的一个程序文件。One of the displayed program files is closed according to the opening order.
  17. 一种计算机存储介质,其中,存储有处理器可运行的计算机指令,所述计算机指令用于执行权利要求1至8任一项所述的程序文件显示方法。A computer storage medium storing computer instructions executable by a processor for executing the program file display method according to any one of claims 1 to 8.
PCT/CN2017/085806 2017-05-25 2017-05-25 Program file display method, terminal, and computer storage medium WO2018214083A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780036354.3A CN109511283A (en) 2017-05-25 2017-05-25 A kind of program file display methods, terminal and computer storage medium
PCT/CN2017/085806 WO2018214083A1 (en) 2017-05-25 2017-05-25 Program file display method, terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/085806 WO2018214083A1 (en) 2017-05-25 2017-05-25 Program file display method, terminal, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2018214083A1 true WO2018214083A1 (en) 2018-11-29

Family

ID=64395126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085806 WO2018214083A1 (en) 2017-05-25 2017-05-25 Program file display method, terminal, and computer storage medium

Country Status (2)

Country Link
CN (1) CN109511283A (en)
WO (1) WO2018214083A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118322A (en) * 2009-12-30 2011-07-06 蒋斌 Method for automatically controlling number of chat windows in chat tool
CN102436605A (en) * 2010-10-25 2012-05-02 微软公司 Application lifetime management
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN104199597A (en) * 2014-08-13 2014-12-10 百度在线网络技术(北京)有限公司 New label page opening method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4663896B2 (en) * 2001-03-30 2011-04-06 株式会社日立製作所 Liquid crystal display device
CN104571781B (en) * 2013-10-18 2018-01-26 北大方正集团有限公司 More application widget display methods and counter management apparatus in Android system
CN104571801B (en) * 2013-10-28 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
US9348707B2 (en) * 2013-12-18 2016-05-24 International Business Machines Corporation Dynamically adjusting the number of replicas of a file according to the probability that the file will be accessed within a distributed file system
CN104182550A (en) * 2014-09-17 2014-12-03 北京金山安全软件有限公司 Browser optimization method, optimization device and terminal
CN105528200B (en) * 2014-09-30 2020-06-26 腾讯科技(深圳)有限公司 Display method and device of browser tab
CN104572950A (en) * 2014-12-30 2015-04-29 乐视致新电子科技(天津)有限公司 Memory release method for browser client and browser client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118322A (en) * 2009-12-30 2011-07-06 蒋斌 Method for automatically controlling number of chat windows in chat tool
CN102436605A (en) * 2010-10-25 2012-05-02 微软公司 Application lifetime management
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN104199597A (en) * 2014-08-13 2014-12-10 百度在线网络技术(北京)有限公司 New label page opening method and device

Also Published As

Publication number Publication date
CN109511283A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
WO2013163920A1 (en) Method and device for inserting or deleting cells, rows or columns in spreadsheet
WO2019047218A1 (en) Graphic programming method, device, computer storage medium, and vision system
WO2020164281A1 (en) Form parsing method based on character location and recognition, and medium and computer device
JPH11291185A (en) Robot controller
WO2015143775A1 (en) Rapid screenshot capturing method and device for touch oscilloscope
WO2016126000A2 (en) Integrated database system management method
WO2018214083A1 (en) Program file display method, terminal, and computer storage medium
WO2017054467A1 (en) Method and system for implementing side function key
JPS63231613A (en) Command setting method
JPS62140137A (en) Data holding system using arithmetic logic unit
WO2019104618A1 (en) Svm-based sample data update method and classification system, and a storage device
WO2015109772A1 (en) Data processing device and data processing method
JPS58225443A (en) High-speed data processor
WO2022265410A1 (en) Method and system for generating intermediate representations
WO2022108412A1 (en) Method for generating ricardian contract of blockchain based on formal specification, and recording medium and apparatus for performing same
WO2018218440A1 (en) Data display method for robot palletizing function user interface, terminal, and teach pendant
JPS63233480A (en) Pipeline processing specifying system
JP2006515446A (en) Data processing system with Cartesian controller that cross-references related applications
JPS62221059A (en) Central processing unit
JP2707256B2 (en) Micro computer
WO2019172622A1 (en) Electronic device and method for controlling same
WO2018194346A1 (en) Server-side data processing method and system
JPS63138459A (en) Display system for retrieved result of intra-table data
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPH02211573A (en) Host and target machine system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17911217

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17911217

Country of ref document: EP

Kind code of ref document: A1