Attribute determination method and related device

By obtaining and synchronizing the attribute information of the writing tool, the untidy problem of the writing interface due to inconsistent attributes is solved, and the linkage of multiple writing tools is realized, user operations are simplified and writing efficiency is improved.

CN114185690BActive Publication Date: 2024-11-22BEIJING HITEVISION AIXUE EDUCATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111395158.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-11-22
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

When users use multiple writing toolbars, the writing interface is not neat due to inconsistent attributes, and different toolbars are incompatible. Users need to switch tools frequently to process, which is cumbersome.

Method used

By obtaining the attribute information of the writing tool, comparing the similarities and differences with the preset attributes, and setting the attributes of the first writing tool according to the second writing property information, so that it is synchronized with the second writing tool of the corresponding application, realizing tool linkage and ensuring the interface The information is consistent.

Benefits of technology

It realizes the neatness of the writing interface and seamless linkage of tools, reduces the frequent switching of tools by users, and improves writing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114185690B_ABST
    Figure CN114185690B_ABST
Patent Text Reader

Abstract

The present application discloses an attribute determination method and related equipment. The method is applied to an electronic device, and the method includes: when the electronic device starts a first writing tool, obtaining first writing attribute information; when the first writing attribute information is inconsistent with the preset writing attribute information, setting the writing attribute of the first writing tool according to the second writing attribute information; the second writing attribute information is the writing attribute information of the second writing tool of the first writing application, and the first writing application is any one of the at least one writing application. Through the above method, the writing application can be linked with the writing tool for writing on the writing interface, so that the writing attributes of the writing tools of different programs on the writing interface remain consistent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of multimedia technology, and in particular, relates to an attribute determination method and related equipment. Background Art

[0002] Currently, users can write on the interfaces displayed by electronic devices through various writing toolbars. For example, users can write on various interfaces displayed by electronic devices through a writing toolbar displayed by an application, or users can write on the writing interface played by an application through a writing toolbar of another application. However, when users use various writing toolbars to process the writing interface, a variety of different writing information will appear on the writing interface, making the writing interface untidy. Summary of the invention

[0003] In view of this, the embodiment of the present application provides a method, device, electronic device, and computer storage medium for determining attributes, which can enable the writing tools between various writing applications to be linked, so that the writing attributes of the writing tools of different programs on the writing interface remain consistent, the writing information of the writing interface is the same, and the writing interface remains tidy.

[0004] In a first aspect, an embodiment of the present application provides an attribute determination method, which is applied to an electronic device. The attribute determination method includes:

[0005] When the electronic device starts the first writing tool, obtaining first writing attribute information, where the first writing attribute information includes at least one of the writing attribute information of the second writing tool in at least one writing application of the electronic device;

[0006] When the first writing attribute information is inconsistent with the preset writing attribute information, the writing attribute of the first writing tool is set according to the second writing attribute information; the second writing attribute information is the writing attribute information of the second writing tool of the first writing application, and the first writing application is any one of at least one writing application.

[0007] In some embodiments, after obtaining the first writing attribute information, the attribute determination method further includes:

[0008] When the first writing attribute information is consistent with the preset writing attribute information, the writing attribute of the first writing tool is set according to the first writing attribute information.

[0009] In some embodiments, when the first writing attribute information is inconsistent with the preset writing attribute information, setting the writing attribute of the first writing tool according to the second writing attribute information includes:

[0010] In the case where the first writing attribute information is inconsistent with the preset writing attribute information, determining whether the first writing tool is the same as the second writing tool in the first writing application program;

[0011] In the case that the first writing tool is the same as the second writing tool, the writing attribute of the first writing tool is set according to the second writing attribute information.

[0012] In some embodiments, after obtaining the first writing attribute information, the attribute determination method further includes:

[0013] receiving writing attribute modification information of a second writing tool of a first writing application;

[0014] The writing attribute information of the second writing tool of other writing applications is modified according to the writing attribute modification information; the other writing applications are writing applications other than the first writing application in at least one writing application.

[0015] In some embodiments, the writing interface includes historical writing information based on other writing attribute information other than the second writing attribute information;

[0016] After setting the writing attribute of the first writing tool according to the second writing attribute information, the attribute determination method further includes: clearing the historical writing information.

[0017] In some embodiments, the at least one writing application includes a system writing tool application and a non-system writing application, and after setting the writing attribute of the first writing tool according to the second writing attribute information, the attribute determination method further includes:

[0018] When the first writing tool is a non-system writing tool of a non-system writing application and the electronic device starts a system writing tool of a system writing tool program, the system writing tool is associated with the first writing tool so that the system writing tool writes based on the writing attributes of the first writing tool.

[0019] In some embodiments, the at least one writing application includes at least one non-system writing application, and after setting the writing attribute of the first writing tool according to the second writing attribute information, the attribute determination method further includes:

[0020] When the first writing tool is a non-system writing tool of a non-system writing application and the electronic device starts a writing tool of a second application, the second writing tool is associated with the first writing tool so that the writing tool of the second application writes based on the writing properties of the first writing tool;

[0021] The second application is a non-system writing application among the at least one writing application except the non-system writing application to which the first writing tool belongs.

[0022] In a second aspect, an embodiment of the present application provides an attribute determination device, the attribute determination device comprising:

[0023] an acquisition module, configured to acquire first writing attribute information when the electronic device starts the first writing tool, the first writing attribute information including at least one of the writing attribute information of the second writing tool in at least one writing application of the electronic device;

[0024] The first setting module is used to set the writing attribute of the first writing tool according to the second writing attribute information when the first writing attribute information is inconsistent with the preset writing attribute information; the second writing attribute information is the writing attribute information of the second writing tool of the first writing application, and the first writing application is any one of at least one writing application.

[0025] In some embodiments, the attribute determination device further comprises:

[0026] The second setting module is used to set the writing attribute of the first writing tool according to the first writing attribute information when the first writing attribute information is consistent with the preset writing attribute information.

[0027] In some embodiments, the first setting module includes:

[0028] A determination unit, configured to determine whether the first writing tool is the same as the second writing tool in the first writing application program when the first writing attribute information is inconsistent with the preset writing attribute information;

[0029] A setting unit is configured to set the writing attribute of the first writing tool according to the second writing attribute information when the first writing tool is the same as the second writing tool.

[0030] In some embodiments, the attribute determination device further comprises:

[0031] A receiving module, configured to receive writing attribute modification information of a second writing tool of a first writing application;

[0032] The modification module is used to modify the writing attribute information of the second writing tool of other writing applications according to the writing attribute modification information; the other writing applications are at least one writing application other than the first writing application.

[0033] In some embodiments, the writing interface includes historical writing information based on other writing attributes other than the second writing attribute information. The attribute determination device further includes: a clearing module for clearing historical writing information.

[0034] In some embodiments, the second writing tool of at least one writing application includes the first writing tool. The attribute determination device also includes:

[0035] The first associating module is used to associate the system writing tool with the first writing tool when the at least one writing application includes a system writing tool and the electronic device starts the system writing tool, so that the system writing tool writes based on the writing properties of the first writing tool.

[0036] In some embodiments, the second writing tool of at least one writing application includes the first writing tool. The attribute determination device also includes:

[0037] The second association module is used to associate the writing tool of a second application with the first writing tool when the electronic device starts the writing tool of the second application, so that the writing tool of the second application can write based on the writing properties of the first writing tool; the second application is a non-system writing application among the at least one writing application except the writing application to which the first writing tool belongs.

[0038] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor and a memory storing computer program instructions;

[0039] When the processor executes the computer program instructions, the attribute determination method as described in the first aspect is implemented.

[0040] In a fourth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and the computer program instructions, when executed by a processor, implement the bit method as described in the first aspect.

[0041] The embodiments of the present application provide a method, device, electronic device, and computer storage medium for attribute processing. When the electronic device starts a first writing tool, it is possible to obtain first writing attribute information, compare the similarities and differences between the first writing attribute information and the preset writing attribute information, and, when the first writing attribute information is inconsistent with the preset writing attribute information, set the writing attributes of the first writing tool according to the second writing attribute information, so that the writing attributes of the first writing tool are synchronized with the writing attributes of the second writing tool of the first writing application, so that various programs with writing functions are linked, and further, the writing information of various programs with writing functions is the same on the writing interface, thereby achieving the purpose of keeping the interface neat. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0043] Figure 1 A writing interface 1 for displaying writing tools in the prior art is shown;

[0044] Figure 2 Another display interface 2 for displaying a writing toolbar in the prior art is shown;

[0045] Figure 3 A schematic diagram of the architecture of an attribute determination system provided in an embodiment of the present application is shown;

[0046] Figure 4a A schematic diagram of a scenario provided by the implementation of this application is shown;

[0047] Figure 4b Another scenario schematic diagram provided by the implementation of this application is shown;

[0048] Figure 5 A schematic diagram of a flow chart of a method for determining an attribute provided by an embodiment of the present application is shown;

[0049] Figure 6 A schematic diagram of the structure of an attribute determination device provided in an embodiment of the present application is shown;

[0050] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0051] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0052] Currently, in order to facilitate users to process the interface displayed on the electronic device, the operating system of the electronic device includes a system writing tool program. By running the system writing tool program, a system writing toolbar is displayed on the display interface. Figure 1 FIG. 1 shows a writing interface for displaying writing tools in the prior art. Figure 1 As shown, a tool bar in the shape of a compass is provided on the interface, and the tool bar can be referred to as a compass. The compass can include writing tools and tools with other functions. Users can process different display interfaces through the compass.

[0053] Figure 2 Another display interface for displaying a writing toolbar in the prior art is shown. Figure 2 The interface is a display interface after an application is started. A toolbar may be displayed in the application interface. The toolbar may include a writing toolbar.

[0054] When the user uses the above two writing toolbars to process on one display interface, due to the different default writing tool properties of the two writing toolbars, multiple different forms of writing notes appear in the same display interface, making the interface untidy.

[0055] Furthermore, since the writing tools of the two writing toolbars are incompatible, users cannot use the writing tools in one toolbar to process the writing notes created by the writing tools in another toolbar. Instead, users need to select the writing tools in the toolbar corresponding to the writing notes to process them. This causes users to frequently switch between different styles of writing tools, making writing operations cumbersome.

[0056] In addition, the above-mentioned writing problem may also occur in a scenario where an electronic device launches multiple different writing applications for writing.

[0057] In view of this, the embodiments of the present application provide an attribute determination method, apparatus, device and computer storage medium, which can obtain first writing attribute information when an electronic device starts a first writing tool for writing, compare the similarities and differences between the first writing attribute information and the preset writing attribute information, and when the first writing attribute information is inconsistent with the preset writing attribute information, set the writing attributes of the first writing tool according to the second writing attribute information, so that the writing attributes of the first writing tool are synchronized with the writing attributes of the second writing tool of the first writing application, so that various programs with writing functions are linked, and then the various programs with writing functions have the same writing information on the writing interface, thereby achieving the purpose of a neat interface.

[0058] And because the second writing attribute information is used to set the first writing tool to be used for writing when writing, the first writing tool is linked with the second writing tool of the first writing application, so that the user does not need to frequently switch writing tools belonging to different programs, and the purpose of processing the writing information of the writing interface can be achieved.

[0059] It should be noted that the "system writing tool" involved in the embodiment of the present application may be a writing tool that comes with the system, and there may be multiple writing tools that can form toolbars in various forms, such as compass form, list form, regular form, irregular form, etc. In the embodiment of the present application, the system writing tool is mainly described as a compass form.

[0060] The "writing tool" involved in the embodiment of the present application can be various annotation tools or comment tools, including but not limited to pens, erasers, and various shape annotation tools. The writing tool can be located in the writing toolbar. In the embodiment of the present application, there is no restriction on the display position of the writing toolbar on the display interface.

[0061] The writing involved in this application can be understood as annotation, and the written notes can be understood as the annotation content. The writing tool attributes can include but are not limited to type, color, line type, etc.

[0062] The "writing application" involved in the embodiments of the present application may be an application with a writing function, such as Foxit Reading Software, a word processing system (Word Processing System, WPS), a word processing application system (Mrcrosoft Office Word), an Android whiteboard, a presentation assistant, multi-screen interaction, Android annotations, Windows booths, and other applications.

[0063] Before describing in detail a method for determining an attribute provided by an embodiment of the present application, a system architecture of the method for determining an attribute involved in the present application is first briefly introduced.

[0064] Figure 3A schematic diagram of the architecture of an attribute determination system provided in an embodiment of the present application is shown.

[0065] like Figure 3 As shown, the attribute determination system 300 may include a message center 310 and at least one writing application. The at least one writing application may include a system writing tool program 320 and at least one non-system writing application 330 (i.e., non-system writing application A to non-system writing application M). The system writing tool in the system writing tool program and the writing tool of the non-system writing application 330 are both used to respond to the user's writing operation and write information on the writing interface.

[0066] Here, the message center 310, the system writing tool program 320, and at least one non-system writing application program 330 may be provided in one electronic device.

[0067] The message center 310 is used to store preset attribute information of preset writing tools; obtain messages of at least one writing application; and send messages to at least one writing application.

[0068] That is, information between at least two non-system writing applications 330 can be exchanged through the message center 310 , and information between the non-system writing application 330 and the system writing tool program 320 can be exchanged through the message center 310 .

[0069] Figure 4a A schematic diagram of a scenario provided by the present application is shown. Figure 4a As shown, after the electronic device starts the system writing tool in the system writing tool program and at least one non-system writing tool of a non-system writing application, the message center obtains system writing attribute information of the system writing tool and non-system writing attribute information of at least one non-system writing application.

[0070] The message center may send the preset writing attribute information and the second writing attribute information to the system writing tool program.

[0071] The system writing tool program detects whether the system writing attribute included in the system writing attribute information is a preset attribute included in the preset writing attribute information. If the system writing attribute is the preset writing attribute, the electronic device modifies the system writing attribute of the system writing tool based on the preset writing attribute information.

[0072] When the system writing attribute is not the preset writing attribute and the system writing attribute is the second attribute included in the non-system writing attribute information, the electronic device modifies the system writing attribute of the system writing tool based on the non-system writing attribute information and the preset writing attribute information.

[0073] When the system writing attribute is neither a preset attribute nor a non-system writing attribute, the electronic device does not modify the system writing attribute.

[0074] In addition, the message center can also send preset writing attribute information, system writing attribute information of the system writing tool, and non-system writing attribute information of other non-system writing applications except itself to a non-system writing application. The non-system writing attribute information modification method of the non-system writing application is similar to the writing attribute information modification method of the system writing tool, and will not be repeated here for the sake of brevity.

[0075] Figure 4b Another scenario diagram provided by the present application is shown. Figure 4b As shown, after the user modifies the writing properties of a writing tool, the message center obtains the writing property modification information of the writing tool and sends the writing property modification information to other programs with writing functions in the electronic device, so that the electronic device sets the writing property information of writing tools of the same type as the writing tool in other programs as the writing property modification information.

[0076] In this way, the writing attribute information is transmitted through the message center, so that the system tool and the non-system writing tool modify their respective writing attributes according to the writing attribute message obtained from the message center, so that the writing attributes of the system tool and the non-system writing tool are the same, and the writing attributes of the non-system writing tools of multiple non-system writing applications are the same, thereby achieving linkage between the system writing tool and the non-system writing tools of the non-system writing application in the electronic device, and linkage between each non-system writing application. In this way, when multiple writing tools are electronically started, the writing information of the writing interface remains consistent, and the writing information of the writing interface can be processed without frequently switching writing tools.

[0077] According to the above architecture and application scenarios, the following Figure 5 The attribute determination method provided in the embodiment of the present application is described in detail.

[0078] Figure 5 FIG. 1 is a flow chart of a method for determining an attribute provided by an embodiment of the present application. Figure 5 As shown, the execution subject of the attribute determination method may be an electronic device, and the electronic device includes a system writing tool program and at least one writing application program. The attribute determination method may specifically include the following steps:

[0079] S510, when the electronic device starts a first writing tool, obtaining first writing attribute information;

[0080] S520: When the first writing attribute information is inconsistent with the preset writing attribute information of the preset writing tool, set the writing attribute of the first writing tool according to the second writing attribute information.

[0081] Therefore, when the electronic device starts the first writing tool for writing, the first writing attribute information is obtained, and the similarities and differences between the first writing attribute information and the preset writing attribute information are compared. When the first writing attribute information is inconsistent with the preset writing attribute information, the writing attributes of the first writing tool are set according to the second writing attribute information, so that the writing attributes of the first writing tool are synchronized with the writing attributes of the second writing tool of the first writing application, so that various programs with writing functions are linked, and then the various programs with writing functions have the same writing information on the writing interface, thereby achieving the purpose of a neat interface.

[0082] And because the second writing attribute information is used to set the first writing tool to be used for writing when writing, the first writing tool is linked with the second writing tool of the first writing application, so that the user does not need to frequently switch writing tools belonging to different programs, and the purpose of processing the writing information of the writing interface can be achieved.

[0083] The above steps are described in detail below:

[0084] First, in S510, the first writing tool may be any one or more writing tools in the electronic device. Specifically, the first writing tool may be a writing tool in at least one writing application. Optionally, the first writing tool may be a system writing tool of a system writing tool program, or a non-system writing tool of a non-system writing application.

[0085] Here, both the system writing tool and the non-system writing tool are used to write information on the writing interface.

[0086] The "writing interface" involved in the embodiments of the present application can be any display interface of an electronic device. For example, the writing interface can be the main system interface displayed by the electronic device, or it can be the interface after the writing application is started. In the embodiments of the present application, there is no limitation on the writing interface.

[0087] In the embodiment of the present application, the at least one writing application of the electronic device may include a system writing tool program and a non-system writing application. Alternatively, the at least one writing application of the electronic device may include multiple non-system writing applications.

[0088] In S510, the first writing tool of the electronic device may be started automatically by the electronic device, or in response to a user's selection operation of the first writing tool, etc. Here, there is no limitation on the method of starting the first writing tool.

[0089] The “first writing attribute information” involved in the embodiment of the present application may include at least one of the writing attribute information of the second writing tool in at least one writing application of the electronic device.

[0090] That is, the first writing attribute information may include system writing attribute information of a system writing tool of the electronic device, or may include non-system writing attribute information of a non-system writing tool in at least one non-system writing application, or may include system writing attribute information of a system writing tool and non-system writing attribute information of a non-system writing tool.

[0091] Here, the second writing tool can be any one or more writing tools in the writing application of the electronic device. Optionally, the second writing tool can be a system writing tool of the system writing tool program, or a non-system writing tool of a non-system writing application.

[0092] In the embodiment of the present application, both the first writing tool and the second writing tool are used to write information on the writing interface.

[0093] In some embodiments, S510 may be specifically performed as follows: when the first writing tool is started, the electronic device may obtain the first writing attribute information from the message center.

[0094] Secondly, in S520, the preset writing attribute information may be writing attribute information pre-stored in the electronic device. The preset writing attribute information may include the type of writing tool and the preset writing attribute of the writing tool. The type of writing tool may include any one or more types of writing tools in the electronic device. The preset writing attribute may include at least one of the preset type of the writing tool, the color of the writing tool, the thickness of the writing tool, and the transparency of the writing tool.

[0095] For example, when the type of writing tools may include a pen, the preset writing attributes may include the type of pen, wherein the type of pen may include a hard pen, a soft pen, a fluorescent pen, etc. The preset attributes may also include the color of the pen writing, the thickness of the pen writing, and the transparency of the pen writing, etc.

[0096] For another example, when the types of writing tools may include erasers, the preset writing attributes may include the thickness of writing with the eraser.

[0097] The “second writing attribute information” involved in the embodiment of the present application may be writing attribute information of a second writing tool of a first writing application, wherein the first writing application may be any one of at least one writing application.

[0098] Before S520, the attribute determination method further includes: the electronic device detecting whether the first writing attribute information is consistent with preset writing attribute information.

[0099] The “first writing attribute information is inconsistent with the preset writing attribute information” involved in the embodiments of the present application means that the types of writing tools included in the first writing attribute information and the preset writing attribute information are inconsistent, or that the writing attributes included in the first writing attribute information and the preset writing attribute information are inconsistent, or that both the types of writing tools and the writing attributes included in the first writing attribute information and the preset writing attribute information are inconsistent.

[0100] In some embodiments, after S510, the attribute determination method further includes:

[0101] When the first writing attribute information is consistent with the preset writing attribute information, the writing attribute of the first writing tool is set according to the first writing attribute information.

[0102] Here, the electronic device sets the writing attribute of the first writing tool according to the first writing attribute information, which may be to modify the writing attribute of the first writing tool to the writing attribute corresponding to the first writing tool in the first writing attribute information. In this way, when the electronic device writes on the writing interface based on the first writing tool, the writing information of the preset writing attribute can be displayed, so that the writing information based on different writing tools on the writing interface is the same.

[0103] In S520, when the first writing attribute information is inconsistent with the preset writing attribute information, the electronic device sets the writing attributes of the first writing tool according to the second writing attribute information. The electronic device may modify the writing attributes of the first writing tool to the writing attributes corresponding to the first writing tool in the second writing attribute information, so that when the electronic device writes on the writing interface based on the first writing tool, it can display the same writing information as the second writing tool, so that the writing information based on different writing tools on the writing interface is the same.

[0104] In some embodiments, S520 may specifically include:

[0105] In the case where the first writing attribute information is inconsistent with the preset writing attribute information, determining whether the first writing tool is the same as the second writing tool in the first writing application program;

[0106] In the case where the first writing tool is the same as the second writing tool, the writing attribute of the first writing tool is set according to the second writing attribute information.

[0107] Here, after determining that the first writing attribute information is inconsistent with the preset writing attribute information, the electronic device further continues to determine whether the first writing tool is the same as the second writing tool in the first writing application. After the electronic device determines that the first writing tool is the same as the second writing tool, the writing attribute of the first writing tool is modified to the writing attribute corresponding to the first writing tool in the second writing attribute information.

[0108] In this way, the writing attributes of the first writing tool are modified to the writing attributes corresponding to the first writing tool in the second writing attribute information, so that when the electronic device writes on the writing interface based on the first writing tool, it can display the same writing information as the second writing tool, so that the writing information based on different writing tools on the writing interface is the same.

[0109] In addition, when the first writing tool is different from the second writing tool, the electronic device maintains the writing attribute of the first writing tool as the writing attribute selected most recently.

[0110] In some embodiments, after S510, the attribute determination method further includes:

[0111] receiving writing attribute modification information of a second writing tool of a first writing application;

[0112] The writing attribute information of the second writing tool of other writing applications is modified according to the writing attribute modification information.

[0113] In the implementation of the present application, the "writing attribute modification information" may include the type of writing tool and the writing attribute of the writing tool. The "other writing application" is a writing application other than the first writing application in at least one writing application.

[0114] Optionally, when the first writing application is a system writing tool program, the other writing applications may be at least one non-system writing application. Alternatively, when the first writing application is a non-system writing application, the other writing applications may be non-system writing applications other than the first writing application and a system writing tool program.

[0115] Here, the user performs an attribute modification operation on the second writing tool in the first writing application. The electronic device receives writing attribute modification information in response to the user's attribute modification operation, and sends the writing attribute modification information to other writing applications, so that the other writing applications modify their respective writing attribute information according to the writing attribute modification information.

[0116] Therefore, after receiving the property modification information of the writing tool, the electronic device will synchronize the property modification information to other writing tools so as to modify the writing properties of other writing tools, thereby eliminating the need to frequently switch writing tools for property modification. Moreover, after the writing properties of one writing tool are modified, since the writing properties of other writing tools are synchronized with the modified writing properties, the writing information based on writing by different writing tools on the writing interface is consistent, thereby ensuring the neatness of the writing interface.

[0117] In order to facilitate users to clearly distinguish the content of each writing, in some embodiments, the writing interface includes historical writing information based on other writing attributes other than the second writing attribute information. After setting the writing attributes of the first writing tool according to the second writing attribute information, the method also includes: clearing the historical writing information.

[0118] Here, before the electronic device writes with the first writing tool, the electronic device writes on the writing interface with the historical writing tool, wherein the writing attribute of the historical writing tool is other writing attribute than the second writing attribute information. Thus, the historical writing information written with other writing attributes is displayed on the writing interface.

[0119] For example, the historical writing tool belongs to the system writing tool, that is, the writing tool on the compass. After the user writes on the system main interface (i.e., the writing interface) based on the historical writing tool, the display interface displays the historical writing information. The user continues to start the word software and selects the first writing tool. After determining the attributes of the first writing tool, the electronic device clears the historical writing information on the system main interface.

[0120] It should be noted that, in the embodiment of the present application, after the writing application is opened and before the first writing tool is selected, the electronic device can clear the historical writing information.

[0121] In the above embodiment, in order to facilitate the user to clearly understand the writing content of the first writing tool when the electronic device starts the first writing tool to write on the writing interface, the electronic device clears the historical writing information so that the writing interface clearly displays the writing information based on the first writing tool and makes the writing interface neat.

[0122] In some embodiments, in order to avoid displaying multiple writing tools, after starting the first writing tool, the electronic device will cancel the historical writing tools and only display the first writing tool on the writing interface. This makes it convenient for the user to use the first writing tool on the writing interface.

[0123] In some embodiments, the second writing tool of the at least one writing application includes a first writing tool, and after setting the writing attribute of the first writing tool according to the second writing attribute information, the attribute determination method further includes:

[0124] When at least one writing application includes a system writing tool and the electronic device starts the system writing tool, the system writing tool is associated with a first writing tool so that the system writing tool writes based on the writing attributes of the first writing tool.

[0125] In the embodiment of the present application, the non-system writing tool of at least one non-system writing application includes a first writing tool. It can be understood that the first writing tool can be a non-system writing tool in any non-system writing application.

[0126] Specifically, first, the electronic device enables the non-system writing tool in the non-system writing application to write on the writing interface. Then, when the electronic device enables the system writing tool to write on the writing interface, the electronic device associates the system writing tool with the non-system writing tool and continues to use the writing attributes of the non-system writing tool to write on the writing interface.

[0127] For example, the electronic device first starts pen A of a non-system writing application to write on the writing interface, and then when the electronic device starts pen B of the compass, the electronic device associates pen A with pen B so that pen B uses the writing properties of pen A to write.

[0128] For another example, the electronic device first starts the A pen of the non-system writing application to write on the writing interface, and then when the electronic device starts the eraser of the compass, the electronic device associates the eraser of the compass with the eraser in the non-system writing application, so that the eraser of the compass uses the writing properties of the eraser of the non-system writing application to perform an erasing operation. In this way, the electronic device links the compass with the non-system writing application, and can achieve the purpose of allowing the eraser of the compass to erase the writing information of the non-system writing tool without frequently switching programs.

[0129] In the above embodiment, when the electronic device successively activates the non-system writing tool and the system writing tool of the system writing tool program, the electronic device associates the system writing tool with the non-system writing tool so that the system writing tool writes based on the writing attributes of the non-system writing tool. In this way, the electronic device links the system tool with the non-system writing tool in the non-system writing application program, which not only makes the writing information of the writing interface consistent and keeps the writing interface neat, but also allows the system tool to process the writing information written by the non-system tool based on the non-system writing application program, thereby achieving the purpose of processing the writing information without frequently switching the writing tool.

[0130] When the system tool is linked with each non-system writing application, the system tool needs to synchronize the writing properties of the second writing tool of each non-system writing application. This causes the writing properties of the system writing tool to switch frequently and the writing logic to be confusing.

[0131] To this end, the electronic device links various non-system writing applications on the basis of linking system tools with various non-system writing applications respectively, so as to avoid frequent switching of writing attributes of system writing tools.

[0132] In some embodiments, the at least one writing application includes at least one non-system writing application, and after setting the writing attribute of the first writing tool according to the second writing attribute information, the attribute determination method further includes:

[0133] When the first writing tool belongs to a non-system writing tool of a non-system writing application and the electronic device starts the writing tool of a second application, the writing tool of the second application is associated with the first writing tool so that the writing tool of the second application writes based on the writing properties of the first writing tool.

[0134] Here, the second application is a non-system writing application other than the writing application to which the first writing tool belongs among the at least one writing application. The writing tool of the second application may be a non-system writing tool.

[0135] Specifically, first, the electronic device enables a second writing tool in a non-system writing application A to write on the writing interface. Then, when the electronic device enables a second writing tool in another non-system writing application B to write on the writing interface, the electronic device associates the second writing tools of the non-system writing application A and the non-system writing application B, and continues to use the writing attributes of the second writing tool of the non-system writing application A to write on the writing interface.

[0136] For example, when the electronic device first starts the pen of non-system writing application A to write on the writing interface, and then when the electronic device starts the pen of non-system writing application B, the electronic device associates the pen of non-system writing application A with the pen of non-system writing application B, so that the pen of non-system writing application B uses the writing properties of the pen of non-system writing application A to write.

[0137] For another example, the electronic device first starts the pen of non-system writing application A to write on the writing interface, and then when the electronic device starts the eraser of non-system writing application B, the electronic device associates the eraser of non-system writing application B with the eraser of non-system writing application A, so that the eraser of non-system writing application B uses the writing properties of the eraser of non-system writing application A to perform erasing operations. In this way, the electronic device links the two non-system writing applications, so that the purpose of allowing the eraser of one non-system writing application to erase the writing information of another non-system writing application can be achieved without frequently switching programs.

[0138] In the above embodiment, when the electronic device successively activates the second writing tools of different non-system writing applications, the second writing tools of the two non-system writing applications are linked so that the second writing tool of the non-system writing application that is activated later writes based on the writing attributes of the first writing tool. In this way, the electronic device links the second writing tools of the two non-system writing applications, which not only makes the writing information of the writing interface consistent and keeps the writing interface neat, but also allows one non-system writing application to process the writing information written by the second tool of another non-system writing application, thereby achieving the purpose of processing the writing information without frequently switching the writing tools.

[0139] In addition, after the electronic device links the various writing applications, when the writing attributes of one writing application are modified, the other writing applications can directly and synchronously modify the writing attributes. In this way, through the linkage of various writing applications, the problem of frequently switching writing applications to modify the writing attributes of various writing applications can be solved, thereby achieving the purpose of synchronous modification of various writing applications.

[0140] Based on the same inventive concept, the present application also provides an attribute determination device, which can be applied to electronic devices. Figure 6 The attribute determination device provided in the embodiment of the present application is described in detail.

[0141] Figure 6 A schematic diagram of the structure of an attribute determination device provided in an embodiment of the present application is shown.

[0142] like Figure 6 As shown, the attribute determination device 600 includes:

[0143] The acquisition module 610 is used to acquire first writing attribute information when the electronic device starts a first writing tool, wherein the first writing attribute information includes at least one of the writing attribute information of the second writing tool in at least one writing application of the electronic device.

[0144] The first setting module 620 is used to set the writing attributes of the first writing tool according to the second writing attribute information when the first writing attribute information is inconsistent with the preset writing attribute information; the second writing attribute information is the writing attribute information of the second writing tool of the first writing application, and the first writing application is any one of the at least one writing application.

[0145] In some embodiments, the attribute determination device 600 further includes:

[0146] The second setting module is used to set the writing attribute of the first writing tool according to the first writing attribute information when the first writing attribute information is consistent with the preset writing attribute information.

[0147] In some embodiments, the first setting module 620 includes:

[0148] a determination unit, configured to determine whether the first writing tool is the same as a second writing tool in the first writing application program when the first writing attribute information is inconsistent with preset writing attribute information;

[0149] The setting unit is configured to set the writing attribute of the first writing tool according to the second writing attribute information when the first writing tool is the same as the second writing tool.

[0150] In some embodiments, the attribute determination device 600 further includes:

[0151] A receiving module, configured to receive writing attribute modification information of a second writing tool of the first writing application;

[0152] A modification module is used to modify the writing attribute information of the second writing tool of other writing applications according to the writing attribute modification information; the other writing applications are writing applications other than the first writing application among the at least one writing application.

[0153] In some embodiments, the writing interface includes historical writing information based on other writing attributes other than the second writing attribute information. The attribute determination device 600 further includes: a clearing module for clearing historical writing information.

[0154] In some embodiments, the at least one writing application includes a system writing tool program and a non-system writing application, and the attribute determination device 600 further includes:

[0155] The first associating module is used to associate the system writing tool with the first writing tool when the first writing tool belongs to the non-system writing tool of the non-system writing application and the electronic device starts the system writing tool, so that the system writing tool writes based on the writing properties of the first writing tool.

[0156] In some embodiments, the at least one writing application includes at least one non-system writing application, and the attribute determination device 600 further includes:

[0157] The second association module is used to associate the first writing tool with the first writing tool when the first writing tool belongs to a non-system writing tool of a non-system writing application and the electronic device starts the writing tool of the second application, so that the writing tool of the second application writes based on the writing properties of the first writing tool; the second application is a non-system writing application among at least one writing application except the non-system writing application to which the first writing tool belongs.

[0158] Figure 7 A schematic diagram showing the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 7 , the electronic device 70 comprises:

[0159] The electronic device may include a processor 71 and a memory 72 storing computer program instructions.

[0160] Specifically, the processor 71 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0161] The memory 72 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 72 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 72 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 72 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 72 is a non-volatile solid-state memory.

[0162] The memory 72 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present application.

[0163] The processor 71 implements any one of the attribute determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 72 .

[0164] In one example, the electronic device may further include a communication interface 73 and a bus 74. Figure 7 As shown, the processor 71, the memory 72, and the communication interface 73 are connected via a bus 74 and communicate with each other.

[0165] The communication interface 73 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0166] Bus 74 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 74 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0167] The electronic device can implement the method in the embodiment of the present application to achieve the combination Figures 3 to 6 Described is a method and device for determining an attribute.

[0168] In addition, in combination with the attribute determination method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the attribute determination methods in the above embodiment is implemented.

[0169] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0170] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0171] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0172] The above reference to the flow chart and / or block diagram of the attribute determination method, device, electronic device and computing storage medium according to the embodiment of the present application describes various aspects of the present application.It should be understood that each square block in the flow chart and / or block diagram and the combination of each square block in the flow chart and / or block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square blocks of the flow chart and / or block diagram.Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square block in the block chart and / or flow chart and the combination of the square blocks in the block chart and / or flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0173] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for determining an attribute, characterized in that: Applied to electronic equipment, the method comprises: When the electronic device starts a first writing tool, obtaining first writing attribute information, wherein the first writing attribute information includes at least one of the writing attribute information of the second writing tool in at least one writing application of the electronic device; When the first writing attribute information is inconsistent with the preset writing attribute information, the writing attribute of the first writing tool is set according to the second writing attribute information; the second writing attribute information is the writing attribute information of the second writing tool of the first writing application, and the first writing application is any one of the at least one writing application; When the first writing attribute information is inconsistent with the preset writing attribute information, setting the writing attribute of the first writing tool according to the second writing attribute information includes: In the case where the first writing attribute information is inconsistent with the preset writing attribute information, determining whether the first writing tool is the same as the second writing tool in the first writing application program; In the case where the first writing tool is the same as the second writing tool, the writing attribute of the first writing tool is set according to the second writing attribute information.

2. The method according to claim 1, characterized in that After obtaining the first writing attribute information, the method further includes: When the first writing attribute information is consistent with the preset writing attribute information, the writing attribute of the first writing tool is set according to the first writing attribute information.

3. The method according to claim 1, characterized in that: After obtaining the first writing attribute information, the method further includes: receiving writing attribute modification information of a second writing tool of the first writing application; The writing attribute information of the second writing tool of other writing applications is modified according to the writing attribute modification information; the other writing applications are writing applications other than the first writing application among the at least one writing application.

4. The method according to claim 1, characterized in that: The writing interface includes historical writing information based on other writing attributes other than the second writing attribute information; After setting the writing attribute of the first writing tool according to the second writing attribute information, the method further includes: clearing the historical writing information.

5. The method according to claim 1, characterized in that The at least one writing application includes a system writing tool program and a non-system writing application. After setting the writing attribute of the first writing tool according to the second writing attribute information, the method further includes: When the first writing tool is a non-system writing tool of a non-system writing application and the electronic device starts a system writing tool of a system writing tool program, the system writing tool is associated with the first writing tool so that the system writing tool writes based on the writing properties of the first writing tool.

6. The method according to claim 1, characterized in that The at least one writing application includes at least one non-system writing application, and after setting the writing attribute of the first writing tool according to the second writing attribute information, the method further includes: When the first writing tool is a non-system writing tool of a non-system writing application and the electronic device starts a writing tool of a second application, associating the writing tool of the second application with the first writing tool so that the writing tool of the second application writes based on the writing properties of the first writing tool; The second application is a non-system writing application among the at least one writing application except the non-system writing application to which the first writing tool belongs.

7. An attribute determination device, characterized in that: The device comprises: an acquisition module, configured to acquire first writing attribute information when the electronic device starts a first writing tool, wherein the first writing attribute information includes at least one of the writing attribute information of a second writing tool in at least one writing application of the electronic device; A first setting module is used to set the writing attribute of the first writing tool according to second writing attribute information when the first writing attribute information is inconsistent with preset writing attribute information; the second writing attribute information is writing attribute information of the second writing tool of the first writing application, and the first writing application is any one of the at least one writing application; The first setting module includes: a determination unit, configured to determine whether the first writing tool is the same as a second writing tool in the first writing application program when the first writing attribute information is inconsistent with preset writing attribute information; The setting unit is configured to set the writing attribute of the first writing tool according to the second writing attribute information when the first writing tool is the same as the second writing tool.

8. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the attribute determination method according to any one of claims 1 to 6 is implemented.

9. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the attribute determination method according to any one of claims 1 to 6 is implemented.