CN115470185A - File naming method and device, electronic equipment and storage medium - Google Patents
File naming method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115470185A CN115470185A CN202211134675.6A CN202211134675A CN115470185A CN 115470185 A CN115470185 A CN 115470185A CN 202211134675 A CN202211134675 A CN 202211134675A CN 115470185 A CN115470185 A CN 115470185A
- Authority
- CN
- China
- Prior art keywords
- file
- target
- input
- user
- renaming
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000004044 response Effects 0.000 claims abstract description 59
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/164—File meta data generation
- G06F16/166—File name conversion
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请公开了一种文件命名方法、装置、电子设备及存储介质,属于计算机技术领域。该文件命名方法应用于第一电子设备,包括:接收用户的第一输入;响应于第一输入,将目标文件移动至目标区域;确定目标文件对应的目标重命名规则;根据目标重命名规则,采集目标文件中目标位置的目标文件内容;基于目标文件内容对目标文件进行重命名,得到重命名后的目标文件。
The application discloses a file naming method, device, electronic equipment and storage medium, belonging to the technical field of computers. The file naming method is applied to the first electronic device, including: receiving the first input of the user; in response to the first input, moving the target file to the target area; determining the target renaming rule corresponding to the target file; according to the target renaming rule, Collect the content of the target file at the target location in the target file; rename the target file based on the content of the target file to obtain the renamed target file.
Description
技术领域technical field
本申请属于计算机技术领域,具体涉及一种文件命名方法、装置、电子设备及存储介质。The application belongs to the field of computer technology, and in particular relates to a file naming method, device, electronic equipment and storage medium.
背景技术Background technique
随着电子设备的发展,人们在工作或生活中经常遇到需要对文件进行重命名的情况。例如,A用户收到B用户发送的文件后,需要按照规定的命名格式对该文件进行重命名。With the development of electronic devices, people often encounter the situation that they need to rename files in their work or life. For example, after user A receives the file sent by user B, he needs to rename the file according to the prescribed naming format.
相关技术中,用户需要按照规定的命名格式输入文件名称,对文件进行重命名,若A用户收到了大量B用户发送的大量文件,则需要逐个下载后按照规定的命名格式手动输入文件名称进行重命名。这样进行文件重命名的操作比较繁琐,效率也比较低。In the related technology, the user needs to input the file name according to the specified naming format, and rename the file. If user A receives a large number of files sent by user B, he needs to manually input the file name according to the specified naming format after downloading one by one. name. The operation of renaming files in this way is relatively cumbersome, and the efficiency is relatively low.
发明内容Contents of the invention
本申请实施例的目的是提供一种文件命名方法、装置、电子设备及存储介质,可以在对文件进行重命名时简化用户操作,提高文件重命名的效率。The purpose of the embodiments of the present application is to provide a file naming method, device, electronic device and storage medium, which can simplify user operations when renaming files and improve file renaming efficiency.
第一方面,本申请实施例提供了一种文件命名方法,应用于第一电子设备,该方法包括:In the first aspect, the embodiment of the present application provides a file naming method, which is applied to the first electronic device, and the method includes:
接收用户的第一输入;receiving a first input from the user;
响应于所述第一输入,将目标文件移动至目标区域;moving the target file to the target area in response to the first input;
确定所述目标文件对应的目标重命名规则;determining the target renaming rule corresponding to the target file;
根据目标重命名规则,采集所述目标文件中目标位置的目标文件内容;According to the target renaming rule, collect the content of the target file in the target position in the target file;
基于所述目标文件内容对目标文件进行重命名,得到重命名后的目标文件。The target file is renamed based on the content of the target file to obtain the renamed target file.
第二方面,本申请实施例提供了一种文件命名装置,应用于第一电子设备,该装置包括:In the second aspect, the embodiment of the present application provides a file naming device, which is applied to the first electronic device, and the device includes:
第一接收模块,用于接收用户的第一输入;A first receiving module, configured to receive a first input from a user;
移动模块,用于响应于所述第一输入,将目标文件移动至目标区域;a moving module, configured to move the target file to the target area in response to the first input;
第一确定模块,用于确定所述目标文件对应的目标重命名规则;A first determining module, configured to determine a target renaming rule corresponding to the target file;
采集模块,用于根据目标重命名规则,采集所述目标文件中目标位置的目标文件内容;A collection module, configured to collect the content of the target file at the target location in the target file according to the target renaming rule;
重命名模块,用于基于所述目标文件内容对目标文件进行重命名,得到重命名后的目标文件。The renaming module is configured to rename the target file based on the content of the target file to obtain the renamed target file.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,第一电子设备在响应于用户的第一输入,将目标文件移动至目标区域后,便可以根据该目标文件对应的目标重命名规则;自动采集目标文件中目标位置的目标文件内容,并基于该目标文件内容对该目标文件进行重命名,得到重命名后的目标文件,这样,无需用户按照规定的命名格式手动输入文件名称,便可以对文件进行重命名,简化了用户操作,提高了文件重命名的效率。In the embodiment of the present application, after the first electronic device moves the target file to the target area in response to the user's first input, it can automatically collect the target location information in the target file according to the target renaming rule corresponding to the target file. content of the target file, and rename the target file based on the content of the target file to obtain the renamed target file. In this way, the file can be renamed without the need for the user to manually input the file name according to the specified naming format, which simplifies the User operation, improve the efficiency of file renaming.
附图说明Description of drawings
图1是根据一示例性实施例示出的一种文件命名方法的流程图之一;Fig. 1 is one of the flowcharts of a file naming method shown according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之一;Fig. 2 is one of the application scenario schematic diagrams of a file naming method shown according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之二;Fig. 3 is a second schematic diagram of an application scenario of a file naming method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之三;Fig. 4 is a third schematic diagram of an application scenario of a file naming method according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之四;Fig. 5 is a fourth schematic diagram of an application scenario of a file naming method according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之五;Fig. 6 is a fifth schematic diagram of an application scenario of a file naming method according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之六;Fig. 7 is a sixth schematic diagram of an application scenario of a file naming method according to an exemplary embodiment;
图8是根据一示例性实施例示出的一种文件命名方法的应用场景示意图之七;Fig. 8 is a seventh schematic diagram of an application scenario of a file naming method according to an exemplary embodiment;
图9是根据一示例性实施例示出的一种文件命名装置的结构框图;Fig. 9 is a structural block diagram of a device for naming files according to an exemplary embodiment;
图10是根据一示例性实施例示出的一种电子设备的结构框图;Fig. 10 is a structural block diagram of an electronic device according to an exemplary embodiment;
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
如背景技术,随着电子设备的发展,人们在工作或生活中经常遇到需要对文件进行重命名的情况。例如,参赛者报名参加比赛时,需要将参赛文件按照主办方规定的格式进行重命名;老师布置课堂作业给学生,需要学生按照规定的格式命名文件,但收到的作业文件有各种命名不规范的情况,所以老师需要按照规定的格式对作业文件进行重命名;或者,员工报销发票的时候,需要按照公司规定的格式重命名电子发票和行程单等文件。As in the background art, with the development of electronic devices, people often encounter the need to rename files in their work or life. For example, when a contestant signs up for a competition, he needs to rename the entry file according to the format specified by the sponsor; when the teacher assigns homework to the students, the student needs to name the file according to the specified format, but the assignment files received have various names. According to the standard situation, the teacher needs to rename the homework file according to the specified format; or, when the employee reimburses the invoice, he needs to rename the electronic invoice and itinerary and other documents according to the format specified by the company.
相关技术中,用户需要按照规定的命名格式手动输入文件名称,对文件进行重命名。这样进行文件重命名的操作比较繁琐,效率也比较低。In related technologies, a user needs to manually input a file name according to a specified naming format to rename the file. The operation of renaming files in this way is relatively cumbersome, and the efficiency is relatively low.
本申请实施例提供了一种文件命名方法,第一电子设备在响应于用户的第一输入,将目标文件移动至目标区域后,便可以根据该目标文件对应的目标重命名规则;自动采集目标文件中目标位置的目标文件内容,并基于该目标文件内容对该目标文件进行重命名,得到重命名后的目标文件,这样,无需用户按照规定的命名格式手动输入文件名称,便可以对文件进行重命名,简化了用户操作,提高了文件重命名的效率。The embodiment of the present application provides a file naming method. After the first electronic device moves the target file to the target area in response to the user's first input, it can automatically collect the target file according to the target renaming rule corresponding to the target file; The content of the target file in the target position in the file, and rename the target file based on the content of the target file to obtain the renamed target file. In this way, the file can be edited without the need for the user to manually input the file name according to the specified naming format. Renaming simplifies user operations and improves the efficiency of file renaming.
下面结合图1-图8对本申请实施例提供的文件命名方法进行详细说明,本申请实施例提供的文件命名方法可应用于对文件进行重命名的应用场景中。本申请实施例提供的文件命名方法,执行主体可以为第一电子设备,需要说明的是,上述执行主体并不构成对本申请的限定。The file naming method provided by the embodiment of the present application will be described in detail below with reference to FIGS. 1-8 . The file naming method provided by the embodiment of the present application can be applied to the application scenario of renaming files. For the file naming method provided in the embodiment of the present application, the execution subject may be the first electronic device. It should be noted that the above execution subject does not constitute a limitation of the present application.
图1是根据一示例性实施例示出的一种文件命名方法的流程图。Fig. 1 is a flow chart of a file naming method according to an exemplary embodiment.
如图1所示,该文件命名方法可以包括如下步骤:As shown in Figure 1, the file naming method may include the following steps:
步骤110,接收用户的第一输入。
步骤120,响应于第一输入,将目标文件移动至目标区域。
这里,第一输入可以是将目标文件移动至目标区域的输入,例如将目标文件标识拖动至目标区域。目标文件的数量可以是一个或多个。目标文件的文件类型可以是word、pdf、图片等,也可以是其他文件类型,在此不做限定。目标区域可以显示在界面的任意位置,可以显示在最上层视图,不受界面切换的影响。通过用户输入还可以改变目标区域的大小和位置,从而使目标区域可以显示更多信息,还可以使用户能够查看被目标区域遮挡的信息。示例性地,可以如图2所示,显示目标区域210。Here, the first input may be an input of moving the target file to the target area, for example, dragging the target file identifier to the target area. The number of object files can be one or more. The file type of the target file may be word, pdf, picture, etc., or other file types, which are not limited here. The target area can be displayed anywhere on the interface, and can be displayed on the top view without being affected by interface switching. The size and position of the target area can also be changed through user input, so that more information can be displayed in the target area, and the user can also view information blocked by the target area. Exemplarily, as shown in FIG. 2 , a
步骤130,确定目标文件对应的目标重命名规则。
这里,目标重命名规则可以用于对目标文件进行重命名。文件内容的格式不同的文件可以对应不同的重命名规则。可选地,不同的区域关联不同的重命名规则,可以根据目标区域确定与目标区域关联的目标重命名规则为所述目标文件对应的目标重命名规则。Here, target renaming rules can be used to rename target files. Files with different file content formats can correspond to different renaming rules. Optionally, different areas are associated with different renaming rules, and the target renaming rule associated with the target area may be determined as the target renaming rule corresponding to the target file according to the target area.
示例性地,目标文件可以是发票,目标重命名规则可以是“姓名_公司_税率_金额”。Exemplarily, the target file may be an invoice, and the target renaming rule may be "name_company_tax rate_amount".
步骤140,根据目标重命名规则,采集目标文件中目标位置的目标文件内容。
这里,目标文件内容可以为目标文件的文件内容中作为重命名信息的内容,目标重命名规则中可以包括文件重命名所需的目标文件内容在目标文件中的目标位置。在确定目标文件对应的目标重命名规则之后,可以自动根据目标重命名规则,采集目标文件中目标位置的目标文件内容。可选地,目标位置可以是根据目标重命名规则确定的。Here, the content of the target file may be the content of the file content of the target file as the renaming information, and the target renaming rule may include the target position of the content of the target file required for file renaming in the target file. After the target renaming rule corresponding to the target file is determined, the content of the target file at the target location in the target file can be automatically collected according to the target renaming rule. Optionally, the target location may be determined according to target renaming rules.
步骤150,基于目标文件内容对目标文件进行重命名,得到重命名后的目标文件。
这里,在采集到目标文件内容后,可以将该目标文件内容作为重命名信息,对目标文件进行重命名,得到重命名后的目标文件,而无需用户手动输入文件名称。Here, after the content of the target file is collected, the content of the target file can be used as renaming information to rename the target file to obtain the renamed target file without the need for the user to manually input the file name.
此外,目标重命名规则中还可以包括预设的重命名信息。因此,还可以根据目标文件内容和预设的重命名信息对目标文件进行重命名。In addition, preset renaming information may also be included in the target renaming rule. Therefore, the target file can also be renamed according to the content of the target file and preset renaming information.
在一种可选的实施方式中,在步骤150之后,该方法还可以包括:In an optional implementation manner, after
接收用户的第十输入;receiving a tenth input from the user;
响应于第十输入,对多个重命名后的目标文件进行打包,得到数据包;In response to the tenth input, pack a plurality of renamed target files to obtain a data package;
接收用户的第十一输入;receiving an eleventh input from the user;
响应于第十一输入,发送数据包。In response to the eleventh input, a data packet is sent.
这里,第十输入可以为触发打包的输入,第十一输入可以为触发发送数据包的输入。在得到多个重命名后的目标文件后,可以对多个重命名后的目标文件进行打包,得到数据包,还可以发送该数据包。Here, the tenth input may be an input that triggers packaging, and the eleventh input may be an input that triggers sending a data packet. After obtaining multiple renamed target files, the multiple renamed target files may be packaged to obtain a data packet, and the data packet may also be sent.
如此,可以快捷地对多个重命名后的目标文件进行打包和发送。In this way, multiple renamed object files can be packaged and sent quickly.
在一种可选的实施方式中,目标文件可以是未下载到本地的文件。In an optional implementation manner, the target file may be a file that has not been downloaded locally.
示例性地,目标文件可以是邮件中的附件。Exemplarily, the target file may be an attachment in an email.
如此,无需下载目标文件便可以对目标文件进行重命名,从而可以节省下载目标文件的流量费用和时间。此外,由于无需下载目标文件便可以对目标文件进行重命名,因此在发送重命名后的目标文件时,也无需上传到网络,因此也节省了上传重命名后的目标文件的流量和时间。In this way, the target file can be renamed without downloading the target file, thereby saving traffic charges and time for downloading the target file. In addition, since the target file can be renamed without downloading the target file, there is no need to upload the renamed target file to the network when sending it, thus saving the traffic and time of uploading the renamed target file.
当然,目标文件也可以是已下载到本地的文件,在此不做限定。Of course, the target file may also be a file that has been downloaded locally, which is not limited here.
在一种可选的实施方式中,步骤110可以包括:In an optional implementation manner, step 110 may include:
接收用户将多个文件对应的文件信息中的目标文件对应的目标文件信息移动至目标区域的第一输入。A first input is received that the user moves the target file information corresponding to the target file among the file information corresponding to the plurality of files to the target area.
这里,文件信息可以是携带文件的通信信息。第一输入可以是将目标文件信息移动至目标区域的输入,例如,将目标文件信息拖动至目标区域。Here, the file information may be communication information carrying files. The first input may be an input of moving the target file information to the target area, for example, dragging the target file information to the target area.
示例性地,文件信息可以是邮件,文件则可以是邮件的附件。如图3所示,当显示有多封邮件,也即多个文件对应的文件信息时,用户将多封邮件中的目标邮件310,也即目标文件信息,拖动至目标区域210,则目标邮件的附件,也即目标文件,则可以被移动至目标区域210。然后,便可以根据目标重命名规则对该附件进行重命名,使目标区域210中附件的文件名称由“AAA”变为“XX_YY_3%_20.02”。当然,文件信息也可以是文件标识。示例性地,可以显示多个文件对应的文件标识,接收用户将多个文件对应的文件标识中的目标文件对应的目标文件标识移动至目标区域的第一输入,响应于第一输入,确定目标文件,然后便可以根据目标重命名规则对该目标文件进行重命名。如此,将目标文件对应的目标文件信息移动至目标区域,便可以对目标文件进行重命名,例如,当目标文件信息是邮件时,可以直接通过移动目标邮件至目标区域对目标文件进行重命名,而无需打开邮件查找目标文件,再对其进行重命名,因此,进一步方便了用户操作,提高操作效率,而且,用户可以将大量目标文件对应的文件信息拖动至目标区域,对大量目标文件进行批量重命名,提高文件重命名的效率。Exemplarily, the file information may be an email, and the file may be an attachment of the email. As shown in Figure 3, when multiple emails are displayed, that is, the file information corresponding to multiple files, the user drags the
在一种可选的实施方式中,在步骤110之前,该方法还可以包括:In an optional implementation manner, before
接收用户的第十二输入;receiving a twelfth input from the user;
响应于第十二输入,显示目标区域。In response to the twelfth input, the target area is displayed.
这里,第十二输入可以是触发显示目标区域的输入,例如,可以是特定手势输入,该特定手势可以是用户设置的。Here, the twelfth input may be an input that triggers display of the target area, for example, may be a specific gesture input, and the specific gesture may be set by the user.
示例性地,特定手势可以为画圈,用户在显示界面中画圈便可以触发第一电子设备显示如图2所示的目标区域210。Exemplarily, the specific gesture may be drawing a circle, and the user drawing a circle on the display interface may trigger the first electronic device to display the
示例性地,当一封邮件的附件中包括多个相同类别文件的附件,或者收件箱中的多封邮件具有相同类别文件的附件时,用户可以在邮件列表或者附件列表中通过手势触发显示目标区域。这里,相同类别文件可以为文件内容的格式相同的文件。如此,用户可以通过第十二输入,快捷触发电子设备显示目标区域,以便于后续基于目标区域对文件进行重命名。For example, when the attachments of an email include multiple attachments of files of the same category, or multiple emails in the inbox have attachments of files of the same category, the user can trigger the display by gesture in the email list or attachment list. target area. Here, the files of the same category may be files with the same file content format. In this way, the user can quickly trigger the electronic device to display the target area through the twelfth input, so as to facilitate the subsequent renaming of files based on the target area.
在一种可选的实施方式中,步骤130可以包括:In an optional implementation manner, step 130 may include:
响应于第十二输入,显示至少一个重命名规则标识;In response to the twelfth input, displaying at least one renaming rule identifier;
接收用户对至少一个重命名规则标识中目标重命名规则标识的第十三输入;receiving a thirteenth input from a user on a target renaming rule identifier in at least one renaming rule identifier;
响应于第十三输入,将目标重命名规则标识对应的重命名规则确定为目标重命名规则。In response to the thirteenth input, the renaming rule corresponding to the target renaming rule identifier is determined as the target renaming rule.
这里,第十二输入在触发显示目标区域的同时,还可以触发显示至少一个重命名规则标识,每个重命名规则标识可以对应一个重命名规则。第十三输入可以是从至少一个重命名规则标识中选择目标重命名规则标识的输入,例如,点击目标重命名规则标识。Here, when the twelfth input triggers the display of the target area, it may also trigger the display of at least one renaming rule identifier, and each renaming rule identifier may correspond to a renaming rule. The thirteenth input may be an input for selecting a target renaming rule ID from at least one renaming rule ID, for example, clicking on the target renaming rule ID.
示例性地,如图2所示,显示“试卷”标识220和“发票”标识230,也即重命名规则标识。若目标文件为发票文件,则目标重命名规则为对发票进行重命名的规则。“试卷”标识220和“发票”标识230对应不同区域,用户点击“发票”标识230,第一电子设备便可以确定显示的目标区域210是与“发票”标识230对应的区域,不同的区域可以关联不同的重命名规则,该目标区域210可以是与“发票”标识230对应的重命名规则关联的区域。这样,第一电子设备便可以按照“发票”标识230对应的重命名规则,对便于后续移动至目标区域的文件进行重命名。Exemplarily, as shown in FIG. 2 , a "test paper"
如此,通过显示至少一个重命名规则标识,可以便于用户通过选择所需的重命名规则标识,快速触发电子设备调用相应的重命名规则。In this way, by displaying at least one renaming rule identifier, it is convenient for the user to quickly trigger the electronic device to call the corresponding renaming rule by selecting the desired renaming rule identifier.
在一种可选的实施方式中,若用户选择了目标重命名规则标识,在用户将多个文件移动至目标区域后,第一电子设备可以只对多个文件中目标重命名规则对应的格式的文件进行重命名和打包。如此,可以实现对海量文件的自动分类打包。In an optional implementation manner, if the user selects the target renaming rule identifier, after the user moves the multiple files to the target area, the first electronic device may only change the format corresponding to the target renaming rule in the multiple files. The files are renamed and packaged. In this way, automatic classification and packaging of massive files can be realized.
在一种可选的实施方式中,在步骤130之前,该方法还可以包括:In an optional implementation manner, before
接收用户的第二输入;receiving a second input from the user;
响应于第二输入,在目标区域中显示S个子区域;displaying S subareas in the target area in response to the second input;
接收用户对S个子区域中M个子区域的第三输入;receiving a third input from the user on the M sub-areas in the S sub-areas;
响应于第三输入,确定M个子区域对应的重命名信息;In response to the third input, determine the renaming information corresponding to the M subregions;
接收用户对第一文件的文件内容中N个目标位置的第四输入;receiving a user's fourth input of N target positions in the file content of the first file;
响应于第四输入,分别建立N个子区域与N个目标位置之间的一一对应关系;Responding to the fourth input, respectively establish one-to-one correspondence between N sub-regions and N target positions;
根据N个子区域与N个目标位置之间的一一对应关系以及M个子区域对应的重命名信息,确定目标重命名规则。According to the one-to-one correspondence between the N sub-regions and the N target positions and the renaming information corresponding to the M sub-regions, the target renaming rule is determined.
其中,S为正整数,N和M均为非负整数,S=N+M。Wherein, S is a positive integer, N and M are both non-negative integers, and S=N+M.
这里,首次对某种格式的文件进行重命名时,需要建立该种格式的文件对应的重命名规则。第一文件的文件内容可以与目标文件的文件内容的格式相同,因此,可以通过基于第一文件建立的目标重命名规则对目标文件进行重命名。Here, when renaming a file of a certain format for the first time, a corresponding renaming rule for the file of this format needs to be established. The file content of the first file may be in the same format as the file content of the target file, therefore, the target file may be renamed according to the target renaming rule established based on the first file.
具体地,S个子区域中每个子区域可以对应组成文件名称的一个重命名信息,S的大小可以根据用户输入确定。M个子区域中每个子区域可以对应组成文件名称的一个固定不变的重命名信息。若文件名称中不包括固定不变的重命名信息,则M为0。N个子区域中每个子区域可以对应组成文件名称的一个需要根据文件内容确定的重命名信息,若文件名称中不包括需要根据文件内容确定的重命名信息,则N为0。Specifically, each of the S subareas may correspond to a piece of renaming information that constitutes the file name, and the size of S may be determined according to user input. Each sub-area in the M sub-areas may correspond to a fixed renaming information constituting the file name. If the file name does not include fixed renaming information, then M is 0. Each sub-area in the N sub-areas may correspond to a renaming information that needs to be determined according to the file content that constitutes the file name. If the file name does not include renaming information that needs to be determined based on the file content, then N is 0.
此外,第二输入可以为触发添加重命名规则的输入。第三输入可以是在M个子区域中输入固定不变的重命名信息的输入。第四输入可以是建立N个子区域与N个目标位置之间的一一对应关系的输入,例如将N个目标位置中每个目标位置的信息拖动至N个子区域中相应子区域的输入;先点击N个目标位置中某个目标位置的信息,再点击N个子区域中相应子区域的输入;或者按照N个子区域的顺序连续圈注N个目标位置的信息。In addition, the second input may be an input that triggers adding a renaming rule. The third input may be an input for inputting fixed renaming information in the M sub-areas. The fourth input may be an input for establishing a one-to-one correspondence between N subregions and N target positions, for example, an input for dragging the information of each target position in the N target positions to the corresponding subregion in the N subregions; First click the information of one of the N target positions, and then click the input of the corresponding sub-area in the N sub-areas; or circle the information of the N target positions continuously in the order of the N sub-areas.
示例性地,如图4所示,用户点击规则添加控件410,则可以触发第一电子设备在目标区域显示4个子区域:子区域411、子区域412、子区域413和子区域414。若用户所需的文件名称为“姓名_公司_税率_金额”,其中,姓名和公司是固定不变的,姓名为“XX”,公司为“YY”,税率和金额需要根据发票文件中的文件内容确定,则用户可以在子区域411输入“XX”,在子区域412输入“YY”,然后将文件内容中目标位置415处的信息“3%”拖动至子区域413,将文件内容中目标位置416的信息“20.02”拖动至子区域414,这样便可以建立目标位置415与子区域413之间的对应关系,以及目标位置416和子区域414之间的对应关系,从而可以根据“XX”、“YY”、目标位置415与子区域413之间的对应关系,以及目标位置416和子区域414之间的对应关系,确定发票文件对应的重命名规则,也即目标重命名规则,然后便可以基于该目标重命名规则,对与第一文件的文件内容的格式相同的文件进行重命名。Exemplarily, as shown in FIG. 4 , when the user clicks the
此外,还可以生成目标重命名规则对应的目标重命名规则标识:“发票”,具体地,在用户点击规则添加控件410之后,除了在目标区域显示4个子区域之外,还可以显示重命名规则标识的设置区域,用户在该设置区域输入“发票”,则可以生成如图2所示的“发票”标识230。In addition, the target renaming rule identifier corresponding to the target renaming rule can also be generated: "invoice", specifically, after the user clicks the
如此,通过上述过程建立目标重命名规则,可以在对目标文件进行重命名时,自动根据目标位置和子区域之间的对应关系,读取目标位置处的目标文件内容作为重命名信息和/或根据固定重命名信息确定重命名信息,从而无需用户打开文件、查找文件内容中包含的重命名信息,再手动输入文件名称,便可以对文件重命名,还可以生成相应的目标重命名规则标识,方便用户调用该目标重命名规则。In this way, by establishing the target renaming rule through the above process, when renaming the target file, the content of the target file at the target position can be read automatically according to the corresponding relationship between the target position and the sub-area as the renaming information and/or according to the Fixed renaming information determines the renaming information, so that users do not need to open the file, search for the renaming information contained in the file content, and then manually enter the file name to rename the file, and can also generate the corresponding target renaming rule identifier, which is convenient The user invokes the target renaming rule.
在一种可选的实施方式中,用户可以自定义目标重命名规则对应的个性化手势,当第一电子设备接收到该手势输入时,直接显示目标区域并调用目标重命名规则,而无需先触发显示目标区域再选择目标重命名规则。这样,进一步简化了用户操作。In an optional implementation manner, the user can customize the personalized gesture corresponding to the target renaming rule, and when the first electronic device receives the gesture input, it directly displays the target area and invokes the target renaming rule without first Trigger Show target area and select target renaming rule. In this way, user operations are further simplified.
示例性地,当一封邮件的附件中包括多个相同类别文件的附件,或者收件箱中的多封邮件具有相同类别文件的附件时,用户可以在邮件列表或者附件列表中通过手势触发调用该类别的文件对应的重命名规则对该多个相同类别文件重命名。For example, when an email attachment includes multiple attachments of the same type of file, or multiple emails in the inbox have attachments of the same type of file, the user can trigger the call by gesture in the mail list or attachment list The renaming rules corresponding to the files of the category rename the multiple files of the same category.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
接收第一模板文件及第一模板文件关联的目标重命名规则;receiving the first template file and the target renaming rule associated with the first template file;
接收用户对第一模板文件进行编辑的第十四输入;receiving a fourteenth input from the user to edit the first template file;
响应于第十四输入,得到按照目标重命名规则命名的目标文件。In response to the fourteenth input, an object file named according to an object renaming rule is obtained.
这里,目标文件可以是用户对第一模板文件进行编辑后得到的。第一模板文件可以是其他电子设备发送的,已经与目标重命名规则关联的模板文件。用户接收到第一模板文件之后,对第一模板文件进行编辑,编辑完成便可以得到目标文件。由于第一模板文件与目标重命名规则关联,因此,在得到目标文件之后,便可以根据该目标重命名规则对目标文件进行命名,得到按照目标重命名规则命名的目标文件。Here, the target file may be obtained after the user edits the first template file. The first template file may be a template file sent by other electronic devices and already associated with the target renaming rule. After receiving the first template file, the user edits the first template file, and the target file can be obtained after editing. Since the first template file is associated with the target renaming rule, after the target file is obtained, the target file can be named according to the target renaming rule to obtain a target file named according to the target renaming rule.
示例性地,第一模板文件可以是其他电子设备发送的采集个人打车信息的模板文件,也即第一模板文件,用户可以在线填写,也可以下载后再填写,填写完成便得到名称为“LL_YY_68”的用户的打车信息文件,也即按照目标重命名规则命名的目标文件。Exemplarily, the first template file can be a template file sent by other electronic devices to collect personal taxi-hailing information, that is, the first template file, and the user can fill it out online, or download it and then fill it out. After filling out, the name "LL_YY_68" will be obtained. ” user’s taxi information file, that is, the target file named according to the target renaming rules.
如此,对与目标重命名规则关联的第一模板文件进行编辑,得到目标文件,便可以自动根据目标重命名规则对目标文件进行命名,直接得到按照目标重命名规则命名的目标文件,而无需用户输入文件名称进行命名,更加高效便捷。In this way, by editing the first template file associated with the target renaming rule to obtain the target file, the target file can be automatically named according to the target renaming rule, and the target file named according to the target renaming rule can be directly obtained without requiring the user to Enter the file name to name it, which is more efficient and convenient.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
接收用户对目标模板文件的第五输入;receiving a fifth input from the user on the target template file;
响应于第五输入,将目标模板文件发送至至少一个第二电子设备,以使第二电子设备对目标模板文件进行编辑,得到按照第一重命名规则命名的至少一个第二文件并发送至第一电子设备。In response to the fifth input, send the target template file to at least one second electronic device, so that the second electronic device edits the target template file to obtain at least one second file named according to the first renaming rule and send it to the second electronic device. an electronic device.
这里,第二电子设备可以为除第一电子设备之外的其他电子设备。用户可以在接收到其他电子设备发送的模板文件时,通过第一电子设备对模板文件进行编辑,还可以向其他电子设备发送模板文件,采集其他电子设备发送的信息。目标模板文件可以为已关联第一重命名规则的模板文件。第五输入可以为向第二电子设备发送目标模板文件的输入,第二电子设备可以在线编辑或下载到本地后再编辑目标模板文件,编辑完成则可以得到按照第一重命名规则命名的第二文件,并将该第二文件发送至第一电子设备,使第一电子设备采集到所需信息。Here, the second electronic device may be other electronic devices except the first electronic device. The user can edit the template file through the first electronic device when receiving the template file sent by other electronic devices, and can also send the template file to other electronic devices to collect information sent by other electronic devices. The target template file may be a template file associated with the first renaming rule. The fifth input can be the input of sending the target template file to the second electronic device, and the second electronic device can edit the target template file online or download it locally, and after editing, the second electronic device named according to the first renaming rule can be obtained. file, and send the second file to the first electronic device, so that the first electronic device collects the required information.
示例性地,如图5所示,用户可以在聊天群组中发送采集个人打车信息的模板文件510,也即目标模板文件。由于该模板文件510已关联第一重命名规则,因此该聊天群组中的其他用户对应的电子设备,也即第二电子设备,在对模板文件510进行编辑,得到第二文件后便可以直接根据第一重命名规则对第二文件进行命名,得到按照第一重命名规则命名的第二文件。然后第二用户便可以将按照第一重命名规则命名的第二文件发到聊天群组中。第一重命名规则包括根据目标文件内容和预设的重命名信息进行重命名。Exemplarily, as shown in FIG. 5 , a user may send a
如此,通过将已关联第一重命名规则的目标模板文件发送至至少一个第二电子设备,可以直接接收到按照第一重命名规则重命名的第二文件,而无需在接收到文件后再进行重命名,简化了用户操作,节省了用户的时间。In this way, by sending the target template file associated with the first renaming rule to at least one second electronic device, the second file renamed according to the first renaming rule can be directly received without further processing after receiving the file. Renaming simplifies user operations and saves users time.
在一种可选的实施方式中,在将目标模板文件发送至至少一个第二电子设备之后,该方法还可以包括:In an optional implementation manner, after sending the target template file to at least one second electronic device, the method may further include:
在接收到每个第二电子设备发送的第二文件的情况下,显示提示信息,以提示用户已接收到第二电子设备发送的第二文件。When the second file sent by each second electronic device is received, prompt information is displayed to remind the user that the second file sent by the second electronic device has been received.
这里,每接收到一个第二电子设备发送的第二文件,第一电子设备则显示该第二电子设备对应的提示信息,向用户提示已接收到该第二电子设备发送的第二文件。Here, every time a second file sent by the second electronic device is received, the first electronic device displays a prompt message corresponding to the second electronic device, reminding the user that the second file sent by the second electronic device has been received.
示例性地,如图6所示,在聊天群组中,接收到用户B对应的电子设备,也即第二电子设备,发送的第二文件之后,第一电子设备显示提示信息:“用户B已发送第二文件”,而不显示第二电子设备发送的第二文件,这样可以避免大量第二电子设备发送第二文件,导致聊天界面混乱。Exemplarily, as shown in FIG. 6, in the chat group, after receiving the second file sent by the electronic device corresponding to user B, that is, the second electronic device, the first electronic device displays a prompt message: "User B The second file has been sent" instead of displaying the second file sent by the second electronic device, so as to prevent a large number of second electronic devices from sending the second file, causing confusion on the chat interface.
例如,可以在用户对应的电子设备上只显示用户发送的目标模板文件,在第二电子设备上只显示第一电子设备发送的目标模板文件和该第二电子设备自身发送的第二文件。For example, only the target template file sent by the user may be displayed on the electronic device corresponding to the user, and only the target template file sent by the first electronic device and the second file sent by the second electronic device may be displayed on the second electronic device.
如此,只显示提示信息,而不显示第二文件,便可以既能在接收到第二电子设备发送的第二文件时提示用户,又能避免聊天界面中同类型文件泛滥。In this way, only displaying the prompt information without displaying the second file can not only prompt the user when receiving the second file sent by the second electronic device, but also avoid flooding of files of the same type in the chat interface.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
接收用户的第十五输入;receiving a fifteenth input from the user;
响应于第十五输入,显示至少一个第二电子设备中第三电子设备的标识。In response to the fifteenth input, an identification of a third electronic device of the at least one second electronic device is displayed.
这里,第三电子设备可以为已将第二文件发送至第一电子设备的用户。Here, the third electronic device may be a user who has sent the second file to the first electronic device.
示例性地,如图7所示,用户点击采集个人打车信息的模板文件510,可以显示弹窗,若用户点击弹窗中的“查看已发送用户列表”控件711,则第一电子设备可以显示第三电子设备的标识,第三电子设备的标识可以是第三电子设备对应的用户的标识。Exemplarily, as shown in FIG. 7 , the user clicks on the
如此,可以便于用户确定已将第二文件发送至第一电子设备的用户,继而便于用户确定未将第二文件发送至第一电子设备的用户,以便用户对未将第二文件发送至第一电子设备的用户进行催办。In this way, it is convenient for the user to determine the user who has sent the second file to the first electronic device, and then it is convenient for the user to determine the user who has not sent the second file to the first electronic device, so that the user is not satisfied with the user who has not sent the second file to the first electronic device. Users of electronic equipment to make reminders.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
接收用户的第十六输入;receiving a sixteenth input from the user;
响应于第十六输入,下载至少一个第二文件。In response to the sixteenth input, at least one second file is downloaded.
这里,第十六输入可以是触发下载至少一个第二文件的输入。Here, the sixteenth input may be an input triggering downloading of at least one second file.
示例性地,如图7所示,用户点击采集个人打车信息的模板文件510,可以显示弹窗,若用户点击弹窗中的“批量下载文件”控件712,则第一电子设备可以将至少一个第二文件下载至本地。Exemplarily, as shown in FIG. 7, the user clicks on the
如此,用户可以一键下载多个用户发送的多个文件,而无需逐一下载,简化了用户的操作,也提高了下载文件的效率。In this way, the user can download multiple files sent by multiple users with one click instead of downloading one by one, which simplifies the user's operation and improves the efficiency of downloading files.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
获取第一重命名规则对应的文件名称包括的至少一个元素;Obtain at least one element included in the file name corresponding to the first renaming rule;
接收用户对至少一个元素中的第一元素的第六输入;receiving a sixth user input to a first element of the at least one element;
响应于第六输入,确定第一元素;determining the first element in response to the sixth input;
接收用户的第七输入;receiving a seventh input from the user;
响应于第七输入,从至少一个第二文件中获取第一元素对应的第一数据;In response to the seventh input, acquire first data corresponding to the first element from at least one second file;
基于第一数据,生成至少一个第二文件对应的图表。Based on the first data, at least one graph corresponding to the second file is generated.
这里,第一重命名规则对应的文件名称包括的元素可以为组成文件名称的至少一个信息的属性,例如,第一重命名规则对应的文件名称可以包括姓名、公司、税率和金额等元素。用户可以选择至少一个元素中的一个或多个元素作为第一元素,从而可以从至少一个第二文件中获取该第一元素对应的第一数据,并基于该第一数据生成图表。Here, the elements included in the file name corresponding to the first renaming rule may be attributes of at least one piece of information making up the file name. For example, the file name corresponding to the first renaming rule may include elements such as name, company, tax rate, and amount. The user can select one or more elements in the at least one element as the first element, so that first data corresponding to the first element can be obtained from at least one second file, and a graph can be generated based on the first data.
可选地,从至少一个第二文件中获取该第一元素对应的第一数据,可以是从至少一个第二文件的文件名称中获取的,也可以是从至少一个第二文件的文件内容中获取的。Optionally, the first data corresponding to the first element is obtained from at least one second file, either from the file name of at least one second file, or from the file content of at least one second file acquired.
其中,第六输入可以为选择从至少一个元素中选择第一元素的输入。确定第一元素的步骤可以在用户发送第二模板文件之前执行,也可以在用户发送第二模板文件之后执行。第七输入可以为触发生成图表的输入。具体地,还可以根据用户的输入,选择在线生成图表或离线下载图表。Wherein, the sixth input may be an input for selecting the first element from at least one element. The step of determining the first element may be performed before the user sends the second template file, or after the user sends the second template file. The seventh input may be an input that triggers the generation of the graph. Specifically, it is also possible to choose to generate the chart online or download the chart offline according to the user's input.
示例性地,如图7所示,用户点击采集个人打车信息的模板文件510,可以显示弹窗,若用户点击弹窗中的“在线生成图表”控件713,则第一电子设备可以根据各个第二文件中姓名和金额对应的数据,也即第一数据,在线生成图表。若用户点击弹窗中的“离线下载图表”控件714,则第一电子设备可以根据各个第二文件中姓名和金额对应的数据,生成图表并下载到本地。Exemplarily, as shown in FIG. 7 , the user clicks on the
如此,可以在接收到各个用户发送的第二文件之后,直接基于用户选择的第一元素从第二文件中获取第一数据,生成图表,而无需下载第二文件之后再进行统计,生成图表。In this way, after receiving the second file sent by each user, the first data can be directly obtained from the second file based on the first element selected by the user, and the chart can be generated without downloading the second file and then performing statistics to generate the chart.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
接收用户对目标模板文件中第一位置的第八输入;receiving an eighth input from the user of the first position in the target template file;
响应于第八输入,确定位于第一位置的数据对应的第二元素;In response to the eighth input, determine a second element corresponding to the data at the first position;
接收用户的第九输入;receiving a ninth input from the user;
响应于第九输入,从至少一个第二文件中获取第一元素和第二元素对应的第二数据;In response to the ninth input, obtain second data corresponding to the first element and the second element from at least one second file;
基于第二数据,生成至少一个第二文件对应的图表。Based on the second data, at least one graph corresponding to the second file is generated.
这里,若想要基于第二元素对应的数据生成图表,而第二元素未包括在第一重命名规则对应的文件名称中,则可以对第二元素对应的数据在目标模板文件中的第一位置进行第八输入,确定位于第一位置的数据为第二元素。第九输入可以为触发生成图表的输入,第二数据可以为第一元素和第二元素在至少一个第二文件中对应的数据,响应于第九输入,可以基于第二数据生成图表。Here, if you want to generate a chart based on the data corresponding to the second element, but the second element is not included in the file name corresponding to the first renaming rule, you can set the data corresponding to the second element in the first The position performs an eighth input, and the data at the first position is determined as the second element. The ninth input may be an input that triggers the generation of a graph, the second data may be data corresponding to the first element and the second element in at least one second file, and the graph may be generated based on the second data in response to the ninth input.
示例性地,第一重命名规则对应的文件名称可以包括姓名、公司、税率和金额等元素,若用户想基于姓名、时间和金额等元素对应的数据生成图表,其中,姓名和金额元素由于包括在第一重命名规则对应的文件名称中,因此可以直接选择,而时间元素未包括在第一重命名规则对应的文件名称中,则需要用户在目标模板文件中点击时间元素对应的数据所在的位置,也即第一位置,然后再点击生成图表的控件,便可以基于姓名、时间和金额等元素在各个第二文件中对应的数据,也即第二数据,生成图表。Exemplarily, the file name corresponding to the first renaming rule may include elements such as name, company, tax rate, and amount. If the user wants to generate a chart based on data corresponding to elements such as name, time, and amount, the name and amount elements include In the file name corresponding to the first renaming rule, it can be directly selected, but the time element is not included in the file name corresponding to the first renaming rule, then the user needs to click in the target template file where the data corresponding to the time element is located position, that is, the first position, and then click the control to generate the chart, and then the chart can be generated based on the data corresponding to elements such as name, time, and amount in each second file, that is, the second data.
如此,可以根据用户需求从模板文件中添加元素,并基于该元素在第二文件中对应的数据生成图表,因此可以更加灵活地确定图表的维度。In this way, elements can be added from the template file according to user requirements, and a chart can be generated based on the data corresponding to the element in the second file, so the dimension of the chart can be determined more flexibly.
在一种可选的实施方式中,该方法还可以包括:In an optional implementation manner, the method may also include:
响应于第七输入或第九输入,显示至少一个图表类型标识;In response to the seventh input or the ninth input, displaying at least one chart type identification;
接收用户对至少一个图表类型标识中目标图表类型标识的第十七输入;receiving a seventeenth input from a user of a target chart type identification in the at least one chart type identification;
响应于第十七输入,基于至少一个第二文件中的第一数据或第二数据,生成至少一个第二文件对应的目标图表类型的图表。In response to the seventeenth input, based on the first data or the second data in the at least one second file, a chart of the target chart type corresponding to the at least one second file is generated.
这里,目标图表类型可以为目标图表类型标识对应的图表类型。第十七输入可以为从至少一个图表类型标识中选择目标图表类型标识的输入。Here, the target chart type may identify a corresponding chart type for the target chart type. The seventeenth input may be an input for selecting a target chart type identifier from at least one chart type identifier.
示例性地,在用户点击生成图表的控件之后,第一电子设备可以显示柱状图标识、饼状图标识和折线图标识,用户点击柱状图标识,第一电子设备则可以基于至少一个第二文件中的数据生成柱状图,第一电子设备的显示界面可以如图8所示。Exemplarily, after the user clicks the control for generating the chart, the first electronic device may display a histogram mark, a pie chart mark, and a line chart mark. A histogram is generated from the data in , and the display interface of the first electronic device may be as shown in FIG. 8 .
如此,根据用户输入确定要生成的图表类型,可以根据使生成的图表更符合用户需求。In this way, determining the type of graph to be generated according to the user input can make the generated graph better meet the needs of the user.
由此,第一电子设备在响应于用户的第一输入,将目标文件移动至目标区域后,便可以根据该目标文件对应的目标重命名规则;自动采集目标文件中目标位置的目标文件内容,并基于该目标文件内容对该目标文件进行重命名,得到重命名后的目标文件,这样,无需用户按照规定的命名格式手动输入文件名称,便可以对文件进行重命名,简化了用户操作,提高了文件重命名的效率。Thus, after the first electronic device moves the target file to the target area in response to the user's first input, it can automatically collect the content of the target file at the target position in the target file according to the target renaming rule corresponding to the target file, And based on the content of the target file, the target file is renamed to obtain the renamed target file. In this way, the file can be renamed without the user manually inputting the file name according to the specified naming format, which simplifies the user operation and improves Improved file renaming efficiency.
需要说明的是,本申请实施例中的输入均可以为点击输入,或者为语音指令输入,或者为特定手势输入,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。其中,特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。It should be noted that the input in the embodiments of the present application can be click input, voice command input, or specific gesture input, which can be determined according to actual usage requirements, which is not limited in the embodiment of the present application. Among them, the specific gesture can be any one of single-click gesture, sliding gesture, drag gesture, pressure recognition gesture, long-press gesture, area change gesture, double-press gesture, double-click gesture; click input can be single-click input, double-click Input or click input for any number of times, etc., can also be long press input or short press input.
本申请实施例提供的文件命名方法,执行主体可以为文件命名装置。本申请实施例中以文件命名装置执行文件命名方法为例,说明本申请实施例提供的文件命名装置。The file naming method provided in the embodiment of the present application may be executed by a file naming device. In the embodiment of the present application, the file naming device executed by the file naming device is taken as an example to illustrate the file naming device provided in the embodiment of the present application.
基于相同的发明构思,本申请还提供了一种文件命名装置。下面结合图9对本申请实施例提供的文件命名装置进行详细说明。Based on the same inventive concept, the present application also provides a file naming device. The file naming device provided by the embodiment of the present application will be described in detail below with reference to FIG. 9 .
图9是根据一示例性实施例示出的一种文件命名装置的结构框图。Fig. 9 is a structural block diagram of a device for naming files according to an exemplary embodiment.
如图9所示,文件命名装置900可以包括:As shown in Figure 9, the
第一接收模块901,用于接收用户的第一输入;The first receiving module 901 is configured to receive a first input from a user;
移动模块902,用于响应于所述第一输入,将目标文件移动至目标区域;A moving module 902, configured to move the target file to the target area in response to the first input;
第一确定模块903,用于确定所述目标文件对应的目标重命名规则;The first determining
采集模块904,用于根据所述目标重命名规则,采集所述目标文件中目标位置的目标文件内容;A
重命名模块905,用于基于所述目标文件内容对所述目标文件进行重命名,得到重命名后的目标文件。The
下面对上述文件命名装置900进行详细说明,具体如下所示:The above-mentioned
在其中一个实施例中,文件命名装置900还可以包括:In one of the embodiments, the
第二接收模块,用于在所述确定所述目标文件对应的目标重命名规则之前,接收所述用户的第二输入;A second receiving module, configured to receive a second input from the user before determining the target renaming rule corresponding to the target file;
显示模块,用于响应于所述第二输入,在所述目标区域中显示S个子区域;a display module, configured to display S sub-regions in the target region in response to the second input;
第三接收模块,用于接收所述用户对所述S个子区域中M个子区域的第三输入;A third receiving module, configured to receive a third input from the user on the M sub-areas in the S sub-areas;
第二确定模块,用于响应于所述第三输入,确定所述M个子区域对应的重命名信息;A second determining module, configured to determine renaming information corresponding to the M sub-regions in response to the third input;
第四接收模块,用于接收所述用户对第一文件的文件内容中N个目标位置的第四输入,所述第一文件的文件内容与所述目标文件的文件内容的格式相同;A fourth receiving module, configured to receive a fourth input from the user for N target positions in the file content of the first file, where the file content of the first file is in the same format as the file content of the target file;
建立模块,用于响应于所述第四输入,分别建立N个子区域与所述N个目标位置之间的一一对应关系;An establishment module, configured to respectively establish one-to-one correspondence between the N subregions and the N target positions in response to the fourth input;
第三确定模块,用于根据所述N个子区域与所述N个目标位置之间的一一对应关系以及所述M个子区域对应的重命名信息,确定所述目标重命名规则;A third determining module, configured to determine the target renaming rule according to the one-to-one correspondence between the N sub-regions and the N target positions and the renaming information corresponding to the M sub-regions;
其中,S为正整数,N和M均为非负整数,S=N+M。Wherein, S is a positive integer, N and M are both non-negative integers, and S=N+M.
在其中一个实施例中,文件命名装置900还可以包括:In one of the embodiments, the
第五接收模块,用于接收所述用户对目标模板文件的第五输入,所述目标模板文件为已关联第一重命名规则的模板文件;The fifth receiving module is used to receive the fifth input of the user to the target template file, and the target template file is a template file associated with the first renaming rule;
发送模块,用于响应于所述第五输入,将所述目标模板文件发送至至少一个第二电子设备,以使所述第二电子设备对所述目标模板文件进行编辑,得到按照所述第一重命名规则命名的至少一个第二文件并发送至所述第一电子设备。A sending module, configured to send the target template file to at least one second electronic device in response to the fifth input, so that the second electronic device edits the target template file to obtain At least one second file named by a renaming rule is sent to the first electronic device.
在其中一个实施例中,文件命名装置900还可以包括:In one of the embodiments, the
第一获取模块,用于获取所述第一重命名规则对应的文件名称包括的至少一个元素;A first obtaining module, configured to obtain at least one element included in the file name corresponding to the first renaming rule;
第六接收模块,用于接收所述用户对所述至少一个元素中的第一元素的第六输入;A sixth receiving module, configured to receive a sixth input from the user on the first element of the at least one element;
第四确定模块,用于响应于所述第六输入,确定所述第一元素;a fourth determining module, configured to determine the first element in response to the sixth input;
第七接收模块,用于接收所述用户的第七输入;a seventh receiving module, configured to receive a seventh input from the user;
第二获取模块,用于响应于所述第七输入,从所述至少一个第二文件中获取所述第一元素对应的第一数据;A second acquiring module, configured to acquire first data corresponding to the first element from the at least one second file in response to the seventh input;
第一生成模块,用于基于所述第一数据,生成所述至少一个第二文件对应的图表。A first generating module, configured to generate a chart corresponding to the at least one second file based on the first data.
在其中一个实施例中,文件命名装置900还可以包括:In one of the embodiments, the
第八接收模块,用于接收所述用户对所述目标模板文件中第一位置的第八输入;An eighth receiving module, configured to receive an eighth input from the user on the first position in the target template file;
第五确定模块,用于响应于所述第八输入,确定位于所述第一位置的数据对应的第二元素;A fifth determination module, configured to determine a second element corresponding to the data at the first position in response to the eighth input;
第九接收模块,用于接收所述用户的第九输入;A ninth receiving module, configured to receive a ninth input from the user;
第三获取模块,用于响应于所述第九输入,从所述至少一个第二文件中获取所述第一元素和所述第二元素对应的第二数据;A third obtaining module, configured to obtain second data corresponding to the first element and the second element from the at least one second file in response to the ninth input;
第二生成模块,用于基于所述第二数据,生成所述至少一个第二文件对应的图表。The second generating module is configured to generate a chart corresponding to the at least one second file based on the second data.
由此,第一电子设备在响应于用户的第一输入,将目标文件移动至目标区域后,便可以根据该目标文件对应的目标重命名规则;自动采集目标文件中目标位置的目标文件内容,并基于该目标文件内容对该目标文件进行重命名,得到重命名后的目标文件,这样,无需用户按照规定的命名格式手动输入文件名称,便可以对文件进行重命名,简化了用户操作,提高了文件重命名的效率。Thus, after the first electronic device moves the target file to the target area in response to the user's first input, it can automatically collect the content of the target file at the target position in the target file according to the target renaming rule corresponding to the target file, And based on the content of the target file, the target file is renamed to obtain the renamed target file. In this way, the file can be renamed without the user manually inputting the file name according to the specified naming format, which simplifies the user operation and improves Improved file renaming efficiency.
本申请实施例中的文件命名装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The file naming device in the embodiment of the present application may be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) devices, robots, wearable devices, ultra-mobile personalcomputers (ultra-mobile personalcomputers, UMPCs), netbooks or personal digital assistants (personal digital assistants, PDAs), etc., can also serve as servers, network attached storage (Network Attached Storage, NAS) , a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的文件命名装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The file naming device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的文件命名装置能够实现图1至图8的方法实施例实现的各个过程,实现相同的技术效果,为避免重复,这里不再赘述。The file naming device provided by the embodiment of the present application can implement the various processes realized by the method embodiments in Fig. 1 to Fig. 8 and achieve the same technical effect, and to avoid repetition, details are not repeated here.
可选地,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001和存储器1002,存储器1002上存储有可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述文件命名方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 10 , the embodiment of the present application also provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。The
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,用户输入单元1107,用于接收用户的第一输入;Wherein, the user input unit 1107 is configured to receive the first input of the user;
处理器1110,用于响应于所述第一输入,将目标文件移动至目标区域;a processor 1110, configured to move the target file to the target area in response to the first input;
确定所述目标文件对应的目标重命名规则;determining the target renaming rule corresponding to the target file;
根据所述目标重命名规则,采集所述目标文件中目标位置的目标文件内容;According to the target renaming rule, collect the content of the target file in the target position in the target file;
基于所述目标文件内容对所述目标文件进行重命名,得到重命名后的目标文件。The target file is renamed based on the content of the target file to obtain the renamed target file.
由此,第一电子设备在响应于用户的第一输入,将目标文件移动至目标区域后,便可以根据该目标文件对应的目标重命名规则;自动采集目标文件中目标位置的目标文件内容,并基于该目标文件内容对该目标文件进行重命名,得到重命名后的目标文件,这样,无需用户按照规定的命名格式手动输入文件名称,便可以对文件进行重命名,简化了用户操作,提高了文件重命名的效率。Thus, after the first electronic device moves the target file to the target area in response to the user's first input, it can automatically collect the content of the target file at the target position in the target file according to the target renaming rule corresponding to the target file, And based on the content of the target file, the target file is renamed to obtain the renamed target file. In this way, the file can be renamed without the user manually inputting the file name according to the specified naming format, which simplifies the user operation and improves Improved file renaming efficiency.
可选地,用户输入单元1107,还用于在所述确定所述目标文件对应的目标重命名规则之前,接收所述用户的第二输入;Optionally, the user input unit 1107 is further configured to receive a second input from the user before determining the target renaming rule corresponding to the target file;
处理器1110,还用于响应于所述第二输入,在所述目标区域中显示S个子区域;The processor 1110 is further configured to display S sub-regions in the target region in response to the second input;
用户输入单元1107,还用于接收所述用户对所述S个子区域中M个子区域的第三输入;The user input unit 1107 is further configured to receive a third input from the user on the M sub-areas in the S sub-areas;
处理器1110,还用于响应于所述第三输入,确定所述M个子区域对应的重命名信息;The processor 1110 is further configured to, in response to the third input, determine renaming information corresponding to the M subregions;
用户输入单元1107,还用于接收所述用户对第一文件的文件内容中N个目标位置的第四输入,所述第一文件的文件内容与所述目标文件的文件内容的格式相同;The user input unit 1107 is further configured to receive a fourth input from the user on N target positions in the file content of the first file, where the file content of the first file is in the same format as the file content of the target file;
处理器1110,还用于响应于所述第四输入,分别建立N个子区域与所述N个目标位置之间的一一对应关系;The processor 1110 is further configured to, in response to the fourth input, respectively establish a one-to-one correspondence between the N subregions and the N target positions;
根据所述N个子区域与所述N个目标位置之间的一一对应关系以及所述M个子区域对应的重命名信息,确定所述目标重命名规则;determining the target renaming rule according to the one-to-one correspondence between the N subregions and the N target positions and the renaming information corresponding to the M subregions;
其中,S为正整数,N和M均为非负整数,S=N+M。Wherein, S is a positive integer, N and M are both non-negative integers, and S=N+M.
如此,通过上述过程建立目标重命名规则,可以在对目标文件进行重命名时,自动根据目标位置和子区域之间的对应关系,读取目标位置处的目标文件内容作为重命名信息和/或根据固定重命名信息确定重命名信息,从而无需用户打开文件、查找文件内容中包含的重命名信息,再手动输入文件名称,便可以对文件重命名,还可以生成相应的目标重命名规则标识,方便用户调用该目标重命名规则。In this way, by establishing the target renaming rule through the above process, when renaming the target file, the content of the target file at the target position can be read automatically according to the corresponding relationship between the target position and the sub-area as the renaming information and/or according to the Fixed renaming information determines the renaming information, so that users do not need to open the file, search for the renaming information contained in the file content, and then manually enter the file name to rename the file, and can also generate the corresponding target renaming rule identifier, which is convenient The user invokes the target renaming rule.
可选地,用户输入单元1107,还用于接收所述用户对目标模板文件的第五输入,所述目标模板文件为已关联第一重命名规则的模板文件;Optionally, the user input unit 1107 is also configured to receive a fifth input from the user on the target template file, where the target template file is a template file associated with the first renaming rule;
处理器1110,还用于响应于所述第五输入,将所述目标模板文件发送至至少一个第二电子设备,以使所述第二电子设备对所述目标模板文件进行编辑,得到按照所述第一重命名规则命名的至少一个第二文件并发送至所述第一电子设备。The processor 1110 is further configured to send the target template file to at least one second electronic device in response to the fifth input, so that the second electronic device edits the target template file to obtain at least one second file named by the first renaming rule and send it to the first electronic device.
如此,通过将已关联第一重命名规则的目标模板文件发送至至少一个第二电子设备,可以直接接收到按照第一重命名规则重命名的第二文件,而无需在接收到文件后再进行重命名,简化了用户操作,节省了用户的时间。In this way, by sending the target template file associated with the first renaming rule to at least one second electronic device, the second file renamed according to the first renaming rule can be directly received without further processing after receiving the file. Renaming simplifies user operations and saves users time.
可选地,处理器1110,还用于获取所述第一重命名规则对应的文件名称包括的至少一个元素;Optionally, the processor 1110 is further configured to obtain at least one element included in the file name corresponding to the first renaming rule;
用户输入单元1107,还用于接收所述用户对所述至少一个元素中的第一元素的第六输入;The user input unit 1107 is further configured to receive a sixth input from the user on the first element in the at least one element;
处理器1110,还用于响应于所述第六输入,确定所述第一元素;The processor 1110 is further configured to determine the first element in response to the sixth input;
用户输入单元1107,还用于接收所述用户的第七输入;The user input unit 1107 is also configured to receive a seventh input from the user;
处理器1110,还用于响应于所述第七输入,从所述至少一个第二文件中获取所述第一元素对应的第一数据;The processor 1110 is further configured to, in response to the seventh input, acquire first data corresponding to the first element from the at least one second file;
基于所述第一数据,生成所述至少一个第二文件对应的图表。Based on the first data, a graph corresponding to the at least one second file is generated.
如此,可以在接收到各个用户发送的第二文件之后,直接基于用户选择的第一元素从第二文件中获取第一数据,生成图表,而无需下载第二文件之后再进行统计,生成图表。In this way, after receiving the second file sent by each user, the first data can be directly obtained from the second file based on the first element selected by the user, and the chart can be generated without downloading the second file and then performing statistics to generate the chart.
可选地,用户输入单元1107,还用于接收所述用户对所述目标模板文件中第一位置的第八输入;Optionally, the user input unit 1107 is further configured to receive an eighth input from the user on the first position in the target template file;
处理器1110,还用于响应于所述第八输入,确定位于所述第一位置的数据对应的第二元素;The processor 1110 is further configured to, in response to the eighth input, determine a second element corresponding to the data at the first position;
用户输入单元1107,还用于接收所述用户的第九输入;The user input unit 1107 is further configured to receive a ninth input from the user;
处理器1110,还用于响应于所述第九输入,从所述至少一个第二文件中获取所述第一元素和所述第二元素对应的第二数据;The processor 1110 is further configured to, in response to the ninth input, acquire second data corresponding to the first element and the second element from the at least one second file;
基于所述第二数据,生成所述至少一个第二文件对应的图表。Based on the second data, a graph corresponding to the at least one second file is generated.
如此,可以根据用户需求从模板文件中添加元素,并基于该元素在第二文件中对应的数据生成图表,因此可以更加灵活地确定图表的维度。In this way, elements can be added from the template file according to user requirements, and a chart can be generated based on the data corresponding to the element in the second file, so the dimension of the chart can be determined more flexibly.
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(GraphicsProcessing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072中的至少一种。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the
存储器1109可用于存储软件程序以及各种数据。存储器1109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1109可以包括易失性存储器或非易失性存储器,或者,存储器1109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1109包括但不限于这些和任意其它适合类型的存储器。The
处理器1110可包括一个或多个处理单元;可选地,处理器1110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。The processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 1110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述文件命名方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned file naming method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器、随机存取存储器、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory, random access memory, magnetic disk or optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述文件命名方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned file naming method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述文件命名方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above-mentioned file naming method embodiment, and can achieve the same technical effect , to avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211134675.6A CN115470185A (en) | 2022-09-19 | 2022-09-19 | File naming method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211134675.6A CN115470185A (en) | 2022-09-19 | 2022-09-19 | File naming method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115470185A true CN115470185A (en) | 2022-12-13 |
Family
ID=84333868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211134675.6A Pending CN115470185A (en) | 2022-09-19 | 2022-09-19 | File naming method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115470185A (en) |
-
2022
- 2022-09-19 CN CN202211134675.6A patent/CN115470185A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111324266B (en) | Device, method and graphical user interface for sharing content objects in a document | |
EP3528140A1 (en) | Picture processing method, device, electronic device and graphic user interface | |
CN113014476B (en) | Group creation method and device | |
CN113849092A (en) | Content sharing method and device and electronic equipment | |
CN116450008A (en) | Icons showing control method, apparatus, electronic equipment and medium | |
WO2023125157A1 (en) | Message sending method and apparatus, and electronic device and medium | |
WO2023284640A1 (en) | Picture processing method and electronic device | |
CN114610423B (en) | Content release method and device and electronic equipment | |
WO2022247787A1 (en) | Application classification method and apparatus, and electronic device | |
CN117055769A (en) | Album display method, album display device, album display equipment and storage medium | |
WO2024012508A1 (en) | Functional interface display method and apparatus | |
CN116301520A (en) | Session management method, device and electronic device | |
CN113037618B (en) | Image sharing method and device | |
CN113190365B (en) | Information processing method and device and electronic equipment | |
CN117055782A (en) | Method, device, equipment and storage medium for displaying session list | |
CN116245615A (en) | Searching method and device and electronic equipment | |
CN116756099A (en) | Display method and device | |
CN115470185A (en) | File naming method and device, electronic equipment and storage medium | |
CN116225289A (en) | Dynamic information management method and device and electronic equipment | |
CN115586937A (en) | Interface display method and device, electronic equipment and readable storage medium | |
CN115391398A (en) | Information search method, device, electronic device and readable storage medium | |
CN115412634A (en) | Message display method and device | |
CN113867989A (en) | Information paste method and device | |
CN113407077A (en) | Information extraction method and electronic equipment | |
CN112764634A (en) | Content processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |