WO2020210977A1 - Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium - Google Patents

Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium Download PDF

Info

Publication number
WO2020210977A1
WO2020210977A1 PCT/CN2019/082851 CN2019082851W WO2020210977A1 WO 2020210977 A1 WO2020210977 A1 WO 2020210977A1 CN 2019082851 W CN2019082851 W CN 2019082851W WO 2020210977 A1 WO2020210977 A1 WO 2020210977A1
Authority
WO
WIPO (PCT)
Prior art keywords
track
trajectory
sub
electronic device
subject
Prior art date
Application number
PCT/CN2019/082851
Other languages
French (fr)
Chinese (zh)
Inventor
张政
李友
牛佳明
Original Assignee
深圳市柔宇科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201980079798.4A priority Critical patent/CN113383302A/en
Priority to PCT/CN2019/082851 priority patent/WO2020210977A1/en
Publication of WO2020210977A1 publication Critical patent/WO2020210977A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the present invention relates to the field of electronic technology, and in particular to a method, electronic equipment, and storage medium for locally selecting a trajectory and trajectory disassembling.
  • the main purpose of the present invention is to provide a method, electronic equipment, and storage medium for local selection and trajectory disassembly with more flexible operation.
  • the present invention provides a method for locally selecting a trajectory, which is applied to an electronic device that includes a touch display component.
  • the method includes: displaying a trajectory on the touch display component, the trajectory including one or more Sub-trajectories; detect whether there is a touch operation on the touch display component displaying the trajectory; when there is the touch operation, obtain the coordinate information corresponding to the touch operation; and select the one corresponding to the coordinate information Sub-track.
  • the present invention also provides a method for disassembling and disassembling a track, which is applied to an electronic device including a touch display assembly.
  • the method includes: displaying a track in the touch display assembly; In the case of an instruction to display or merge the display of the track, split or display the track, the subject identifier is used to mark the subject generating the track point; the split display includes: splitting the track according to the subject identifier The track is split into one or more sub-tracks, the track points of the same sub-track have the same subject identifier, and the track points on different sub-tracks have different subject identifiers; and the split sub-tracks are sent to the corresponding The main body is displayed; the combined display includes: obtaining an external trajectory sent by another electronic device; and combining and displaying the external trajectory and the trajectory displayed by the electronic device.
  • the invention also provides an electronic device.
  • the electronic device includes a processor and a memory, the memory stores a computer-executable program, and the processor executes the program to implement the above-mentioned method for locally selecting a trajectory or a method for trajectory unpacking.
  • the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer-executable program, and the program is executed to implement the above-mentioned method of locally selecting a trajectory or a method of trajectory disassembling.
  • the method for locally selecting the trajectory provided by the present invention can select the sub-trajectory selection in the trajectory through a touch operation, and the operation is more flexible.
  • the trajectory splitting and combining method provided by the present invention can split or merge according to the main body identification of the trajectory, so that the splitting and merging of the trajectory is more flexible and faster.
  • FIG. 1 is a schematic diagram of the operating environment of the method for locally selecting a trajectory provided by the first embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for locally selecting a trajectory provided by the first embodiment of the present invention.
  • Fig. 3 is a schematic diagram of a trajectory provided by the first embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of the first embodiment of step S2072 in FIG. 2.
  • Fig. 5 is a schematic diagram of a trajectory provided by the second embodiment of the present invention.
  • 6-7 are schematic diagrams of trajectories before and after splitting the selected trajectory provided by the first embodiment of the present invention.
  • 8-9 are schematic diagrams of trajectories for merging selected trajectories provided by the first embodiment of the present invention.
  • FIG. 10 is a flowchart of a method for trajectory disassembly and reassembly provided by the first embodiment of the present invention.
  • Fig. 11 is a schematic diagram of the operating environment of a method for trajectory disassembly and reassembly of the present invention.
  • Fig. 12 is a schematic diagram of a trajectory before and after trajectory splitting provided by the first embodiment of the present invention.
  • FIG. 13 is a schematic diagram of trajectories before and after trajectory merging provided by the first embodiment of the present invention.
  • FIG. 14 is a schematic structural block diagram of an electronic device provided by the first embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an operating environment of a method for locally selecting a trajectory provided by the first embodiment.
  • the electronic device 1 can be an electronic paper, an electronic book, a car display, a tablet computer, a smart phone, a smart watch, a smart bracelet, and the like.
  • Exemplary embodiments of electronic devices include, but are not limited to, electronic devices equipped with other operating systems of iOS@Android@Windows Phone@ ⁇ .
  • Electronic devices usually support multiple applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, game applications , Phone applications, video conferencing applications, email applications, instant messaging applications, exercise support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music players Applications, and/or digital video player applications.
  • the electronic device 1 includes a touch display assembly 10.
  • FIG. 2 is a schematic flowchart of a method for locally selecting a trajectory provided by the first embodiment.
  • the method of locally selecting a trajectory is executed by an electronic device, and the method includes the following steps.
  • Step S201 displaying a track on the touch display component, the track including one or more sub-tracks.
  • the electronic device 1 displays a trajectory S, and the trajectory S includes S1 to S4.
  • the trajectory S may be a trajectory generated by the electronic device 1.
  • the trajectory S may also be a trajectory formed after processing the received external trajectory.
  • the external track can be a picture containing the track or a collection of track points.
  • the trajectory S is the trajectory generated by the electronic device 1, the trajectory S is a collection of continuous trajectory points.
  • the electronic device 1 can follow The continuous track points generated by the sliding of the external object are detected and recorded and displayed to form a track S.
  • the electronic device 1 may divide the trajectory in the image according to a preset rule and obtain corresponding trajectory points to form the trajectory S.
  • the preset rule may be based on the trajectory in the image.
  • the feature can be divided according to the location of the trajectory in the image; when the external trajectory sent by the receiving external device is a collection of data points, the trajectory S can be formed by analyzing the collection of trajectory points.
  • Step S203 Detect whether there is a touch operation on the touch display component displaying the track. Specifically, after displaying the trajectory, the electronic device 1 detects whether an external object operates the touch display component, so as to detect whether the user operates the trajectory. For example, the user can click or long-press the track to be selected.
  • Step S205 when there is a touch operation, obtain coordinate information corresponding to the touch operation. Specifically, when a touch operation is detected, the electronic device 1 obtains coordinate information of the touch operation, so as to further identify whether the touch operation is an operation of the user on the track.
  • Step S207 Select a sub-track corresponding to the coordinate information. Specifically, when the touch operation operates on the track, the coordinate information corresponds to the track point on the track, and the electronic device 1 can find the corresponding sub-track according to the coordinate information. Specifically, step S207 further includes: step S2070, acquiring the track point corresponding to the coordinate information; step S2072, determining the sub-track according to the acquired sub-track identifier of the track point.
  • the foregoing method can select the corresponding sub-track according to the user's touch operation on the track, which is more flexible.
  • the above method can not only select local trajectories, but also select external trajectories, which has better compatibility.
  • step S2072 further includes the following steps.
  • Step S401 Find the track point closest to the touch point from all track points of the track according to the coordinate information of the touch point. Specifically, the electronic device 1 calculates the corresponding distance according to the coordinate information and the coordinates of each track point in the track S, and then obtains the track point corresponding to the minimum distance from the track S.
  • Step S403 detecting the number of track points found. Specifically, there may be two or more track points with the same distance as the touch point in the track S, and the distance between the track points is the smallest compared to other track points, and if these track points belong to different sub-tracks, they cannot Identify which sub-track is selected. Therefore, when the number of track points found is one, step S405 is executed, and when the number of track points found is greater than 1, step 409 is executed. Specifically, when the number of track points obtained is 1, it indicates that the touch operation is valid this time, and step S405 is executed. Otherwise, it means that this touch operation is invalid, and step S409 is executed.
  • Step S405 Obtain the sub-track identifier of the found track point.
  • the trajectory S includes SS 1 to SS 4 , and the trajectory identifiers of SS 1 to SS 4 are 0 to 3, respectively.
  • Each sub-track of each sub-track is represented by a corresponding track identifier. Specifically, when the track point found is A, the identifier 0 of A is obtained.
  • Step S407 Select a corresponding sub-track according to the acquired sub-track identifier. Specifically, when the electronic device 1 obtains the trajectory 0, the sub-trajectory SS 1 with the sub-trajectory identification 0 can be successfully selected. Preferably, the selected sub-track SS 1, SS 1 sub tracks may be highlighted for other tips or tips.
  • Step S409 outputting a selection failure prompt to prompt the user to select again.
  • the electronic device 1 may vibrate or display corresponding information to prompt the user to inform the user that the operation is invalid, so as to perform the next operation.
  • the foregoing method may select the corresponding sub-track by the track point closest to the touch point.
  • each sub-track is set with a corresponding sub-track identification, which can quickly and completely select the required sub-track.
  • the above method outputs corresponding prompt information when the touch operation is invalid or effective, making the human-computer interaction more friendly.
  • the track point of each sub-track includes a position identifier for indicating the track point in the sub-track.
  • the position identifier is used to identify the track point as a starting point, an intermediate point, or an end point.
  • the sub-tracks can be sorted according to the position identification. After the corresponding track point is obtained, the sub-track to which it belongs can be selected according to the location identifier of the track point. For example, if the track point is an intermediate point, you can find the starting point and the ending point in the forward and backward directions to obtain the sub-track to which the track point belongs. In the same way, if the track point is the starting point, the end point is searched backward, and the sub-track to which the track point belongs can be found. If the track point is the end point, search forward to the starting point, you can find the sub-track to which the track point belongs.
  • the operation is the disassembling operation as an example.
  • the disassembly and assembly operations include splitting and merging the tracks.
  • the method further includes: receiving and executing an instruction for instructing the trajectory to be split or combined for display according to the subject identifier.
  • the subject identifier is used to mark the subject generating the track point. Track points with the same stroke identifier all have the same subject identifier.
  • the selected sub-track can be split and displayed from the track, or the selected track can be merged and displayed again.
  • the trajectory S includes sub-trajectories SS 1 to SS 4 .
  • the sub-track SS subject identification of NS 1 ⁇ SS 4 are all 0, SS represents a sub-track 1 ⁇ SS 4 generated by the same body.
  • the sub-track identifiers of trajectories SS 1 to SS 4 are respectively identified according to sequence numbers. As shown in Fig.
  • the electronic device 1 can split the sub-trajectory SS 1 and the sub-trajectory SS 3 from the trajectory S, and separate SS 1
  • the and SS 3 touch display component 10 is displayed in the area A
  • the track SS 2 and the track SS 4 are displayed in the area B, and then the sub-tracks SS 1 to SS 4 are re-marked with new serial numbers.
  • the selected trajectory can be split and displayed, and the split sub-trajectory identification can also be updated, so that the split sub-trajectory is indistinguishable from the normally drawn sub-trajectory.
  • the split operation can be generated by selecting an icon in the touch display component 10, or it can be generated by directly operating in the touch display component according to a preset operation.
  • the subject identifiers NS of the sub-trajectories SS 1 and SS 2 are different from the subject identifiers NS of the sub-trajectories SS 3 and SS 4 , and the subject identifiers NS of the sub-trajectories SS 1 and SS 2 are the same and the sub-trajectories SS 3 and SS
  • the subject identification NS of 4 is the same, which means that the subjects that generate the trajectories SS 1 and SS 2 are different from the subjects that generate the trajectories SS 3 and SS 4 .
  • the trajectories SS 1 and SS 2 can be sent to a corresponding device (not shown) for display, and SS 3 and SS 4 can be sent to another corresponding device (not shown) for display.
  • FIG. 8 and FIG. 9, show schematic diagrams of the process of combined display of trajectories.
  • the subject identification NS of the trajectory C is the same as the NS of the trajectory D, which means that the subject generating the trajectory C and the subject of the trajectory D are the same, such as the electronic device 1.
  • the electronic device 1 can merge the track C and the track D into one to form a track CD.
  • the merging of the trajectory C and the trajectory D can update the sub-trajectory identifiers in the trajectory C and the trajectory D, so that the merged sub-trajectory is indistinguishable from the normally drawn sub-track identifier.
  • the subject identifier NS of the track C is different from the subject identifier of the track D
  • the subject identifier NS in the merged track remains unchanged.
  • FIG. 10 is a method for disassembling and combining tracks according to the first embodiment of the present invention.
  • the user can directly input split and merge instructions to split or merge the tracks without selecting sub-tracks.
  • the edited trajectory can be returned to the electronic device of each user accordingly.
  • the trajectory includes the main body used to identify the generating trajectory point.
  • the method for disassembling and combining tracks is applied to the electronic device 1', and specifically includes the following steps.
  • step S1001 the track is displayed in the touch display component.
  • the electronic device 1' displays a track on the touch display assembly 10'.
  • the electronic device 1' can communicate with multiple external electronic devices.
  • three electronic devices E, F, and D are taken as an example for description.
  • step S1002 in the case of detecting an instruction for splitting or combining the display of the trajectory according to the subject identification, the trajectory is split or combined for display, and the subject identification is used to mark the subject generating the trajectory point.
  • step S1002 includes steps S1002a and S1002b, wherein step S1002a is a split display step, and step S1002b is a combined display step.
  • step S1002a specifically includes the following steps:
  • Step S10021 Split the trajectory into one or more trajectories according to the subject identification splitting, the track points of the same sub-track have the same subject identification, and the track points on different sub-tracks have different subject identifications.
  • the track R is displayed in the touch display assembly 10'.
  • the trajectory R includes sub-trajectories R 1 to R 7 .
  • the subject identifiers NS of the sub-trajectories R 1 to R 4 are the same, and they are all 0.
  • the sub-trajectories R 5 to R 6 have the same subject identifier, and they are all 1.
  • the subject identifier NS of the sub-trajectory R 7 is 2, which means that the sub-trajectories R 1 ⁇ R 4 , R 5 ⁇ R 6, and R 7 are respectively generated by different devices.
  • the sub-trajectories R 1 to R 4 are generated by the E device
  • the sub-trajectories R 5 to R 6 are generated by the F device
  • the sub-track R 7 is generated by the G device.
  • the trajectory R can be divided into three trajectories r 1 ⁇ r 3 according to the main body identification, r 1 includes sub trajectories R 1 ⁇ R 4 , r 2 includes sub trajectories R 5 ⁇ R 6 , and r 3 includes Sub-trajectory R 7 .
  • the split trajectories are respectively sent to the corresponding subjects for display. Understandably, the three tracks r 1 to r 3 are displayed in the E, F, and G devices respectively. In some feasible embodiments, the split trajectories r 1 ⁇ r 3 can also be displayed in different areas of the touch display assembly 10 ′ at the same time.
  • step S1002a specifically includes the following steps:
  • Step S10020 Obtain an external track sent by another electronic device. Specifically, when the user of another electronic device wants to share the content drawn by himself with everyone, he can send it to the electronic device 1'.
  • step S10022 the external track and the track displayed by the electronic device are combined and displayed.
  • the electronic device 1' receives the external track
  • the external track and the track displayed in the electronic device 1' can be combined and displayed.
  • the subject identification of the external track is different from the subject identification of the display track in the touch display assembly.
  • the electronic device 1' displays the trajectory r 1 on the touch display assembly 10', and receives the trajectories r 2 and r 3 , the trajectories r 1 to r 3 are combined, and the combined trajectory
  • the sub-track identification of is updated, so that the merged sub-track is the same as the normally drawn sub-track identification.
  • the method for splitting and merging the trajectory further includes the steps of: selecting the sub-track to be split on the trajectory displayed in the touch component; The split display instructions.
  • the method for detaching and disassembling the track further includes the step of detecting whether the external track has a subject identification; if the external track does not have a subject identification, add the external track The subject identification, which is different from the subject identification of the track displayed in the touch display assembly 10'.
  • the above-mentioned method for detaching and combining trajectories can detach and combine trajectories according to the main body identification, and can realize merging and splitting of trajectories from different electronic devices for rapid splitting and merging.
  • FIG. 14 is a schematic diagram of the internal structure of the electronic device 1 provided in the first embodiment.
  • the electronic device 1 includes a memory 11, a processor 12 and a bus 13.
  • the memory 11 includes at least one type of readable storage medium, the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc.
  • the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a hard disk of the electronic device 1.
  • the memory 11 may also be an external storage device of the electronic device 1, for example, a plug-in hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), and a Secure Digital (SD). Card, Flash Card, etc.
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as the code of the program 01, etc., but also to temporarily store data that has been output or will be output.
  • the bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • the electronic device 1 may also include a touch display assembly 10.
  • the touch display assembly 10 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display component may also be appropriately called a display device or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
  • the electronic device 1 may also include a communication component 14.
  • the communication component 14 may optionally include a wired communication component and/or a wireless communication component (such as a WI-FI communication component, a Bluetooth communication component, etc.), which is usually used in an electronic device 1 Establish a communication connection with other electronic devices.
  • a wireless communication component such as a WI-FI communication component, a Bluetooth communication component, etc.
  • the electronic device 1 may further include a motion sensor 15, and the motion sensor 15 may optionally include an acceleration sensor, a gravity sensor, etc., for sensing the motion of the electronic device 1.
  • the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 data. Specifically, the processor 12 executes the program 01 to implement the above-mentioned method of locally selecting a trajectory or a method of disassembling and combining trajectories.
  • CPU central processing unit
  • controller microcontroller
  • microprocessor or other data processing chip in some embodiments
  • FIG. 13 only shows the electronic device 1 with the components 10-15 and the first computer executable program 01. Those skilled in the art can understand that the structure shown in FIG. 13 does not constitute a limitation on the electronic device 1. Including fewer or more components than shown, or combining certain components, or different component arrangements.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instruction can be transmitted from a website, computer, server, or data center through a cable (Such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • a cable such as coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the unit is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed is a local trajectory selection method. The method comprises: displaying a trajectory on a touch display component, wherein the trajectory comprises one sub-trajectory or a plurality of sub-trajectories; detecting whether the touch display component displaying the trajectory is subjected to a touch operation; when the touch operation exists, acquiring coordinate information corresponding to the touch operation; and selecting a sub-trajectory corresponding to the coordinate information. Further disclosed are a trajectory splitting and merging method, an electronic device and a storage medium. The local trajectory selection method provided in the present invention can select the sub-trajectory from the trajectory by means of the touch operation, and the operation is more flexible. The trajectory splitting and merging method provided in the present invention can perform splitting or merging according to a main body identifier of the trajectory, such that the splitting and the merging of the trajectory are more flexible and faster.

Description

局部选取轨迹和轨迹拆合的方法、电子设备、存储介质Method, electronic equipment, storage medium for local selection of trajectory and trajectory disassembly 技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种局部选取轨迹和轨迹拆合的方法、电子设备、存储介质。The present invention relates to the field of electronic technology, and in particular to a method, electronic equipment, and storage medium for locally selecting a trajectory and trajectory disassembling.
背景技术Background technique
随着电子技术发展和人们对记录信息的便利性要求的提高,智能手写笔记应运而生,如,柔记。现有的智能手写笔记。用户在智能手写本上绘制图像或写字时,如果某一笔或者几笔需要重新编辑(包括修改、删除、拆分至其他界面)时,需要对轨迹进行拆分。而现有技术通常将绘制的轨迹进行视频回放,然后通过点击暂停按钮,将轨迹划分为暂停前的子轨迹和暂停后的子轨迹,从而完成轨迹的划分。这种划分方法的问题很难截取到完整的笔划,并且无法截取到两个非连续绘制的笔划。With the development of electronic technology and the improvement of people's requirements for the convenience of recording information, smart handwritten notes have emerged, such as Rouji. Existing smart handwritten notes. When the user draws an image or writes on the smart handwritten notebook, if a stroke or strokes need to be re-edited (including modification, deletion, and splitting to other interfaces), the track needs to be split. In the prior art, the drawn trajectory is usually played back in video, and then the trajectory is divided into the sub-track before the pause and the sub-track after the pause by clicking the pause button, thereby completing the division of the trajectory. The problem with this division method is difficult to intercept a complete stroke, and it is impossible to intercept two non-continuously drawn strokes.
发明内容Summary of the invention
本发明的主要目的在于提供一种操作更加灵活的局部选取轨迹和轨迹拆合的方法、电子设备、存储介质。The main purpose of the present invention is to provide a method, electronic equipment, and storage medium for local selection and trajectory disassembly with more flexible operation.
为实现上述目的,本发明提供了一种局部选取轨迹的方法,应用于包括触控显示组件的电子设备,所述方法包括:显示轨迹于所述触控显示组件,所述轨迹包括一个或多个子轨迹;检测显示有所述轨迹的触控显示组件是否存在触控操作;当存在所述触控操作时,获取所述触控操作所对应的坐标信息;以及选取与所述坐标信息对应的子轨迹。In order to achieve the above objective, the present invention provides a method for locally selecting a trajectory, which is applied to an electronic device that includes a touch display component. The method includes: displaying a trajectory on the touch display component, the trajectory including one or more Sub-trajectories; detect whether there is a touch operation on the touch display component displaying the trajectory; when there is the touch operation, obtain the coordinate information corresponding to the touch operation; and select the one corresponding to the coordinate information Sub-track.
本发明还提供了一种轨迹拆合的方法,应用于包括触控显示组件的电子设备,所述方法包括:在所述触控显示组件中显示轨迹;检测到用于指示根据主体标识拆分显示或合并显示轨迹的指令情况下,将所述轨迹拆分显示或合并显 示,所述主体标识用于标记生成轨迹点的主体;所述拆分显示包括:根据所述主体标识拆分将所述轨迹拆分成一条或者多条子轨迹,同一条子轨迹的轨迹点具有相同的主体标识,不同的子轨迹上的轨迹点具有不同的主体标识;以及将拆分后的子轨迹分别发送至相应的主体以进行显示;所述合并显示包括:获取另一电子设备发送的外部轨迹;以及将所述外部轨迹和所述电子设备显示的轨迹进行合并显示。The present invention also provides a method for disassembling and disassembling a track, which is applied to an electronic device including a touch display assembly. The method includes: displaying a track in the touch display assembly; In the case of an instruction to display or merge the display of the track, split or display the track, the subject identifier is used to mark the subject generating the track point; the split display includes: splitting the track according to the subject identifier The track is split into one or more sub-tracks, the track points of the same sub-track have the same subject identifier, and the track points on different sub-tracks have different subject identifiers; and the split sub-tracks are sent to the corresponding The main body is displayed; the combined display includes: obtaining an external trajectory sent by another electronic device; and combining and displaying the external trajectory and the trajectory displayed by the electronic device.
本发明还提供了一种电子设备。该电子设备包括处理器和存储器,所述存储器存储有计算机可执行程序,所述处理器执行所述程序实现上述局部选取轨迹的方法或者轨迹拆合的方法。The invention also provides an electronic device. The electronic device includes a processor and a memory, the memory stores a computer-executable program, and the processor executes the program to implement the above-mentioned method for locally selecting a trajectory or a method for trajectory unpacking.
本发明提供的一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行程序,所述程序被执行以实现上述局部选取轨迹的方法或者轨迹拆合的方法。The present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer-executable program, and the program is executed to implement the above-mentioned method of locally selecting a trajectory or a method of trajectory disassembling.
本发明提供的局部选取轨迹的方法,可以通过触摸操作选择轨迹中的子轨迹选择,操作更加灵活。本发明提供的轨迹拆合的方法可以根据轨迹的主体标识进行拆分或者合并,使得轨迹的拆分和合并更加灵活和快捷。The method for locally selecting the trajectory provided by the present invention can select the sub-trajectory selection in the trajectory through a touch operation, and the operation is more flexible. The trajectory splitting and combining method provided by the present invention can split or merge according to the main body identification of the trajectory, so that the splitting and merging of the trajectory is more flexible and faster.
附图说明Description of the drawings
图1为本发明第一实施例提供的局部选取轨迹的方法的运行环境示意图。FIG. 1 is a schematic diagram of the operating environment of the method for locally selecting a trajectory provided by the first embodiment of the present invention.
图2为本发明第一实施例提供的局部选取轨迹的方法的流程示意图。FIG. 2 is a schematic flowchart of a method for locally selecting a trajectory provided by the first embodiment of the present invention.
图3为本发明第一实施例提供的轨迹示意图。Fig. 3 is a schematic diagram of a trajectory provided by the first embodiment of the present invention.
图4为图2中的步骤S2072的第一实施例子流程示意图。FIG. 4 is a schematic flowchart of the first embodiment of step S2072 in FIG. 2.
图5为本发明第二实施例提供的轨迹示意图。Fig. 5 is a schematic diagram of a trajectory provided by the second embodiment of the present invention.
图6-7为本发明第一实施例提供的对选取的轨迹拆分前后的轨迹示意图。6-7 are schematic diagrams of trajectories before and after splitting the selected trajectory provided by the first embodiment of the present invention.
图8-9为本发明第一实施例提供的对选取的轨迹进行合并的轨迹示意图。8-9 are schematic diagrams of trajectories for merging selected trajectories provided by the first embodiment of the present invention.
图10为本发明第一实施例提供的轨迹拆合的方法的流程意图。FIG. 10 is a flowchart of a method for trajectory disassembly and reassembly provided by the first embodiment of the present invention.
图11为本发明一种轨迹拆合的方法的运行环境示意图。Fig. 11 is a schematic diagram of the operating environment of a method for trajectory disassembly and reassembly of the present invention.
图12为本发明第一实施例提供的轨迹拆分前后的轨迹示意图。Fig. 12 is a schematic diagram of a trajectory before and after trajectory splitting provided by the first embodiment of the present invention.
图13为本发明第一实施例提供的轨迹合并前后的轨迹示意图。FIG. 13 is a schematic diagram of trajectories before and after trajectory merging provided by the first embodiment of the present invention.
图14为本发明第一实施例提供的一种电子设备的结构框图示意图。FIG. 14 is a schematic structural block diagram of an electronic device provided by the first embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请参看图1,图1为第一实施方式提供的一种局部选取轨迹的方法的运行环境示意图。电子设备1可以为电子纸、电子书、车载显示屏、平板电脑、智能手机、智能手表、智能手环等。电子设备的示例性实施例包括但不限于搭载iOS@Android@Windows Phone@者其它操作系统的电子设备。电子设备通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。电子设备1包括触控显示组件10。Please refer to FIG. 1, which is a schematic diagram of an operating environment of a method for locally selecting a trajectory provided by the first embodiment. The electronic device 1 can be an electronic paper, an electronic book, a car display, a tablet computer, a smart phone, a smart watch, a smart bracelet, and the like. Exemplary embodiments of electronic devices include, but are not limited to, electronic devices equipped with other operating systems of iOS@Android@Windows Phone@者. Electronic devices usually support multiple applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, game applications , Phone applications, video conferencing applications, email applications, instant messaging applications, exercise support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music players Applications, and/or digital video player applications. The electronic device 1 includes a touch display assembly 10.
请参看图2,图2为第一实施方式提供的一种局部选取轨迹的方法的流程示意图。局部选取轨迹的方法由电子设备执行,该方法包括下面步骤。Please refer to FIG. 2, which is a schematic flowchart of a method for locally selecting a trajectory provided by the first embodiment. The method of locally selecting a trajectory is executed by an electronic device, and the method includes the following steps.
步骤S201,显示轨迹于触控显示组件,该轨迹包括一个或多个子轨迹。如图3所示,电子设备1显示轨迹S,该轨迹S包括S1~S4。其中,轨迹S可以为电子设备1生成的轨迹。轨迹S也可以为对接收到的外部轨迹进行处理后所形成的轨迹。其中,外部轨迹可以是包含轨迹的图片也可以是轨迹点集合。当轨迹S为电子设备1生成的轨迹时,轨迹S为连续轨迹点集合,例如,外部触控对象(如触控笔、手指等)在触控显示组件10中滑动时,电子设备1可以根据检测外部对象滑动所产生的连续轨迹点进行记录和显示,形成轨迹S。当接收外部设备发送的外部轨迹为图像时,电子设备1可以是根据预设规则对图像中的轨迹进行划分并获取相应的轨迹点以形成轨迹S,该预设规则可以时根据图像中轨迹的特征进行划分,也可以时根据图像中轨迹所在位置划分;当接收外部设备发送的外部轨迹为数据点集合时,可以对轨迹点集合进行分析形成轨迹S。Step S201, displaying a track on the touch display component, the track including one or more sub-tracks. As shown in FIG. 3, the electronic device 1 displays a trajectory S, and the trajectory S includes S1 to S4. Wherein, the trajectory S may be a trajectory generated by the electronic device 1. The trajectory S may also be a trajectory formed after processing the received external trajectory. Among them, the external track can be a picture containing the track or a collection of track points. When the trajectory S is the trajectory generated by the electronic device 1, the trajectory S is a collection of continuous trajectory points. For example, when an external touch object (such as a stylus, a finger, etc.) slides in the touch display assembly 10, the electronic device 1 can follow The continuous track points generated by the sliding of the external object are detected and recorded and displayed to form a track S. When the external trajectory sent by the receiving external device is an image, the electronic device 1 may divide the trajectory in the image according to a preset rule and obtain corresponding trajectory points to form the trajectory S. The preset rule may be based on the trajectory in the image. The feature can be divided according to the location of the trajectory in the image; when the external trajectory sent by the receiving external device is a collection of data points, the trajectory S can be formed by analyzing the collection of trajectory points.
步骤S203,检测显示有轨迹的触控显示组件是否存在触控操作。具体地,电子设备1在显示轨迹后检测是否有外部对象对触控显示组件操作,从而检测用户是否对轨迹进行操作。例如,用户可以点击或者长按所要选择的轨迹。Step S203: Detect whether there is a touch operation on the touch display component displaying the track. Specifically, after displaying the trajectory, the electronic device 1 detects whether an external object operates the touch display component, so as to detect whether the user operates the trajectory. For example, the user can click or long-press the track to be selected.
步骤S205,当存在触控操作时,获取触控操作所对应的坐标信息。具体地,当检测到触控操作时,电子设备1获取触控操作的坐标信息,从而进一步识别该触控操作是否是用户对轨迹的操作。Step S205, when there is a touch operation, obtain coordinate information corresponding to the touch operation. Specifically, when a touch operation is detected, the electronic device 1 obtains coordinate information of the touch operation, so as to further identify whether the touch operation is an operation of the user on the track.
步骤S207,选取与坐标信息对应的子轨迹。具体地,当触摸操作对轨迹操作时,坐标信息与轨迹上的轨迹点相应,电子设备1可以根据坐标信息找到相应的子轨迹。具体地,步骤S207进一步包括:步骤S2070,获取所述坐标信息所对应的轨迹点;步骤S2072,根据所获取的轨迹点的子轨迹标识确定子轨迹。Step S207: Select a sub-track corresponding to the coordinate information. Specifically, when the touch operation operates on the track, the coordinate information corresponds to the track point on the track, and the electronic device 1 can find the corresponding sub-track according to the coordinate information. Specifically, step S207 further includes: step S2070, acquiring the track point corresponding to the coordinate information; step S2072, determining the sub-track according to the acquired sub-track identifier of the track point.
上述实施例中,上述方法可以根据用户对轨迹的触控操作,选择对应的子轨迹,更加灵活。另外,上述方法不仅可以对本地轨迹进行选取,还可以对外 部轨迹进行选取,兼容性更佳。In the foregoing embodiment, the foregoing method can select the corresponding sub-track according to the user's touch operation on the track, which is more flexible. In addition, the above method can not only select local trajectories, but also select external trajectories, which has better compatibility.
在一些可行的实施例中,子轨迹包括轨迹点的集合,且每个轨迹点包括用于标记所属子轨迹的子轨迹标识。请参看图4,步骤S2072进一步包括下面步骤。In some feasible embodiments, the sub-track includes a set of track points, and each track point includes a sub-track identifier for marking the sub-track to which it belongs. Referring to FIG. 4, step S2072 further includes the following steps.
步骤S401,根据触摸点坐标信息从轨迹的所有轨迹点查找出与触摸点距离最近的轨迹点。具体地,电子设备1根据坐标信息和轨迹S中的每一轨迹点的坐标计算出相应的距离,然后从轨迹S中获取最小距离所对应的轨迹点。Step S401: Find the track point closest to the touch point from all track points of the track according to the coordinate information of the touch point. Specifically, the electronic device 1 calculates the corresponding distance according to the coordinate information and the coordinates of each track point in the track S, and then obtains the track point corresponding to the minimum distance from the track S.
步骤S403,检测查找到的轨迹点数量。具体地,轨迹S中可以存在与触摸点距离一样的两个或者两个以上的轨迹点且该轨迹点距离又相较于其他轨迹点最小,如果该等轨迹点属于不同的子轨迹,则无法识别出选择的是哪条子轨迹。因此,当查找到的轨迹点的数量为一个,执行步骤S405,当查找到的轨迹点的数量大于1,执行步骤409。具体地,当获取到的轨迹点数量为1,则表示此次的触控操作有效,执行步骤S405。反之,则表示此次触控操作无效,执行步骤S409。Step S403, detecting the number of track points found. Specifically, there may be two or more track points with the same distance as the touch point in the track S, and the distance between the track points is the smallest compared to other track points, and if these track points belong to different sub-tracks, they cannot Identify which sub-track is selected. Therefore, when the number of track points found is one, step S405 is executed, and when the number of track points found is greater than 1, step 409 is executed. Specifically, when the number of track points obtained is 1, it indicates that the touch operation is valid this time, and step S405 is executed. Otherwise, it means that this touch operation is invalid, and step S409 is executed.
步骤S405,获取查找到的轨迹点的子轨迹标识。如图5所示,轨迹S包括SS 1~SS 4,SS 1~SS 4的轨迹标识分别为0~3。每条子轨迹的每个子轨迹都用对应的轨迹标识来表示。具体地,当查找到的轨迹点为A,则获得A的标识0。 Step S405: Obtain the sub-track identifier of the found track point. As shown in FIG. 5, the trajectory S includes SS 1 to SS 4 , and the trajectory identifiers of SS 1 to SS 4 are 0 to 3, respectively. Each sub-track of each sub-track is represented by a corresponding track identifier. Specifically, when the track point found is A, the identifier 0 of A is obtained.
步骤S407,根据获取的子轨迹标识选择出相应的子轨迹。具体地,当电子设备1获取到轨迹0,则可以成功选取出子轨迹标识为0的子轨迹SS 1。优选地,选中子轨迹SS 1后,可以将子轨迹SS 1高亮提示或者进行其他提示等。 Step S407: Select a corresponding sub-track according to the acquired sub-track identifier. Specifically, when the electronic device 1 obtains the trajectory 0, the sub-trajectory SS 1 with the sub-trajectory identification 0 can be successfully selected. Preferably, the selected sub-track SS 1, SS 1 sub tracks may be highlighted for other tips or tips.
步骤S409,输出选择失败提示以提示用户重新选择。具体地,当触摸操作为无效操作,电子设备1可以振动或者显示出相应信息等进行提示,以告知用户操作无效,从而进行下一步操作。Step S409, outputting a selection failure prompt to prompt the user to select again. Specifically, when the touch operation is an invalid operation, the electronic device 1 may vibrate or display corresponding information to prompt the user to inform the user that the operation is invalid, so as to perform the next operation.
上述实施例中,上述方法可以距离触摸点最近的轨迹点来选择对应的子轨迹。另外,每个子轨迹都设置了相应的子轨迹标识,可以快捷完整地选取到所 需操作的子轨迹。另外,上述方法在触摸操作无效或者有效时,输出相应的提示信息,使得人机交互更加友好。In the foregoing embodiment, the foregoing method may select the corresponding sub-track by the track point closest to the touch point. In addition, each sub-track is set with a corresponding sub-track identification, which can quickly and completely select the required sub-track. In addition, the above method outputs corresponding prompt information when the touch operation is invalid or effective, making the human-computer interaction more friendly.
在一些可行的实施例中,每条子轨迹的轨迹点包括用于表示该轨迹点在该子轨迹的位置标识,例如,位置标识用于标识该轨迹点为起始点,中间点,或者终止点。子轨迹可以根据位置标识来排序。在获得相应的轨迹点后,可以根据该轨迹点的位置标识选择出所属的子轨迹。例如,如果轨迹点为中间点,分别可以向前后方向查找到起始点和终止点即可获得该轨迹点所属子轨迹。同理,如果轨迹点为起始点,向后查找到终止点,即可找到该轨迹点所属的子轨迹。如果轨迹点为终止点,向前查找到起始点,即可找到该轨迹点所属的子轨迹。In some feasible embodiments, the track point of each sub-track includes a position identifier for indicating the track point in the sub-track. For example, the position identifier is used to identify the track point as a starting point, an intermediate point, or an end point. The sub-tracks can be sorted according to the position identification. After the corresponding track point is obtained, the sub-track to which it belongs can be selected according to the location identifier of the track point. For example, if the track point is an intermediate point, you can find the starting point and the ending point in the forward and backward directions to obtain the sub-track to which the track point belongs. In the same way, if the track point is the starting point, the end point is searched backward, and the sub-track to which the track point belongs can be found. If the track point is the end point, search forward to the starting point, you can find the sub-track to which the track point belongs.
在一些可行的实施例中,选取出相应的子轨迹后可以对该子轨迹进行相应的操作。在本实施例中,以操作为拆合操作为例说明。其中,拆合操作包括对轨迹进行拆分和合并。具体地,该方法还包括:接收并执行用于指示将轨迹根据主体标识拆分显示或合并显示的指令。其中,主体标识为用于标记生成所述轨迹点的主体。具有相同笔划标识的轨迹点均具有相同的主体标识。在本实施例中,当选取子轨迹后,若接收到拆分或者合并指令,可以将选中的子轨迹从轨迹中拆分显示,或者将选中的轨迹重新进行合并显示。In some feasible embodiments, after selecting the corresponding sub-track, corresponding operations can be performed on the sub-track. In this embodiment, the operation is the disassembling operation as an example. Among them, the disassembly and assembly operations include splitting and merging the tracks. Specifically, the method further includes: receiving and executing an instruction for instructing the trajectory to be split or combined for display according to the subject identifier. Wherein, the subject identifier is used to mark the subject generating the track point. Track points with the same stroke identifier all have the same subject identifier. In this embodiment, when a sub-track is selected, if a split or merge instruction is received, the selected sub-track can be split and displayed from the track, or the selected track can be merged and displayed again.
具体地,请参看图6和图7,其示出了轨迹拆分前后的轨迹示意图。图6中,轨迹S包括子轨迹SS 1~SS 4。其中,子轨迹SS 1~SS 4的主体标识NS皆为0,表示了子轨迹SS 1~SS 4由同一个主体产生。轨迹SS 1~SS 4的子轨迹标识分别按照序号进行标识。如图7所示,当用户选取了子轨迹SS 1和轨迹SS 2并进行了拆分操作,则电子设备1可以将子轨迹SS 1和子轨迹SS 3从轨迹S拆分出,并将SS 1和SS 3触控显示组件10显示于A区域,轨迹SS 2和轨迹SS 4显示于B区域,然后对将子轨迹SS 1~SS 4标识重新标识成新的序号。在本实施例,可以对选取的轨迹 进行拆分显示,而且还可以对拆分后的子轨迹标识更新,使得拆分后的子轨迹和正常绘制的子轨迹无区别。其中,该拆分操作可以选择触控显示组件10中一个图标来产生,也可以是直接按照预设的操作在触控显示组件中操作产生。 Specifically, please refer to Figures 6 and 7, which show schematic diagrams of the trajectory before and after the trajectory is split. In Fig. 6, the trajectory S includes sub-trajectories SS 1 to SS 4 . Wherein the sub-track SS subject identification of NS 1 ~ SS 4 are all 0, SS represents a sub-track 1 ~ SS 4 generated by the same body. The sub-track identifiers of trajectories SS 1 to SS 4 are respectively identified according to sequence numbers. As shown in Fig. 7, when the user selects the sub-trajectory SS 1 and the trajectory SS 2 and performs a split operation, the electronic device 1 can split the sub-trajectory SS 1 and the sub-trajectory SS 3 from the trajectory S, and separate SS 1 The and SS 3 touch display component 10 is displayed in the area A, the track SS 2 and the track SS 4 are displayed in the area B, and then the sub-tracks SS 1 to SS 4 are re-marked with new serial numbers. In this embodiment, the selected trajectory can be split and displayed, and the split sub-trajectory identification can also be updated, so that the split sub-trajectory is indistinguishable from the normally drawn sub-trajectory. Wherein, the split operation can be generated by selecting an icon in the touch display component 10, or it can be generated by directly operating in the touch display component according to a preset operation.
可以理解地,如果子轨迹SS 1、SS 2的主体标识NS和子轨迹SS 3和SS 4的主体标识NS不相同,而子轨迹SS 1、SS 2的主体标识NS相同且子轨迹SS 3和SS 4的主体标识NS相同,则表示生成轨迹SS 1、SS 2的主体和生成轨迹SS 3、SS 4的主体不同。则当拆分后,轨迹SS 1、SS 2可以发送给一相应的设备(图未示)中显示,而SS 3、SS 4可以发送给另一相应设备(图未示)中显示。 Understandably, if the subject identifiers NS of the sub-trajectories SS 1 and SS 2 are different from the subject identifiers NS of the sub-trajectories SS 3 and SS 4 , and the subject identifiers NS of the sub-trajectories SS 1 and SS 2 are the same and the sub-trajectories SS 3 and SS The subject identification NS of 4 is the same, which means that the subjects that generate the trajectories SS 1 and SS 2 are different from the subjects that generate the trajectories SS 3 and SS 4 . After splitting, the trajectories SS 1 and SS 2 can be sent to a corresponding device (not shown) for display, and SS 3 and SS 4 can be sent to another corresponding device (not shown) for display.
具体地,请参看图8和图9,其示出了轨迹合并显示的过程示意图。图8中,轨迹C的主体标识NS和轨迹D的NS相同,则表示生成轨迹C的主体和轨迹D的主体是相同的,如电子设备1。当用户选择轨迹C和轨迹D并进行相应的合并操作后,则电子设备1可以将轨迹C和轨迹D合并成一个在一起形成轨迹CD。优选地,轨迹C和轨迹D合并可以对轨迹C和轨迹D中的子轨迹标识进行更新,使得合并后的子轨迹和正常绘制的子轨迹标识无区别。在一些可行的实施例中,轨迹C的主体标识NS和轨迹D的主体标识不一样时,当轨迹C和轨迹D合并后,合并后的轨迹中主体标识NS保持不变。Specifically, please refer to FIG. 8 and FIG. 9, which show schematic diagrams of the process of combined display of trajectories. In FIG. 8, the subject identification NS of the trajectory C is the same as the NS of the trajectory D, which means that the subject generating the trajectory C and the subject of the trajectory D are the same, such as the electronic device 1. After the user selects the track C and the track D and performs a corresponding merging operation, the electronic device 1 can merge the track C and the track D into one to form a track CD. Preferably, the merging of the trajectory C and the trajectory D can update the sub-trajectory identifiers in the trajectory C and the trajectory D, so that the merged sub-trajectory is indistinguishable from the normally drawn sub-track identifier. In some feasible embodiments, when the subject identifier NS of the track C is different from the subject identifier of the track D, when the track C and the track D are merged, the subject identifier NS in the merged track remains unchanged.
请结合参看图10和图11,图10为本发明第一实施例提供的一种轨迹拆合的方法。在一些可行的实施例中,用户不需要选取子轨迹就可以直接输入拆分和合并指令对轨迹进行拆分或者合并。例如,当多个用户分别操作各自的电子设备时,需要通过一个共用屏幕进行显示进行分享。另外,当对共用屏幕显示的轨迹进行编辑后,还可以将编辑后的轨迹相应返回给每个用户的电子设备。其中,该轨迹包括用于标识生成轨迹点的主体。该轨迹拆合的方法应用电子设备1’中,其具体包括下面步骤。Please refer to FIG. 10 and FIG. 11 in combination. FIG. 10 is a method for disassembling and combining tracks according to the first embodiment of the present invention. In some feasible embodiments, the user can directly input split and merge instructions to split or merge the tracks without selecting sub-tracks. For example, when multiple users operate their own electronic devices separately, they need to be displayed and shared through a common screen. In addition, after editing the trajectory displayed on the shared screen, the edited trajectory can be returned to the electronic device of each user accordingly. Wherein, the trajectory includes the main body used to identify the generating trajectory point. The method for disassembling and combining tracks is applied to the electronic device 1', and specifically includes the following steps.
步骤S1001,在触控显示组件中显示轨迹。如图11所示,在本实施例中,电子设备1’在触控显示组件10’显示轨迹。优选地,电子设备1’可以与多个外部电子设备通讯。在本实施例中以3台电子设备E、F、D为例进行说明。In step S1001, the track is displayed in the touch display component. As shown in Fig. 11, in this embodiment, the electronic device 1'displays a track on the touch display assembly 10'. Preferably, the electronic device 1'can communicate with multiple external electronic devices. In this embodiment, three electronic devices E, F, and D are taken as an example for description.
步骤S1002,检测到用于指示根据主体标识拆分显示或合并显示轨迹的指令情况下,将轨迹拆分显示或合并显示,主体标识用于标记生成轨迹点的主体。In step S1002, in the case of detecting an instruction for splitting or combining the display of the trajectory according to the subject identification, the trajectory is split or combined for display, and the subject identification is used to mark the subject generating the trajectory point.
具体地,步骤S1002包括步骤S1002a和S1002b,其中,步骤S1002a为拆分显示步骤,步骤S1002b为合并显示步骤。Specifically, step S1002 includes steps S1002a and S1002b, wherein step S1002a is a split display step, and step S1002b is a combined display step.
其中,步骤S1002a具体地包括下面步骤:Wherein, step S1002a specifically includes the following steps:
步骤S10021,根据主体标识拆分将轨迹拆分成一条或者多条轨迹,同一条子轨迹的轨迹点具有相同的主体标识,不同的子轨迹上的轨迹点具有不同的主体标识。如图12,触摸显示组件10’中显示轨迹R。轨迹R包括了子轨迹R 1~R 7。其中,子轨迹R 1~R 4的主体标识NS相同,皆为0。子轨迹R 5~R 6具有相同的主体标识,皆为1。子轨迹R 7的主体标识NS为2,则表示子轨迹R 1~R 4,R 5~R 6,R 7分别由不同的设备生成。如,子轨迹R 1~R 4的由E设备生成,子轨迹R 5~R 6由F设备生成,子轨迹R 7由G设备生成。当接收到拆分指令时,可以根据主体标识将轨迹R划分成r 1~r 3三条轨迹,r 1包括子轨迹R 1~R 4,r 2包括子轨迹R 5~R 6,r 3包括子轨迹R 7。步骤S10023,将拆分后的轨迹分别发送至相应的主体以进行显示。可以理解地,将r 1~r 3三条轨迹分别显示于E,F,G设备中。在一些可行的实施例中,拆分后的轨迹r 1~r 3也可以同时显示于触控显示组件10’中的不同区域。 Step S10021: Split the trajectory into one or more trajectories according to the subject identification splitting, the track points of the same sub-track have the same subject identification, and the track points on different sub-tracks have different subject identifications. As shown in Fig. 12, the track R is displayed in the touch display assembly 10'. The trajectory R includes sub-trajectories R 1 to R 7 . Among them, the subject identifiers NS of the sub-trajectories R 1 to R 4 are the same, and they are all 0. The sub-trajectories R 5 to R 6 have the same subject identifier, and they are all 1. The subject identifier NS of the sub-trajectory R 7 is 2, which means that the sub-trajectories R 1 ˜R 4 , R 5 ˜R 6, and R 7 are respectively generated by different devices. For example, the sub-trajectories R 1 to R 4 are generated by the E device, the sub-trajectories R 5 to R 6 are generated by the F device, and the sub-track R 7 is generated by the G device. When the split instruction is received, the trajectory R can be divided into three trajectories r 1 ~r 3 according to the main body identification, r 1 includes sub trajectories R 1 ~R 4 , r 2 includes sub trajectories R 5 ~R 6 , and r 3 includes Sub-trajectory R 7 . In step S10023, the split trajectories are respectively sent to the corresponding subjects for display. Understandably, the three tracks r 1 to r 3 are displayed in the E, F, and G devices respectively. In some feasible embodiments, the split trajectories r 1 ˜r 3 can also be displayed in different areas of the touch display assembly 10 ′ at the same time.
其中,步骤S1002a具体包括下面步骤:Wherein, step S1002a specifically includes the following steps:
步骤S10020,获取另一电子设备发送的外部轨迹。具体地,当另一电子设备的用户想跟大家共享自己绘制的内容,可以发送给电子设备1’。Step S10020: Obtain an external track sent by another electronic device. Specifically, when the user of another electronic device wants to share the content drawn by himself with everyone, he can send it to the electronic device 1'.
步骤S10022,将外部轨迹和电子设备显示的轨迹进行合并显示。电子设备 1’接收到外部轨迹时,可以将外部轨迹和电子设备1’中的显示的轨迹进行合并显示。其中,外部轨迹的主体标识与触控显示组件中显示轨迹的主体标识不同。如图13所示,当电子设备1’在触控显示组件10’显示有轨迹r 1时,接收到轨迹r 2和r 3,则将轨迹r 1~r 3合并,并将合并后的轨迹的子轨迹标识更新,使得合并后的子轨迹和正常绘制的子轨迹标识无区别。 In step S10022, the external track and the track displayed by the electronic device are combined and displayed. When the electronic device 1'receives the external track, the external track and the track displayed in the electronic device 1'can be combined and displayed. Wherein, the subject identification of the external track is different from the subject identification of the display track in the touch display assembly. As shown in FIG. 13, when the electronic device 1'displays the trajectory r 1 on the touch display assembly 10', and receives the trajectories r 2 and r 3 , the trajectories r 1 to r 3 are combined, and the combined trajectory The sub-track identification of is updated, so that the merged sub-track is the same as the normally drawn sub-track identification.
在一些可行的实施例中,在将所述轨迹拆分显示或合并显示之前,该轨迹拆合的方法还包括步骤:在所述触摸组件中显示的轨迹选择需要拆分的子轨迹;检测所述拆分显示指令。In some feasible embodiments, before the trajectory is split and displayed or combined for display, the method for splitting and merging the trajectory further includes the steps of: selecting the sub-track to be split on the trajectory displayed in the touch component; The split display instructions.
在一些可行的实施例中,在获取另一电子设备发送的外部轨迹后,该轨迹拆合的方法还包括步骤:检测外部轨迹是否具有主体标识;若外部轨迹未具有主体标识,对外部轨迹添加主体标识,主体标识与触控显示组件10’中显示轨迹的主体标识不同。In some feasible embodiments, after acquiring the external track sent by another electronic device, the method for detaching and disassembling the track further includes the step of detecting whether the external track has a subject identification; if the external track does not have a subject identification, add the external track The subject identification, which is different from the subject identification of the track displayed in the touch display assembly 10'.
上述实施例中,上述轨迹拆合的方法可以根据主体标识对轨迹进行拆与合,可以实现对来自不同的电子设备的轨迹进行合并和拆分进行快速拆分和合并。In the above-mentioned embodiment, the above-mentioned method for detaching and combining trajectories can detach and combine trajectories according to the main body identification, and can realize merging and splitting of trajectories from different electronic devices for rapid splitting and merging.
请参看图14,其为第一施例提供的电子设备1的内部结构示意图。电子设备1包括存储器11、处理器12和总线13。Please refer to FIG. 14, which is a schematic diagram of the internal structure of the electronic device 1 provided in the first embodiment. The electronic device 1 includes a memory 11, a processor 12 and a bus 13.
其中,存储器11至少包括一种类型的可读存储介质,该可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是电子设备1的内部存储单元,例如电子设备1的硬盘。存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括电子设备1的内部存储单元也包括外部存储 设备。存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如程序01的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium, the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, for example, a plug-in hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), and a Secure Digital (SD). Card, Flash Card, etc. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as the code of the program 01, etc., but also to temporarily store data that has been output or will be output.
总线13可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
进一步地,电子设备1还可以包括触控显示组件10。触控显示组件10可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示组件也可以适当的称为显示装置或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Furthermore, the electronic device 1 may also include a touch display assembly 10. The touch display assembly 10 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display component may also be appropriately called a display device or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
进一步地,电子设备1还可以包括通信组件14,通信组件14可选的可以包括有线通信组件和/或无线通信组件(如WI-FI通信组件、蓝牙通信组件等),通常用于在电子设备1与其他电子设备之间建立通信连接。Further, the electronic device 1 may also include a communication component 14. The communication component 14 may optionally include a wired communication component and/or a wireless communication component (such as a WI-FI communication component, a Bluetooth communication component, etc.), which is usually used in an electronic device 1 Establish a communication connection with other electronic devices.
进一步地,电子设备1还可以包括运动传感器15,运动传感器15可选的可以包括加速度传感器、重力传感器等,用于感测电子设备1的运动。Further, the electronic device 1 may further include a motion sensor 15, and the motion sensor 15 may optionally include an acceleration sensor, a gravity sensor, etc., for sensing the motion of the electronic device 1.
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据。具体地,处理器12执行程序01以实现上述局部选取轨迹的方法或者轨迹拆合的方法。The processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 data. Specifically, the processor 12 executes the program 01 to implement the above-mentioned method of locally selecting a trajectory or a method of disassembling and combining trajectories.
图13仅示出了具有组件10-15以及第一计算机可执行程序01的电子设备1,本领域技术人员可以理解的是,图13示出的结构并不构成对电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布 置。FIG. 13 only shows the electronic device 1 with the components 10-15 and the first computer executable program 01. Those skilled in the art can understand that the structure shown in FIG. 13 does not constitute a limitation on the electronic device 1. Including fewer or more components than shown, or combining certain components, or different component arrangements.
该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本发明实施例该的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction can be transmitted from a website, computer, server, or data center through a cable (Such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the serial numbers of the above-mentioned embodiments of the present invention are only for description, and do not represent the superiority of the embodiments. And the terms "include", "include" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements not only includes those elements, but also includes The other elements listed may also include elements inherent to the process, device, article, or method. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, device, article or method that includes the element.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and do not limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of the present invention.

Claims (14)

  1. 一种局部选取轨迹的方法,应用于包括触控显示组件的电子设备,其特征在于,所述方法包括:A method for locally selecting a trajectory, applied to an electronic device including a touch display component, is characterized in that the method includes:
    显示轨迹于所述触控显示组件,所述轨迹包括一个或多个子轨迹;A track is displayed on the touch display component, and the track includes one or more sub-tracks;
    检测显示有所述轨迹的触控显示组件是否存在触控操作;Detecting whether there is a touch operation on the touch display component displaying the track;
    当存在所述触控操作时,获取所述触控操作所对应的坐标信息;以及When the touch operation exists, obtain coordinate information corresponding to the touch operation; and
    选取与所述坐标信息对应的子轨迹。Select the sub-track corresponding to the coordinate information.
  2. 根据权利要求1所述的方法,其特征在于,所述子轨迹包括连续时间内检测到的连续轨迹点的集合。The method according to claim 1, wherein the sub-trajectory comprises a collection of continuous trajectory points detected in a continuous time.
  3. 根据权利要求2所述的方法,其特征在于,所述子轨迹包括轨迹点的集合,所述每个轨迹点包括用于标记所属子轨迹的子轨迹标识。The method according to claim 2, wherein the sub-track includes a set of track points, and each track point includes a sub-track identifier for marking the sub-track to which it belongs.
  4. 根据权利要求3所述的方法,其特征在于,选取与所述坐标信息对应的子轨迹包括:The method according to claim 3, wherein selecting the sub-trajectory corresponding to the coordinate information comprises:
    获取所述坐标信息所对应的轨迹点;以及Acquiring the track point corresponding to the coordinate information; and
    根据所获取的轨迹点的子轨迹标识确定所述的子轨迹。The sub-track is determined according to the acquired sub-track identifier of the track point.
  5. 根据权利要求4所述的方法,其特征在于,获取所述坐标信息所对应的轨迹点具体包括:The method according to claim 4, wherein acquiring the track point corresponding to the coordinate information specifically comprises:
    根据所述触摸点坐标信息从所述轨迹的所有轨迹点查找出与所述触摸点距离最近的轨迹点;Searching for the track point closest to the touch point from all track points of the track according to the touch point coordinate information;
    检测查找到的轨迹点数量;The number of track points found by detection;
    当查找到的轨迹点的数量为一个,获取所述查找到的轨迹点的子轨迹标识;When the number of track points found is one, obtain the sub-track identifier of the track point found;
    根据所述获取的子轨迹标识选择出所述相应的子轨迹。The corresponding sub-track is selected according to the acquired sub-track identifier.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    当所述查找到的轨迹点的数量大于1,输出选择失败提示以提示用户重新选择。When the number of track points found is greater than 1, a selection failure prompt is output to prompt the user to select again.
  7. 根据权利要求1所述的方法,其特征在于,所述轨迹点还包括用于标记生成所述轨迹点的主体的主体标识,具有相同笔划标识的轨迹点均具有相同的主体标识。The method according to claim 1, wherein the trajectory point further comprises a subject identifier for marking the subject that generated the trajectory point, and the track points with the same stroke identifier all have the same subject identifier.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    接收并执行用于指示将轨迹根据主体标识拆分显示或合并显示的指令。Receive and execute instructions to split or merge the track according to the subject identification.
  9. 一种轨迹拆合的方法,应用于包括触控显示组件的电子设备,其特征在于,所述方法包括:A method for disassembling and combining tracks is applied to an electronic device including a touch display component, wherein the method includes:
    在所述触控显示组件中显示轨迹;Displaying a track in the touch display component;
    检测到用于指示根据主体标识拆分显示或合并显示轨迹的指令情况下,将所述轨迹拆分显示或合并显示,所述主体标识用于标记生成轨迹点的主体;In the case of detecting an instruction for splitting or combining the display of the trajectory according to the subject identification, splitting or combining the display of the trajectory, and the subject identification is used to mark the subject generating the trajectory point;
    所述拆分显示包括:The split display includes:
    根据所述主体标识拆分将所述轨迹拆分成一条或者多条子轨迹,同一条子轨迹的轨迹点具有相同的主体标识,不同的子轨迹上的轨迹点具有不同的主体标识;以及Split the trajectory into one or more sub-trajectories according to the subject identification splitting, the trajectory points of the same sub-trajectory have the same subject identification, and the trajectory points on different sub-trajectories have different subject identifications; and
    将拆分后的子轨迹分别发送至相应的主体以进行显示;Send the split sub-tracks to the corresponding main body for display;
    所述合并显示包括:The combined display includes:
    获取另一电子设备发送的外部轨迹;以及Obtain an external track sent by another electronic device; and
    将所述外部轨迹和所述电子设备显示的轨迹进行合并显示。The external track and the track displayed by the electronic device are combined and displayed.
  10. 如权利要求9所述的方法,其特征在于,在将所述轨迹拆分显示或合并显示之前,所述方法还包括:9. The method according to claim 9, wherein before splitting or combining the tracks for display, the method further comprises:
    在所述触摸组件中显示的轨迹选择需要拆分的子轨迹;以及The track displayed in the touch component selects the sub track to be split; and
    检测所述拆分显示指令。Detecting the split display instruction.
  11. 如权利要求9所述的方法,其特征在于,所述外部轨迹的主体标识与所述触控显示组件中显示轨迹的主体标识不同。9. The method of claim 9, wherein the subject identifier of the external track is different from the subject identifier of the display track in the touch display assembly.
  12. 如权利要求9所述的方法,其特征在于,在获取另一电子设备发送的外部轨迹后,所述方法还包括:9. The method according to claim 9, wherein after obtaining an external track sent by another electronic device, the method further comprises:
    检测所述外部轨迹是否具有主体标识;Detecting whether the external track has a subject identifier;
    若所述外部轨迹未具有所述主体标识,对所述外部轨迹添加主体标识,所述主体标识与所述触控显示组件中显示轨迹的主体标识不同。If the external track does not have the subject identification, a subject identification is added to the external trail, and the subject identification is different from the subject identification of the track displayed in the touch display assembly.
  13. 一种电子设备,其特征在于,包括:触控显示组件、处理器、存储器以及程序,其中所述程序被存储在所述存储器中,并且被配置成由处理器执行,所述程序被处理器执行时实现如权利要求1-12任意一项所述的方法。An electronic device, characterized by comprising: a touch display component, a processor, a memory, and a program, wherein the program is stored in the memory and is configured to be executed by the processor, and the program is executed by the processor. When executed, the method according to any one of claims 1-12 is realized.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-12任意一项所述的方法。A computer-readable storage medium with a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1-12 when the computer program is executed by a processor.
PCT/CN2019/082851 2019-04-16 2019-04-16 Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium WO2020210977A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980079798.4A CN113383302A (en) 2019-04-16 2019-04-16 Method for locally selecting track and track combination, electronic equipment and storage medium
PCT/CN2019/082851 WO2020210977A1 (en) 2019-04-16 2019-04-16 Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/082851 WO2020210977A1 (en) 2019-04-16 2019-04-16 Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020210977A1 true WO2020210977A1 (en) 2020-10-22

Family

ID=72836809

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/082851 WO2020210977A1 (en) 2019-04-16 2019-04-16 Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113383302A (en)
WO (1) WO2020210977A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5634093A (en) * 1991-01-30 1997-05-27 Kabushiki Kaisha Toshiba Method and CAD system for designing wiring patterns using predetermined rules
CN102937848A (en) * 2012-12-04 2013-02-20 上海合合信息科技发展有限公司 Method for editing handwritings and electronic equipment
CN103034439A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Method and device for generating drawing file
CN103218152A (en) * 2012-12-17 2013-07-24 上海海知信息技术有限公司 Method for touch screen editing on handwriting images
CN104537701A (en) * 2015-01-22 2015-04-22 江苏中威科技软件系统有限公司 Operation method of vector lines
CN106528135A (en) * 2016-10-27 2017-03-22 中企动力科技股份有限公司 Method and apparatus for determining target component in webpage

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929503B (en) * 2012-10-30 2016-03-30 华为终端有限公司 The method of select File and terminal
CN103500066B (en) * 2013-09-30 2019-12-24 北京奇虎科技有限公司 Screenshot device and method suitable for touch screen equipment
CN107390923B (en) * 2017-06-30 2020-05-12 Oppo广东移动通信有限公司 Screen false touch prevention method and device, storage medium and terminal
CN107463331B (en) * 2017-08-15 2020-08-07 上海闻泰电子科技有限公司 Gesture track simulation method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5634093A (en) * 1991-01-30 1997-05-27 Kabushiki Kaisha Toshiba Method and CAD system for designing wiring patterns using predetermined rules
CN103034439A (en) * 2012-11-30 2013-04-10 广东欧珀移动通信有限公司 Method and device for generating drawing file
CN102937848A (en) * 2012-12-04 2013-02-20 上海合合信息科技发展有限公司 Method for editing handwritings and electronic equipment
CN103218152A (en) * 2012-12-17 2013-07-24 上海海知信息技术有限公司 Method for touch screen editing on handwriting images
CN104537701A (en) * 2015-01-22 2015-04-22 江苏中威科技软件系统有限公司 Operation method of vector lines
CN106528135A (en) * 2016-10-27 2017-03-22 中企动力科技股份有限公司 Method and apparatus for determining target component in webpage

Also Published As

Publication number Publication date
CN113383302A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
TWI529524B (en) Recognition application scenarios, power management method, apparatus and terminal equipment
US10656823B2 (en) Method and electronic device for managing operation of applications
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US20140075302A1 (en) Electronic apparatus and handwritten document processing method
US10551998B2 (en) Method of displaying screen in electronic device, and electronic device therefor
US20100077333A1 (en) Method and apparatus for non-hierarchical input of file attributes
KR20160030173A (en) Interactive digital displays
US10049114B2 (en) Electronic device, method and storage medium
JP2017111731A (en) Information processing system, information processing method, and program
JP5869179B2 (en) Electronic device and handwritten document processing method
WO2018004200A1 (en) Electronic device and information providing method thereof
CN113835580A (en) Application icon display method and device, electronic equipment and storage medium
CN109739856A (en) Method and system for the relationship established between tables of data
US20180136818A1 (en) User interface method, information processing system, and user interface program medium
JP2015094978A (en) Electronic device and method
JP6237135B2 (en) Information processing apparatus and information processing program
US20180088751A1 (en) Electronic apparatus and controlling method thereof
KR20220154825A (en) How to create notes and electronic devices
US20200412778A1 (en) Information processing apparatus, information processing system, and information processing method
US20180188907A1 (en) Content item state retrieval system
WO2020210977A1 (en) Local trajectory selection method, trajectory splitting and merging method, electronic device and storage medium
US11010046B2 (en) Method and apparatus for executing function on a plurality of items on list
US20190114131A1 (en) Context based operation execution
WO2020210975A1 (en) Sub-trajectory selection method, electronic device, and computer readable storage medium
US20180173377A1 (en) Condensed communication chain control surfacing

Legal Events

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

Ref document number: 19925011

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19925011

Country of ref document: EP

Kind code of ref document: A1