Method for automatically generating Sketch annotation draft based on SMB address

The method of automatically generating Sketch annotation drafts through SMB addresses solves the problem in the existing technology that manual plug-ins are required to export annotation files, realizes a convenient process of generating annotations without installing Sketch software and plug-ins, and simplifies user operations.

CN118567714APending Publication Date: 2024-08-30BEIJING BITE YIPAI INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410740247.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the existing technology, UI designers need to manually install the Sketch plug-in to export annotation files, and lack the function of directly generating Sketch annotation drafts remotely, resulting in a cumbersome process.

Method used

The method of automatically generating Sketch annotation drafts through SMB addresses includes requesting automated service URIs, synchronizing design draft files, starting Sketch and plug-ins, automatically extracting annotation information and saving it to a MySQL database, so that annotations can be generated without installing Sketch software and plug-ins.

Benefits of technology

Users can quickly obtain annotation information without installing Sketch software and plug-ins. The process is simplified. Users only need to provide an SMB address to obtain annotations. Most of the work is transparent to users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567714A
    Figure CN118567714A
Patent Text Reader

Abstract

The invention discloses a method for automatically generating a Sketch annotation manuscript based on an SMB address. The generation method comprises the following steps of requesting an automatic service URI, carrying the SMB address, requesting to carry the SMB address, synchronizing a design manuscript file, commanding to start Sketch, commanding to start a Sketch plug-in, automatically generating annotation, synchronizing annotation data, notifying synchronization completion, automatically requesting annotation data and returning the annotation data. The method has the beneficial effects that the method is suitable for automatic generation of the Sketch annotation draft, the annotation can be automatically generated according to the SMB address for storing the design draft, a request from a browser is received through the Sketch Server, a plug-in in the Sketch software can be automatically started to extract annotation information, the Sketch design draft is stored through the Samba Server, the Sketch design draft on the server can be accessed through the SMB protocol, and the Sketch annotation draft can be automatically generated according to the SMB address for storing the design draft. According to the method and the system, the plug-in is inserted into the MySQL database, the annotation manuscript data transmitted by the plug-in is stored in the MySQL database, and a user can quickly obtain the annotation information by only needing a simple step, namely accessing an automatic service URI (carrying an SMB address).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a generation method, specifically a method for automatically generating a Sketch annotation draft based on an SMB address, and belongs to the technical field of interface design application. Background Art

[0002] Sketch is a popular UI design tool. Annotation is an important part of the design process. It is mainly used to provide developers with detailed design information and guidance. It has functions such as connection annotation, masking, magnifying glass effect, cut-image annotation, size and text description annotation, automatic Sketch marking, export and sharing. Currently, the mainstream UI design software in the industry is Sketch. Before developers develop the interface, UI designers need to manually open the Sketch software to export the annotations, and then give the exported annotations to R&D engineers. UI designers first need to manually install a Sketch plug-in to perform the annotation export function. The most typical plug-ins in the industry are: Blue Lake and Mockplus.

[0003] Before annotation, you need to download and install a Sketch plug-in in advance, and then you can export the design draft into an annotation file. It does not support directly generating annotations by providing a remote Sketch file. Summary of the invention

[0004] The purpose of this application is to provide a method for automatically generating Sketch annotation drafts based on SMB addresses in order to solve the above problems.

[0005] The present application achieves the above-mentioned purpose through the following technical solutions, a method for automatically generating a Sketch annotation draft based on an SMB address, the generation method comprising the following steps: (1) Request the automation service URI, which carries the SMB address; (2) The request carries the SMB address; (3) Synchronize design draft files; (4) Command to start Sketch; (5) Command to start the Sketch plug-in; (6) Automatically generate annotations; (7) Synchronize annotation data; (8) Notification of synchronization completion; (9) Automatically request annotated data; (10) Return the labeled data.

[0006] Furthermore, in step (1), the Sketch design draft is first uploaded to the Samba Server.

[0007] Furthermore, after the request in step (2) is successful, the SMB address of the file is copied.

[0008] Furthermore, in step (3), the Sketch design draft is stored in the Samba Server, and the Sketch design draft on the server is accessed through the SMB protocol.

[0009] Furthermore, in step (4) and step (5), the command to start the Sketch annotation draft and the Sketch plug-in are respectively performed.

[0010] Furthermore, in step (6), when Sketch Server receives the request from the browser, it will automatically start the Fanhe plug-in in the Sketch software installed on the Mac OS to extract the annotation information.

[0011] Furthermore, in step (7), the annotation data transmitted by the lunch box plug-in is saved in the MySQL database.

[0012] Furthermore, in step (8), synchronization completion information is displayed on the display screen page.

[0013] Furthermore, in step (9), the display screen page displays the request information of the annotation data, and the annotation information can be viewed by clicking any element on the page.

[0014] Furthermore, in step (10), the page is returned to end the acquisition of the current annotation data.

[0015] The beneficial effect of the present application is that this type of generation is suitable for the automatic generation of Sketch annotation drafts. When in use, when the R&D personnel have not installed the Sketch software and plug-ins, the annotations can be automatically generated according to the SMB address of the stored design draft. The request from the browser is received through the Sketch Server, and the plug-in in the Sketch software is automatically started to extract the annotation information. The Sketch design draft is stored through the Samba Server, and the Sketch design draft on the server can be accessed through the SMB protocol, and the annotation draft data transmitted by the plug-in is saved in the MySQL database. Most of the work is transparent to the user. The user only needs to take a simple step, that is, access the automation service URI (carrying the SMB address) to quickly obtain the annotation information. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flow chart of the generation method of this application.

[0017] Figure 2 This is the page interaction flow chart of this application. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0020] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0021] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.

[0022] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Example

[0024] See also Figure 1 As shown, a method for automatically generating a Sketch annotation draft based on an SMB address, the planning method includes the following steps: (1) Request the automation service URI, which carries the SMB address; (2) The request carries the SMB address; (3) Synchronize design draft files; (4) Command to start Sketch; (5) Command to start the Sketch plug-in; (6) Automatically generate annotations; (7) Synchronize annotation data; (8) Notification of synchronization completion; (9) Automatically request annotated data; (10) Return the labeled data.

[0025] In this technical solution, in step (1), the Sketch design draft is first uploaded to the Samba Server.

[0026] In the technical solution, the SMB address of the file is copied after the request is successful in step (2).

[0027] In the technical solution, in step (3), the Sketch design draft is stored in the Samba Server, and the Sketch design draft on the server is accessed through the SMB protocol.

[0028] In the technical solution, the commands for starting the Sketch annotation draft and the Sketch plug-in are respectively performed in step (4) and step (5).

[0029] In the technical solution, in step (6), when Sketch Server receives the request from the browser, it will automatically start the Fanhe plug-in in the Sketch software installed on Mac OS to extract the annotation information.

[0030] In the technical solution, in step (7), the annotation draft data transmitted by the lunch box plug-in is saved in the MySQL database.

[0031] In the technical solution, in step (8), synchronization completion information is displayed on the display screen page.

[0032] In the technical solution, in step (9), the display screen page displays the request information of the annotation data, and the annotation information can be viewed by clicking the page prompt element.

[0033] In the technical solution, in step (10), returning to the page ends the acquisition of the current annotation data.

[0034] The above method is applicable to the automatic generation of Sketch annotation drafts. After the annotation draft is generated, click on the page prompt element to view it. Example

[0035] A method for automatically generating a Sketch annotation draft based on an SMB address, the generation method comprising the following steps: (1) Request the automation service URI, which carries the SMB address; (2) The request carries the SMB address; (3) Synchronize design draft files; (4) Command to start Sketch; (5) Command to start the Sketch plug-in; (6) Automatically generate annotations; (7) Synchronize annotation data; (8) Notification of synchronization completion; (9) Automatically request annotated data; (10) Return the labeled data.

[0036] In this technical solution, in step (1), the Sketch design draft is first uploaded to the Samba Server.

[0037] In the technical solution, the SMB address of the file is copied after the request is successful in step (2).

[0038] In the technical solution, in step (3), the Sketch design draft is stored in the Samba Server, and the Sketch design draft on the server is accessed through the SMB protocol.

[0039] In the technical solution, the commands for starting the Sketch annotation draft and the Sketch plug-in are respectively performed in step (4) and step (5).

[0040] In the technical solution, in step (6), when Sketch Server receives the request from the browser, it will automatically start the Fanhe plug-in in the Sketch software installed on Mac OS to extract the annotation information.

[0041] In the technical solution, in step (7), the annotation draft data transmitted by the lunch box plug-in is saved in the MySQL database.

[0042] In the technical solution, in step (8), synchronization completion information is displayed on the display screen page.

[0043] In the technical solution, in step (9), the display screen page displays the request information of the annotation data, and the annotation information can be viewed by clicking any element on the page.

[0044] In the technical solution, in step (10), returning to the page ends the acquisition of the current annotation data.

[0045] The above method is suitable for the automatic generation of Sketch annotation drafts. The generated annotation drafts are more convenient to display and facilitate subsequent generation.

[0046] It is obvious to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be regarded as exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be regarded as limiting the claim to which it relates.

[0047] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A method for automatically generating a Sketch annotation draft based on an SMB address, characterized in that: The generation method comprises the following steps: (1) Request the automation service URI, which carries the SMB address; (2) The request carries the SMB address; (3) Synchronize design draft files; (4) Command to start Sketch; (5) Command to start the Sketch plug-in; (6) Automatically generate annotations; (7) Synchronize annotation data; (8) Notification of synchronization completion; (9) Automatically request annotated data; (10) Return the labeled data.

2. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In the step (1), the Sketch design draft is first uploaded to the Samba Server.

3. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: The SMB address of the file is copied after the request in step (2) is successful.

4. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In the step (3), the Sketch design draft is stored in the Samba Server, and the Sketch design draft on the server is accessed through the SMB protocol.

5. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In the steps (4) and (5), the Sketch annotation draft and the Sketch plug-in are started respectively.

6. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In step (6), when Sketch Server receives the request from the browser, it will automatically start the Fanhe plug-in in the Sketch software installed on the Mac OS to extract the annotation information.

7. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In the step (7), the annotation data transmitted by the lunch box plug-in is saved in the MySQL database.

8. The method for automatically generating Sketch annotations based on SMB addresses according to claim 1, characterized in that: In the step (8), synchronization completion information is displayed on the display screen page.

9. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In step (9), the display screen page displays the request information of the annotation data, and the annotation information can be viewed by clicking any element on the page.

10. The method for automatically generating a Sketch annotation draft based on an SMB address according to claim 1, characterized in that: In step (10), the page is returned to end the acquisition of the current annotation data.