WO2023056697A1 - Waveform sequence processing method and processing apparatus, and electronic device and storage medium - Google Patents

Waveform sequence processing method and processing apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023056697A1
WO2023056697A1 PCT/CN2021/135109 CN2021135109W WO2023056697A1 WO 2023056697 A1 WO2023056697 A1 WO 2023056697A1 CN 2021135109 W CN2021135109 W CN 2021135109W WO 2023056697 A1 WO2023056697 A1 WO 2023056697A1
Authority
WO
WIPO (PCT)
Prior art keywords
waveform
sequence
segment
target
track
Prior art date
Application number
PCT/CN2021/135109
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
Priority claimed from CN202111177962.0A external-priority patent/CN114089808B/en
Priority claimed from CN202111177972.4A external-priority patent/CN114089809B/en
Priority claimed from CN202111176810.9A external-priority patent/CN114089806B/en
Priority claimed from CN202111177951.2A external-priority patent/CN114089807B/en
Application filed by 普源精电科技股份有限公司 filed Critical 普源精电科技股份有限公司
Publication of WO2023056697A1 publication Critical patent/WO2023056697A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • 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 application belongs to the technical field of waveform sequence, and in particular relates to a waveform sequence processing method, processing device, electronic equipment and storage medium.
  • the waveform sequence generator is a device that can provide electrical signals of various frequencies, waveforms and output levels. It has been widely used in many scenarios such as communication system testing, quantum technology, complex electromagnetic scene simulation, and high-speed port receiving testing.
  • a signal generator is a new type of signal generator that has emerged to continuously meet the digital needs of the development of communication technology.
  • a sequence is an object (or event) that is arranged in a row such that each element is either before or after the other elements, and the order between elements is very important.
  • elements can be understood as waveforms, and arrangement can be understood as the output sequence of waveforms.
  • AVG Analog Function Generator
  • AVG Arbitrary Waveform Generator
  • the sequence function can only store the waveform data of each waveform segment in the waveform lookup table in sequence, and then read out the corresponding waveform data by performing an addressing operation on the waveform lookup table to obtain the required waveform sequence, and this makes it not convenient to implement operations such as waveform splicing and jumping, and it is difficult to intuitively perform operations such as editing, cutting, splicing, and inter-track calculations on arbitrary waveforms.
  • the purpose of the embodiments of the present application is to provide a waveform sequence processing method, processing device, electronic equipment, and storage medium to solve the problem of inconvenient and unintuitive operations in the realization of waveform splicing and jumping in related technologies, and to meet the needs of editors.
  • the demand for complex signals improves user experience.
  • the embodiment of the present application provides a waveform sequence editing method, including: displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device; based on the user's editing of the target waveform segment in the sequence track Operation, creating a waveform sequence corresponding to the sequence track; wherein, the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
  • the embodiment of the present application provides a waveform sequence editing device, including: a waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface; a waveform sequence creation module, configured to The editing operation on the target waveform segment in the sequence track creates a waveform sequence corresponding to the sequence track; wherein the target waveform segment is a waveform segment selected by the user in the at least one waveform segment.
  • the embodiment of the present application provides a method for generating a waveform sequence, including: displaying the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, wherein the The sequence track is displayed on the display interface of the electronic device, and the target waveform material is at least one of the waveform materials displayed on the display interface; based on the user's editing operation on the target waveform material in the sequence track, Create the waveform sequence corresponding to the sequence track.
  • the embodiment of the present application provides a waveform sequence generation device, including: a waveform material display module, configured to display the waveform material in the sequence track based on the operation of sending or dragging the target waveform material to the sequence track by the user.
  • the target waveform material wherein the sequence track is displayed in the display interface of the waveform sequence generation device, and the target waveform material is at least one of the waveform materials displayed on the display interface; the waveform sequence creation module is used for Based on the user's editing operation on the target waveform material in the sequence track, a waveform sequence corresponding to the sequence track is created.
  • the embodiment of the present application provides a waveform sequence processing method, including: displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device; based on the user sending or dragging the target waveform effect material to the The operation of the sequence track displays the target waveform effect material at the preset position of the first target waveform segment, wherein the target waveform effect material is at least one of the waveform effect materials displayed in the display interface, the
  • the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment; add the corresponding target waveform effect material to the first target waveform segment
  • the effect is to obtain the second target waveform segment; based on the user's first editing operation on the second target waveform segment in the first sequence track, create a waveform sequence corresponding to the first sequence track, and the first sequence The track is the sequence track where the second target waveform segment is located.
  • the embodiment of the present application provides a waveform sequence processing device, including: a waveform segment display module, used to display at least one waveform segment in the sequence track displayed on the display interface; a waveform effect material display module, used to display the waveform based on When the user sends or drags the target waveform effect material to the sequence track, the target waveform effect material is displayed at the preset position of the first target waveform segment, wherein the target waveform effect material is in the display interface
  • the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment;
  • a waveform effect processing module It is used to add the effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment; the waveform sequence processing module is used to base the user on the second target in the first sequence track
  • the first editing operation of the waveform segment is to create a waveform sequence corresponding to the
  • the embodiment of the present application provides a waveform sequence creation method, including: displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device; based on the user's setting operation on the parameters of the first target waveform segment, Setting the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment; The editing operation on the second target waveform segment in the sequence track creates a waveform sequence corresponding to the sequence track.
  • the embodiment of the present application provides a waveform sequence creation device, including: a waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface; a waveform parameter setting module, configured to For the setting operation of the parameters of the first target waveform segment, the parameters of the first target waveform segment are set to obtain a second target waveform segment, wherein the first target waveform segment is one of the at least one waveform segment A waveform segment selected by the user; a waveform sequence creation module configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the second target waveform segment in the sequence track.
  • the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is processed by the implement the steps of the method described in the first aspect, the third aspect, the fifth aspect or the seventh aspect when executed by a device.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the first aspect, the third aspect, and The step of the method described in the fifth aspect or the seventh aspect.
  • Fig. 1 is a schematic diagram of the module composition of the waveform sequence editing device in the embodiment of the present application
  • Fig. 2 is a schematic diagram of the display interface of the waveform sequence editing device in the embodiment of the present application
  • FIG. 3 is a schematic flow diagram of a waveform sequence editing method in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the module composition of the waveform sequence generation device in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a display interface of a waveform sequence generation device in an embodiment of the present application.
  • FIG. 7 is a schematic flow diagram of a method for generating a waveform sequence in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the module composition of the waveform sequence processing device in the embodiment of the present application.
  • FIG. 9 is a schematic diagram of the display interface of the waveform sequence processing device in the embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a waveform sequence processing method in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the module composition of the waveform sequence creation device in the embodiment of the present application.
  • Fig. 12 is a schematic diagram of the display interface of the waveform sequence creation device in the embodiment of the present application.
  • FIG. 13 is a schematic flowchart of a method for creating a waveform sequence in an embodiment of the present application.
  • the waveform sequence editing device includes a waveform segment display module 101 and a waveform sequence creation module 102; wherein,
  • the waveform segment display module 101 is used to display at least one waveform segment in the sequence track displayed on the display interface; the waveform sequence creation module 102 is used to create the waveform segment based on the user's editing operation on the target waveform segment in the sequence track.
  • sequence tracks are displayed on the display interface of the waveform sequence editing device.
  • a sequence track display area 21 may be set in the display interface of the waveform sequence editing device, and one or more sequence tracks are displayed in the sequence track display area 21 .
  • a sequence track 211 , a sequence track 212 and a sequence track 213 are displayed in the sequence track display area 21 , which realizes parallel setting of multiple tracks.
  • the horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform segment; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
  • the waveform sequence editing apparatus can display at least one waveform segment in the sequence track through the waveform segment display module 101 .
  • waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 211, so that the appearance or form of the waveform segment can be displayed in real time by adopting the form of a sequence track, Segment-to-segment differences enabling visualization of at least one waveform segment.
  • the waveform sequence creation module 102 can create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform segment in the sequence track, which enables the user to create a waveform sequence in the sequence track Edit the waveform segments to create a waveform sequence that meets the needs of use, making the editing operations between waveform segments more convenient and more intuitive, meeting the needs of editing complex signals, and improving the convenience of operation and user experience.
  • the target waveform segment is a waveform segment selected by the user in at least one waveform segment, that is, the user can select one or more of the waveform segments as the target waveform segment based on editing requirements.
  • waveform segment a and waveform segment b can be defined as the target waveform segment at this time, that is, the target waveform segment includes waveform Segment a and waveform segment b; during the editing operation of the waveform segment a and the waveform segment b by the user, the waveform sequence creation module 102 can create a waveform sequence corresponding to the sequence track based on the editing operation.
  • the editing operation can be set by the user based on actual requirements, so that the user can obtain a waveform sequence that meets the usage requirements after performing the editing operation on the target waveform segment in the sequence track.
  • the waveform sequence can be sent to a specified channel and output.
  • the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
  • the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
  • the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface
  • the waveform sequence creation module is based on the user's editing operation on the target waveform segment in the sequence track to create the corresponding sequence track.
  • the waveform sequence of the waveform sequence realizes the real-time display of the appearance or form of the waveform segment and the difference between segments in the form of a sequence track, and realizes the editing of the waveform segment directly in the sequence track to create a waveform sequence, so that The editing operation between waveform segments is more convenient and more intuitive, which meets the needs of editing complex signals and improves the convenience of operation and user experience.
  • the waveform sequence editing device further includes a waveform segment acquisition module, configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
  • a waveform segment acquisition module configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
  • the waveform editing device can receive or create at least one waveform segment through the waveform segment acquisition module, and then send the at least one waveform segment to the waveform segment display module, and the waveform display module will display the received or created at least one waveform segment in a sequence in orbit.
  • a waveform management area 22 can be set in the display interface, and controls for managing waveforms are displayed in the waveform management area 22, such as folders indicating basic waveforms. controls, folder controls to indicate custom waveforms, controls to add folders, controls to create custom waveforms, etc.
  • the user can select the basic waveform through the folder control indicating the basic waveform, or select the custom waveform through the folder control indicating the custom waveform.
  • the waveform segment acquisition module can receive the waveform segment selected by the user based on the user's selection; in addition , the user can create a custom waveform through the control indicating to create a custom waveform.
  • the waveform segment acquisition module can create a waveform segment based on the user's creation operation.
  • a waveform parameter setting area 23 can also be set in the display interface, and a parameter setting box for setting the parameters of the waveform segment is displayed in the waveform parameter setting area 23, such as point number setting box, sampling rate setting box, frequency setting box, waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of waveform points, sampling rate, Edit and set frequency, waveform, cycle times, phase, high and low levels, amplitude, offset, etc., so as to realize the setting of waveform parameters.
  • the waveform segment acquisition module can create waveform segments based on the user's setting operation on the waveform.
  • the number of sequence tracks is one or more;
  • the waveform segment display module is configured to display at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
  • At least one waveform segment may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of waveform clips is three, you can display three waveform clips in one sequence track and two waveform clips in one sequence track, Display a waveform segment in another sequence track, that is, the user can determine the display position of the waveform segment according to the display requirements of the waveform segment and perform related display position selection operations. At this time, the waveform segment display module will display the waveform based on the user's display position selection operation. The clips are displayed in the sequence track selected by the user.
  • the diversified display of waveform segments is realized, so that users can combine multiple waveforms according to editing requirements. Segments are displayed in different sequence tracks, improving the editing convenience of waveform segments.
  • the editing operation on the target waveform segment includes at least one of the following: jump operation, loop operation, cropping operation, splicing operation, and waveform operation operation;
  • the waveform calculation operation is a calculation operation between target waveform segments in at least two sequence tracks.
  • the calculation operations between the target waveform segments in at least two sequence tracks may include waveform superposition, waveform modulation, encryption and decryption, etc., for example, after waveform segment a is superimposed on waveform segment b, it is originally in the low frequency range, and after superimposition, it is shifted to high frequency range.
  • the jump operation means that the target waveform segment jumps to before or after other waveform segments;
  • the loop operation means that the target waveform segment is cyclically displayed in the sequence track;
  • the cropping operation means that the target waveform segment is cut into two waveform segments, so that Other waveform segments can be inserted between two waveform segments to form a new waveform segment;
  • splicing operation refers to splicing the target waveform segment and other waveform segments together.
  • a functional area for editing operations may be displayed on the display interface.
  • an operation control display area 24 may also be provided on the display interface, and a segment information setting control is displayed in the operation control display area 24 .
  • the user can click the segment information setting control, and a setting box is displayed on the display interface at this time, and the setting parameters in the setting box can include jumping to the nth segment, looping n times, etc.; then the user Based on the setting parameters in the setting box, the jump operation and loop operation of the target waveform segment can be performed, so as to realize the editing operation for the target waveform segment.
  • each waveform segment displayed in the sequence track supports an external trigger operation
  • the waveform sequence creation module can create a waveform sequence based on the external trigger operation.
  • the implementation of the external trigger operation can be as follows: the user sets a rule related to the trigger signal when outputting the waveform segment a, the rule can be that when the waveform segment a is ready to be output, the waveform segment a is not started until the external trigger signal is received, At this time, the waveform sequence editing device only starts to output the waveform segment a after receiving the externally transmitted trigger signal, so that the editing operation of the waveform segment can be realized according to the output order of the waveform segments; the implementation of the external trigger operation can also be: The user sets rules related to the trigger signal when outputting waveform segment a.
  • the rule can force waveform segment a to jump before or after other specified segments.
  • the waveform sequence editing device receives After the externally transmitted trigger signal, according to the set rules, the waveform segment a is forced to jump before or after other specified segments and start outputting, so that the editing operation of the waveform segments can be realized according to the output sequence of the waveform segments.
  • At least one operation control is also displayed on the display interface; the waveform sequence editing device further includes: an operation control module, configured to The control operation of the operation control executes the operation corresponding to the target operation control.
  • the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control , Waveform Segment Move Control, Waveform Comment Control, Waveform Clipping Control, Track Zoom Out Control, Track Zoom In Control, Waveform Segment Coloring Control, Waveform Segment Delete Control, Waveform Segment Copy Control, Waveform Segment Paste Control.
  • At least one operation control can be displayed in the operation control display area 24 in FIG. 2 (not shown one by one in FIG. 2 ), so that the user can find the desired operation control in a fixed area, which is convenient for the user. operation.
  • the track selection control is used to select the sequence track, so that the waveform segment can be displayed in the selected sequence track.
  • the waveform sequence download control is used to download the edited waveform sequence on the selected sequence track to the specified channel.
  • the waveform clip saving control is used to save the waveform clip on the selected sequence track, so that it can be used as a waveform clip material.
  • the track parameter setting control is used to set the parameters of the sequence track, and the parameter can include at least one of the following: remark information, historical information, historical operation rollback settings (such as returning to the last time or last several edits), track coordinates Upper and lower limit settings, track name, and track creation time.
  • the in-phase quadrature (IQ) setting control is used to determine whether the selected control is an I-way or a Q-way.
  • the time-frequency-frequency domain switching control is used to convert the selected sequence track from the time domain presentation style to the frequency domain. Of course, it also supports the time-frequency domain conversion of a single waveform segment. The remaining waveforms will not appear in the frequency domain, and only the selected one will be displayed. individual waveform segments and transform them into the frequency domain.
  • the waveform segment movement control is used to drag the waveform segment, so that editing operations such as movement and splicing of the waveform segment can be performed on the sequence track.
  • the waveform comment control is used to comment on the waveform segment in the selected sequence track.
  • the waveform clipping control is used to clip the waveform segment at the position indicated by the cursor. After clipping, the original waveform segment will be divided into two and become two waveform segments, so that other waveform segments can be inserted into the trimmed segment.
  • the track zoom out control is used to zoom out the selected sequence track.
  • Track zoom control used to zoom in on the selected sequence track.
  • Wave segment coloring controls for coloring waveform segments.
  • the waveform segment deletion control is used to delete the waveform segment. For example, you can drag the selected waveform segment out of the sequence track or click the waveform segment deletion control to realize the deletion function.
  • Track waveform save control used to save waveform clips on all sequence tracks.
  • Waveform segment copy control used to copy waveform segments.
  • Waveform segment paste control used to paste copied waveform segments, making it possible to repeat the creation of waveforms.
  • the user can select any of the above-mentioned operation controls as the target operation control according to the requirement, and input control operations on the target operation control.
  • the operation control module in the waveform sequence editing device is based on the user's control operation on the target operation control , execute the operation corresponding to the target operation control, such as the sequence track selection corresponding to the track selection control, the waveform sequence download corresponding to the waveform sequence download control, and the waveform segment saving corresponding to the waveform segment saving control, etc., thus realizing the operation control corresponding function.
  • control operation for the target operation control may be a click operation, a double-click operation, a drag operation, etc., which are not specifically limited here.
  • a waveform playing area is also displayed on the display interface; the waveform sequence editing device further includes: a waveform segment playing module, configured to play the waveform selected by the user in the waveform playing area.
  • the waveform segment selected by the user includes the waveform segment without editing operation or the waveform segment in the waveform sequence.
  • the waveform segment playback module can play the user-selected waveform segment in the waveform playback area, thereby realizing the dynamic presentation of the selected waveform segment.
  • the waveform segment selected by the user includes the waveform segment that has not been edited, that is, the waveform segment that has not been edited can be played in the waveform playback area; in addition, the waveform segment selected by the user also includes the waveform segment.
  • the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
  • the waveform segment playback module can play the waveform segment after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform segment between the first target waveform position and the second target waveform position in the waveform playback area.
  • this embodiment uses the waveform segment display module to display at least one waveform segment in the sequence track displayed on the display interface, and uses the waveform sequence creation module to create the sequence track based on the user's editing operation on the target waveform segment in the sequence track.
  • the corresponding waveform sequence realizes the real-time display of the appearance or shape of the waveform segment and the difference between segments in the form of a sequence track, and realizes editing of the waveform segment directly in the sequence track to create a waveform sequence. It makes the editing operation between waveform segments more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
  • the embodiment of the present application also provides a waveform sequence editing method, as shown in Figure 3, the waveform sequence editing method may include the following steps:
  • Step 301 Display at least one waveform segment in a sequence track displayed on a display interface of the electronic device.
  • the electronic device may be a waveform sequence editing device.
  • a sequence track display area 21 can be set in the display interface of the waveform sequence editing device, and one or more sequence tracks are displayed in the sequence track display area 21 .
  • a sequence track 211 , a sequence track 212 and a sequence track 213 are displayed in the sequence track display area 21 .
  • At least one waveform segment can be displayed in the sequence track.
  • Step 302 Based on the user's editing operation on the target waveform segment in the sequence track, create a waveform sequence corresponding to the sequence track.
  • the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
  • the waveform sequence corresponding to the sequence track can be created based on the user's editing operation on the target waveform segment in the sequence track, which enables the user to edit the waveform segment in the sequence track to create a
  • the waveform sequence makes the editing operation between waveform segments more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
  • the at least one waveform segment before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the at least one waveform segment may also be received or created based on a user's waveform segment acquisition instruction.
  • the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least When a waveform segment is selected, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks.
  • the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Arithmetic operations between target waveform segments within a sequence track.
  • At least one operation control is also displayed on the display interface; in this embodiment, the target operation control may be executed based on the user's control operation on the target operation control in the at least one operation control the corresponding operation.
  • the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, Time-frequency domain switching control, waveform segment movement control, waveform annotation control, waveform clipping control, track zoom-in control, track zoom-in control, waveform segment coloring control, waveform segment deletion control, waveform segment copy control, and waveform segment pasting control.
  • a waveform playback area is also displayed on the display interface; in this embodiment, the waveform segment selected by the user can also be played in the waveform playback area, wherein the waveform selected by the user Segments include waveform segments that have not been edited or waveform segments in the waveform sequence.
  • the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position; wherein , the first target waveform position and the second target waveform position are selected by the user.
  • At least one waveform segment is displayed in the sequence track displayed on the display interface, and based on the user's editing operation on the target waveform segment in the sequence track, the waveform sequence corresponding to the sequence track is created to realize the use of the sequence track
  • the waveform sequence corresponding to the sequence track is created to realize the use of the sequence track
  • the waveform sequence editing method provided by the embodiment of the present application can be executed by the waveform sequence editing device in the above embodiment, or the control module used to execute the waveform sequence editing method in the waveform sequence editing device .
  • the waveform sequence editing device provided in the above-mentioned embodiment can realize all the method steps and beneficial effects of the above-mentioned waveform sequence editing method embodiment. In order to avoid repetition, the waveform sequence editing method in this embodiment and the waveform sequence editing in the above method embodiment will not be discussed here. The same steps and beneficial effects in the device are described in detail.
  • the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence editing method.
  • Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 .
  • the processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
  • the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
  • the electronic device before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, it further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction .
  • the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least A waveform segment, comprising: displaying at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
  • the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Arithmetic operations between target waveform segments within a sequence track.
  • At least one operation control is also displayed on the display interface; the waveform sequence editing method further includes: based on the user's control operation on the target operation control in the at least one operation control, executing the The operation corresponding to the target operation control described above.
  • the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, Time-frequency domain switching control, waveform segment movement control, waveform annotation control, waveform clipping control, track zoom-in control, track zoom-in control, waveform segment coloring control, waveform segment deletion control, waveform segment copy control, and waveform segment pasting control.
  • a waveform playing area is also displayed on the display interface; the waveform sequence editing method further includes: playing the waveform segment selected by the user in the waveform playing area, wherein the user selected The selected waveform segments include waveform segments that have not been edited or waveform segments in the waveform sequence.
  • the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position; wherein , the first target waveform position and the second target waveform position are selected by the user.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence editing method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the waveform sequence generation device includes a waveform material display module 501 and a waveform sequence creation module 502; wherein,
  • the waveform material display module 501 is configured to display the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track.
  • the sequence track is displayed on the display interface of the waveform sequence generation device, and the target waveform material is at least one of the waveform materials displayed on the display interface.
  • a sequence track display area 61 may be set in the display interface of the waveform sequence generation device, and one or more sequence tracks are displayed in the sequence track display area 61 .
  • a sequence track 611 , a sequence track 612 and a sequence track 613 are displayed in the sequence track display area 61 , which realizes the parallel setting of multiple tracks.
  • the horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform material; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
  • one or more waveform materials can be selected from the display interface as the target waveform material, and the selected target waveform material can be sent or dragged to the sequence track.
  • the time waveform material display module can display the target waveform material in the sequence track based on the user's operation, realizing the display of the waveform material in the sequence track.
  • the target waveform material a, target waveform material b, and target waveform material c are displayed in the sequence track 611, so that the appearance of the waveform material can be displayed in real time by adopting the form of the sequence track or modality, enabling the visualization of at least one waveform material.
  • the waveform sequence creation module 502 is configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform material in the sequence track.
  • the editing operation includes at least one of the following: jump operation, loop operation, cropping operation, splicing operation, and waveform operation;
  • the waveform calculation operation is a calculation operation between target waveform materials in at least two sequence tracks.
  • Operations may include waveform superposition, waveform modulation, encryption and decryption, etc.
  • the waveform sequence creation module 502 can create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform material in the sequence track, which enables the user to Edit the waveform material in the track to create a waveform sequence that meets the needs of use, making the editing operation between waveform material segments more convenient and more intuitive, meeting the needs of editing complex signals, and improving the convenience of operation and user experience.
  • the waveform sequence can be sent to a specified channel and output.
  • the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
  • the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
  • the waveform material display module displays the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, and uses the waveform sequence creation module based on the user's operation of the target waveform material in the sequence track.
  • Editing operation creating the waveform sequence corresponding to the sequence track, realizing the real-time display of the appearance or shape of the waveform material in the form of the sequence track, and realizing the editing of the waveform material fragments directly in the sequence track to create the waveform sequence , which makes the editing operation between waveform clips more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
  • the number of sequence tracks is one or more;
  • the waveform material display module is used to display the target in at least one sequence track of the multiple sequence tracks Waveform material.
  • the target waveform material may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of target waveform clips is three, it is possible to display three target waveform clips in one sequence track and two target waveform clips in one sequence track Waveform material, display a target waveform material in another sequence track, that is, the user can determine the display position of the target waveform material according to the display requirements of the target waveform material and perform related display position selection operations. At this time, the target waveform material display module is based on the user The display position selection operation of will display the target waveform material in the sequence track selected by the user.
  • the diversified display of waveform segments is realized, so that users can combine multiple target waveforms according to editing requirements.
  • the clips are displayed in different sequence tracks, which improves the editing convenience of waveform clips.
  • a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area;
  • the waveform sequence generation device also includes a waveform material providing module, configured to: create the waveform material based on the material creation operation input by the user in the waveform material area; or, based on the user's download operation on the preset material download control , downloading the waveform material from a preset address.
  • a waveform material providing module configured to: create the waveform material based on the material creation operation input by the user in the waveform material area; or, based on the user's download operation on the preset material download control , downloading the waveform material from a preset address.
  • a waveform material area 62 can be set in the display interface, and the user can create or download waveform materials in the waveform material area 62 .
  • the user may input a material creation operation in the waveform material area, and the material creation operation may include single-click and double-click operations.
  • the waveform material providing module may create a waveform material based on the user's material creation operation.
  • the user can input a download operation to the material download control in the waveform material area, and the download operation can include a single-click operation, a long-press operation, etc.
  • the waveform material providing module can be based on the user's download operation (such as a single-click operation) ), download the waveform material from the preset address.
  • the preset address may include a local address, a network address, and the like.
  • the waveform sequence generation device further includes: an operation control module, configured to perform a corresponding operation on the waveform material based on a user's control operation on the waveform material;
  • control operation includes at least one of the following: move, merge, copy, delete.
  • the waveform material may be stored in the waveform sequence generation device, and the waveform material may be displayed in the waveform material area.
  • Waveform materials can include basic waveforms, industry standard waveforms such as medical, radar, quantum communication, and user-defined waveforms.
  • the waveform material can be displayed in the form of folders.
  • folder controls for managing waveform materials are displayed in the waveform material area 62, such as folder controls indicating basic waveforms, folder controls indicating custom waveforms, and controls indicating added folders. , controls for creating custom waveforms, and more.
  • the user can select a base waveform through a folder control indicating a base waveform, or a custom waveform through a folder control indicating a custom waveform.
  • a waveform parameter setting area 63 can also be set in the display interface, and a parameter setting box for setting parameters of the waveform material is displayed in the waveform parameter setting area 63, such as a number of points setting box, a sampling rate setting box, and a frequency setting box. , waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of points, sampling rate, frequency, waveform, cycle times, phase, high and low Edit and set the level, amplitude, offset, etc., so as to realize the parameter setting of the waveform material.
  • At least one operation control is also displayed on the display interface; the waveform sequence generation device further includes: an operation control module, configured to The operation of the operation control is to execute the operation corresponding to the target operation control.
  • the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform material saving control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control , Waveform Material Movement Control, Waveform Comment Control, Waveform Clipping Control, Track Zoom Out Control, Track Zoom In Control, Waveform Material Coloring Control, Waveform Material Delete Control, Waveform Material Copy Control, and Waveform Material Paste Control.
  • At least one operation control can be displayed in the operation control display area 64 in FIG. operation.
  • the track selection control is used to select the sequence track, so that the waveform material can be displayed in the selected sequence track.
  • the waveform sequence download control is used to download the edited waveform sequence on the selected sequence track to the specified channel.
  • the waveform segment saving control is used to save the waveform segment on the selected sequence track, so that it can be used as a waveform material.
  • the track parameter setting control is used to set the parameters of the sequence track, and the parameter can include at least one of the following: remark information, historical information, historical operation rollback settings (such as returning to the last time or last several edits), track coordinates Upper and lower limit settings, track name, and track creation time.
  • the in-phase quadrature (IQ) setting control is used to determine whether the selected control is an I-way or a Q-way.
  • the time-frequency-frequency domain switching control is used to convert the selected sequence track from the time domain presentation style to the frequency domain. Of course, it also supports the time-frequency domain conversion of a single waveform clip. The remaining waveforms will not appear in the frequency domain, only the selected ones will be displayed. individual waveform clips and convert them to the frequency domain.
  • the waveform material movement control is used to drag the waveform material, so that editing operations such as movement and splicing of the waveform material can be performed on the sequence track.
  • the waveform comment control is used to comment on the waveform material in the selected sequence track.
  • the waveform clipping control is used to clip the waveform material at the position indicated by the cursor. After clipping, the original waveform material will be divided into two and become two waveform materials, so that other waveform materials can be inserted into the clipped segment.
  • the track zoom out control is used to zoom out the selected sequence track.
  • Track zoom control used to zoom in on the selected sequence track.
  • Wave material coloring control used to color the wave material.
  • the waveform material deletion control is used to delete the waveform material. For example, you can drag the selected waveform material out of the sequence track or click the waveform material deletion control to realize the deletion function.
  • Track waveform save control used to save the waveform material on all sequence tracks.
  • Wave material copy control used to copy wave material.
  • the wave material paste control is used to paste the copied wave material so that the creation of the wave can be repeated.
  • the user can select any of the above-mentioned operation controls as the target operation control according to the requirements, and input control operations to the target operation control.
  • the operation control module in the waveform sequence generation device is based on the user's control operation on the target operation control , execute the operation corresponding to the target operation control, such as the sequence track selection corresponding to the track selection control, the waveform sequence download corresponding to the waveform sequence download control, and the waveform material saving corresponding to the waveform material saving control, etc., thus realizing the operation control corresponding function.
  • control operation for the target operation control may be a click operation, a double-click operation, a drag operation, etc., which are not specifically limited here.
  • a waveform playing area is also displayed on the display interface; the waveform sequence generation device further includes: a waveform material playing module, configured to play the waveform selected by the user in the waveform playing area.
  • the waveform materials selected by the user include waveform materials that have not been edited or waveform materials in the waveform sequence.
  • the waveform material playback module can play the waveform material selected by the user in the waveform playback area, so as to realize the dynamic presentation of the selected waveform material.
  • the waveform material selected by the user includes the waveform material that has not been edited, that is, the waveform material that has not been edited can be played in the waveform playback area; in addition, the waveform material selected by the user also includes the waveform material.
  • the waveform material in the sequence, that is, after the waveform sequence is created play the waveform material in the created waveform sequence in the waveform playback area.
  • the waveform material selected by the user includes: the waveform material after the first target waveform position; or, the waveform material between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
  • the waveform material playback module can play the waveform material after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform material between the first target waveform position and the second target waveform position in the waveform playback area.
  • this embodiment uses the waveform material display module to display the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, and uses the waveform sequence creation module based on the user's operation in the sequence track.
  • the editing operation of the target waveform material creates the waveform sequence corresponding to the sequence track, realizes the appearance or form of the waveform material in the form of the sequence track, and realizes the editing and creation of the waveform material directly in the sequence track.
  • Obtaining the waveform sequence makes the editing operation between waveform materials more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
  • the embodiment of the present application also provides a waveform sequence generation method, as shown in FIG. 7, the waveform sequence generation method may include the following steps:
  • Step 701 Based on the user's operation of sending or dragging the target waveform material to the sequence track, display the target waveform material in the sequence track.
  • sequence track is displayed on the display interface of the electronic device, and the target waveform material is at least one of the waveform materials displayed on the display interface.
  • the electronic device may be a waveform sequence generating device.
  • a sequence track display area 61 may be set in the display interface, and one or more sequence tracks are displayed in the sequence track display area 61 .
  • a sequence track 611 , a sequence track 612 and a sequence track 613 are displayed in the sequence track display area 61 .
  • the target waveform material can be displayed in the sequence track.
  • Step 702 Based on the user's editing operation on the target waveform material in the sequence track, create a waveform sequence corresponding to the sequence track.
  • the waveform sequence corresponding to the sequence track can be created based on the user's editing operation on the target waveform material in the sequence track, which enables the user to edit the waveform material in the sequence track to create a waveform that meets the needs of the user.
  • the waveform sequence realizes the editing operation between waveform materials more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
  • the number of the sequence track is one or more; when the number of the sequence track is multiple and the target waveform material is multiple, the sequence When the target waveform material is displayed in a track, the target waveform material may be displayed in at least one sequence track among the plurality of sequence tracks.
  • a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area;
  • the waveform material can also be created based on the material creation operation input by the user in the waveform material area; or, based on the user's control of the preset material download
  • the download operation is to download the waveform material from the preset address.
  • a corresponding operation may be performed on the waveform material based on the user's control operation on the waveform material; wherein the control operation includes at least one of the following: moving, merging , copy, delete.
  • the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Operations between target waveform materials in sequence tracks.
  • the target waveform material is displayed in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, and the sequence track is created based on the user's editing operation on the target waveform material in the sequence track
  • the corresponding waveform sequence realizes the real-time display of the appearance or shape of the waveform material in the form of a sequence track, and realizes the editing of the waveform material directly in the sequence track to create a waveform sequence, making the editing between waveform materials
  • the operation is more convenient and more intuitive, which meets the needs of editing complex signals and improves the convenience of operation and user experience.
  • the execution subject may be the waveform sequence generation device in the above embodiment, or the control module in the waveform sequence generation device for executing the waveform sequence generation method .
  • the waveform sequence generation device provided by the above-mentioned embodiment can realize all the method steps and beneficial effects of the above-mentioned waveform sequence generation method embodiment. The same steps and beneficial effects in the device are described in detail.
  • the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence generation method.
  • Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 .
  • the processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
  • the target waveform material is displayed in the sequence track, wherein the sequence track is displayed on the display interface of the electronic device, and the target waveform material is all At least one of the waveform materials displayed on the display interface;
  • a waveform sequence corresponding to the sequence track is created.
  • the number of the sequence track is one or more; when the number of the sequence track is multiple and the target waveform material is multiple, the sequence Displaying the target waveform material in a track includes: displaying the target waveform material in at least one sequence track among the plurality of sequence tracks.
  • a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area;
  • the operation, before displaying the target waveform material in the sequence track further includes: creating the waveform material based on the material creation operation input by the user in the waveform material area; or, downloading the preset material based on the user The download operation of the control downloads the waveform material from a preset address.
  • a corresponding operation is performed on the waveform material; wherein the control operation includes at least one of the following: move, merge, copy ,delete.
  • the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Operations between target waveform materials in sequence tracks.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence generation method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip, system-on-chip, or system-on-chip.
  • the waveform sequence processing device includes a waveform segment display module 801, a waveform effect material display module 802, a waveform effect processing module 803 and a waveform sequence processing module 804; wherein,
  • the waveform segment display module 801 is configured to display at least one waveform segment in the sequence track displayed on the display interface.
  • the sequence track is displayed on the display interface of the waveform sequence processing device.
  • a sequence track display area 91 may be set in the display interface of the waveform sequence processing device, and one or more sequence tracks are displayed in the sequence track display area 91 .
  • a sequence track 911 , a sequence track 912 and a sequence track 913 are displayed in the sequence track display area 91 , which realizes the parallel setting of multiple tracks.
  • the horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform segment; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
  • the waveform sequence processing apparatus may display at least one waveform segment in the sequence track through the waveform segment display module 801 .
  • waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 911, so that the appearance or form of the waveform segment can be displayed in real time by adopting the form of a sequence track, Segment-to-segment differences enabling visualization of at least one waveform segment.
  • the waveform effect material display module 802 is configured to display the target waveform effect material at a preset position of the first target waveform segment based on the user's operation of sending or dragging the target waveform effect material to the sequence track.
  • the target waveform effect material is at least one of the waveform effect materials displayed in the display interface
  • the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or the at least one waveform Arbitrary Waveform Segment in Segment.
  • the waveform effect material may include at least one of the following: noise adding effect material, filter effect material, modulation effect material, and encryption and decryption effect material.
  • the display interface of the waveform sequence processing device can also display an effect material area.
  • an effect material area As an example, as shown in FIG. 9 , in the effect material area 92 in the display interface, controls corresponding to noise-adding effect materials, controls corresponding to filtering effect materials, controls corresponding to modulation effect materials, and encryption and decryption effects can be displayed. The controls corresponding to the material, etc.
  • the user can send or drag the target waveform effect material to the sequence track.
  • the waveform effect material display module in the waveform sequence processing device can be based on the user
  • the operation of sending or dragging the target wave effect material to the sequence track displays the target wave effect material at the preset position of the first target wave segment.
  • the preset position may be a 1/3 area of the first target waveform segment, and the 1/3 area may be the left, middle or right 1/3 area of the first target waveform segment, which is not mentioned here. Make specific restrictions.
  • the first target waveform segment may be a waveform segment or an arbitrary waveform segment selected by the user.
  • the first target waveform segment may be waveform segment a.
  • the waveform effect processing module 803 is configured to add an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment.
  • the waveform effect processing module can add the effect corresponding to the target waveform effect material to the first target waveform segment to obtain the second target waveform segment. Clips are processed with effects to meet the needs of editing complex signals.
  • the effect corresponding to the noise adding effect material is noise adding
  • the corresponding effect of the filtering effect material is filtering
  • the corresponding effect of the modulation effect material is modulation
  • the corresponding effect of the encryption and decryption effect material is encryption and decryption.
  • the waveform sequence processing module 804 is configured to create a waveform sequence corresponding to the first sequence track based on the user's first editing operation on the second target waveform segment in the first sequence track.
  • the first sequence track is the sequence track where the second target waveform segment is located.
  • the first editing operation may include at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation.
  • the waveform calculation operation is a calculation operation between the second target waveform segment and the waveform segment in the third sequence track, wherein the third sequence track is different from the first sequence track.
  • Operations may include waveform superposition, waveform modulation, encryption and decryption, etc.
  • the waveform sequence processing module 804 may create a waveform sequence corresponding to the first sequence track based on the user's first editing operation on the second target waveform segment in the first sequence track.
  • the waveform sequence can be sent to a specified channel and output.
  • the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
  • the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
  • the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and the waveform effect material display module based on the user's operation of sending or dragging the target waveform effect material to the sequence track, in the first
  • the target waveform effect material is displayed at the preset position of the target waveform segment, and the corresponding effect of the target waveform effect material is added to the first target waveform segment by the waveform effect processing module to obtain the second target waveform segment
  • the waveform sequence processing module is based on the user's
  • the first editing operation on the second target waveform segment in the first sequence track creates the waveform sequence corresponding to the first sequence track, realizing the real-time display of the appearance/morphology of the waveform segment, segment and segment in the form of sequence track It realizes the addition of effects to waveform segments and directly edits waveform segments in the sequence track to create a waveform sequence, which makes the editing operation between waveform segments more convenient and intuitive, and satisfies the needs of editing complex signals. It improves the operation
  • the waveform sequence processing device further includes a waveform segment acquisition module, configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
  • a waveform segment acquisition module configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
  • the waveform processing device may receive or create at least one waveform segment through the waveform segment acquisition module, and then display the received or created at least one waveform segment in the sequence track through the waveform display module.
  • a waveform management area 93 can be set in the display interface, and controls for managing waveforms are displayed in the waveform management area 93, such as folders indicating basic waveforms controls, folder controls to indicate custom waveforms, controls to add folders, controls to create custom waveforms, etc.
  • the user can select the basic waveform through the folder control indicating the basic waveform, or select the custom waveform through the folder control indicating the custom waveform.
  • the waveform segment acquisition module can receive the waveform segment selected by the user based on the user's selection; in addition , the user can create a custom waveform through the control indicating to create a custom waveform.
  • the waveform segment acquisition module can create a waveform segment based on the user's creation operation.
  • a waveform parameter setting area 94 can also be set in the display interface, and a parameter setting box for setting the parameters of the waveform segment is displayed in the waveform parameter setting area 94, such as point number setting box, sampling rate setting box, frequency setting box, waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of waveform points, sampling rate, Edit and set frequency, waveform, cycle times, phase, high and low levels, amplitude, offset, etc., so as to realize the setting of waveform parameters.
  • the waveform segment acquisition module can create waveform segments based on the user's setting operation on the waveform.
  • the number of sequence tracks is one or more;
  • the waveform segment display module is configured to display at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
  • At least one waveform segment may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of waveform clips is three, you can display three waveform clips in one sequence track and two waveform clips in one sequence track, Display a waveform segment in another sequence track, that is, the user can determine the display position of the waveform segment according to the display requirements of the waveform segment and perform related display position selection operations. At this time, the waveform segment display module will display the waveform based on the user's display position selection operation. The clips are displayed in the sequence track selected by the user.
  • the diversified display of waveform segments is realized, so that users can combine multiple waveforms according to editing requirements. Segments are displayed in different sequence tracks, improving the editing convenience of waveform segments.
  • the waveform effect processing module may be used to perform any of the following:
  • the first preset range may be 1/4 area, 1/3 area, or 1/2 area, etc. of the first target waveform segment.
  • the first preset range can be used as the default additional effect range
  • the waveform effect processing module can directly add the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment to obtain the second
  • the second target waveform segment enables the user to refer to the added partial waveform segment to determine whether the selected target waveform effect material is the required waveform effect material.
  • the effect corresponding to the target waveform effect material is added to the second preset range of the first waveform segment to obtain the Describe the second target waveform segment.
  • the second preset range is an additional effect range adjusted by the user.
  • the user can input an operation for adjusting the range of effect addition to the target waveform effect material.
  • the operation can be dragging the left and right sides of the target waveform effect material to increase or decrease the effect addition range. range; at this time, the waveform effect processing module can add the effect corresponding to the target waveform effect material to the additional range of the effect adjusted by the user, so that the user can adjust the range of the waveform effect.
  • a preset range is used to obtain the second target waveform segment.
  • the first preset range can be used as the default additional effect range
  • the waveform effect processing module can directly add the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment, so that the user It can be judged whether the selected target waveform effect material is the required waveform effect material by referring to the partial waveform segment with additional effects.
  • the waveform effect processing module can adjust the first preset range based on the operation to obtain the second Two target waveform segments enable users to adjust the range of waveform effects based on their needs.
  • the waveform effect can be added to the waveform segment, and the user's demand for adding the waveform effect to the waveform segment can be met.
  • the waveform sequence processing device further includes: a waveform effect material moving module, configured to display the target waveform effect material at the preset position of the first target waveform segment, based on the user The operation of dragging the target waveform effect material to the third target waveform segment adds an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the first target waveform segment.
  • a target waveform segment is different;
  • the waveform sequence processing module is configured to create a waveform sequence corresponding to the second sequence track based on the user's second editing operation on the third target waveform segment in the second sequence track.
  • the second sequence track is the sequence track where the third target waveform segment is located. If the user needs to add the effect corresponding to the target waveform effect material to the third target waveform segment different from the first target waveform segment, he can drag the target waveform effect material to the third target waveform segment, and the wave effect material
  • the mobile module can add the effect corresponding to the target waveform effect material to the third target waveform segment based on the user's operation of dragging the target waveform effect material to the third target waveform segment; then, the waveform sequence processing module can be based on the user's second
  • the second editing operation on the third target waveform segment in the sequence track creates the waveform sequence corresponding to the second sequence track, enabling users to add waveform effects to arbitrary waveform segments and perform editing operations, satisfying the user's needs for complex signals Editing needs.
  • At least one operation control is also displayed on the display interface; the waveform sequence editing device further includes: an operation control module, configured to The control operation of the operation control executes the operation corresponding to the target operation control.
  • the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control , Waveform Segment Move Control, Waveform Comment Control, Waveform Clipping Control, Track Zoom Out Control, Track Zoom In Control, Waveform Segment Coloring Control, Waveform Segment Delete Control, Waveform Segment Copy Control, Waveform Segment Paste Control.
  • At least one operation control can be displayed in the operation control display area 95 in FIG. operation.
  • the track selection control is used to select the sequence track, so that the waveform segment can be displayed in the selected sequence track.
  • the waveform sequence download control is used to download the edited waveform sequence on the selected sequence track to the specified channel.
  • the waveform clip saving control is used to save the waveform clip on the selected sequence track, so that it can be used as a waveform clip material.
  • the track parameter setting control is used to set the parameters of the sequence track, and the parameter can include at least one of the following: remark information, historical information, historical operation rollback settings (such as returning to the last time or last several edits), track coordinates Upper and lower limit settings, track name, and track creation time.
  • the in-phase quadrature (IQ) setting control is used to determine whether the selected control is an I-way or a Q-way.
  • the time-frequency-frequency domain switching control is used to convert the selected sequence track from the time domain presentation style to the frequency domain. Of course, it also supports the time-frequency domain conversion of a single waveform segment. The remaining waveforms will not appear in the frequency domain, and only the selected one will be displayed. individual waveform segments and transform them into the frequency domain.
  • the waveform segment movement control is used to drag the waveform segment, so that editing operations such as movement and splicing of the waveform segment can be performed on the sequence track.
  • the waveform comment control is used to comment on the waveform segment in the selected sequence track.
  • the waveform clipping control is used to clip the waveform segment at the position indicated by the cursor. After clipping, the original waveform segment will be divided into two and become two waveform segments, so that other waveform segments can be inserted into the trimmed segment.
  • the track zoom out control is used to zoom out the selected sequence track.
  • Track zoom control used to zoom in on the selected sequence track.
  • Wave segment coloring controls for coloring waveform segments.
  • the waveform segment deletion control is used to delete the waveform segment. For example, you can drag the selected waveform segment out of the sequence track or click the waveform segment deletion control to realize the deletion function.
  • Track waveform save control used to save waveform clips on all sequence tracks.
  • Waveform segment copy control used to copy waveform segments.
  • Waveform segment paste control used to paste copied waveform segments, making it possible to repeat the creation of waveforms.
  • the user can select any of the above-mentioned operation controls as the target operation control according to the requirement, and input control operations to the target operation control.
  • the operation control module in the waveform sequence processing device is based on the user's control operation on the target operation control , execute the operation corresponding to the target operation control, such as the sequence track selection corresponding to the track selection control, the waveform sequence download corresponding to the waveform sequence download control, and the waveform segment saving corresponding to the waveform segment saving control, etc., thus realizing the operation control corresponding function.
  • control operation for the target operation control may be a click operation, a double-click operation, a drag operation, etc., which are not specifically limited here.
  • a waveform playing area is also displayed on the display interface; the waveform sequence processing device further includes: a waveform segment playing module, configured to play the waveform selected by the user in the waveform playing area.
  • the waveform segment selected by the user includes the waveform segment without editing operation or the waveform segment in the waveform sequence.
  • the waveform segment playback module can play the user-selected waveform segment in the waveform playback area, thereby realizing the dynamic presentation of the selected waveform segment.
  • the waveform segment selected by the user includes the waveform segment that has not been edited, that is, the waveform segment that has not been edited can be played in the waveform playback area; in addition, the waveform segment selected by the user also includes the waveform segment.
  • the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
  • the waveform segment playback module can play the waveform segment after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform segment between the first target waveform position and the second target waveform position in the waveform playback area.
  • the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface
  • the waveform effect material display module sends or drags the target waveform effect material to the sequence track based on the operation of the user.
  • the target waveform effect material is displayed at the preset position of the first target waveform segment, and the corresponding effect of the target waveform effect material is added to the first target waveform segment by the waveform effect processing module to obtain the second target waveform segment, and the waveform sequence processing module is based on
  • the user performs the first editing operation on the second target waveform segment in the first sequence track to create a waveform sequence corresponding to the first sequence track, realizing the real-time display of the appearance/morphology of the waveform segment in the form of a sequence track.
  • the demand for signals improves the convenience of operation and user experience.
  • the waveform sequence processing method may include the following steps:
  • Step 1001 Display at least one waveform segment in a sequence track displayed on a display interface of the electronic device.
  • the electronic device may be a waveform sequence processing device.
  • a sequence track display area 91 may be set in the display interface, and one or more sequence tracks are displayed in the sequence track display area 91 .
  • a sequence track 911 , a sequence track 912 and a sequence track 913 are displayed in the sequence track display area 91 .
  • At least one waveform segment can be displayed in the sequence track.
  • Step 1002 Based on the user's operation of sending or dragging the target waveform effect material to the sequence track, display the target waveform effect material at a preset position of the first target waveform segment.
  • the target waveform effect material is at least one of the waveform effect materials displayed on the display interface
  • the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or any of the at least one waveform segment. Waveform fragment.
  • Step 1003 Add an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment.
  • the effect corresponding to the target waveform effect material can be added to the first target waveform segment to obtain the second target waveform segment, realizing the addition of the waveform effect to the waveform segment in the sequence track.
  • Step 1004 Based on the user's first editing operation on the second target waveform segment in the first sequence track, create a waveform sequence corresponding to the first sequence track.
  • the first sequence track is the sequence track where the second target waveform segment is located.
  • the waveform sequence corresponding to the first sequence track can be created based on the user's first editing operation on the second target waveform segment in the first sequence track, which enables the user to edit the waveform segment in the sequence track Perform editing operations to create waveform sequences that meet the needs of use, making the editing operations between waveform segments more convenient and more intuitive, meeting the needs of editing complex signals, and improving the convenience of operation and user experience.
  • the electronic device before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, it further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction .
  • the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least When a waveform segment is selected, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks.
  • the adding an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment includes any one of the following:
  • the target waveform effect material Based on the user's operation on the target waveform effect material for adjusting the additional range of the effect, add the effect corresponding to the target waveform effect material to the second preset range of the first waveform segment, and obtain the second The target waveform segment; wherein, the second preset range is the additional range of the effect adjusted by the user;
  • a preset range is used to obtain the second target waveform segment.
  • the target waveform effect material Based on the user's operation of dragging the target waveform effect material to a third target waveform segment, adding an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the third target waveform segment.
  • the first target waveform segment is different;
  • a waveform sequence corresponding to the second sequence track is created.
  • the waveform effect material includes at least one of the following: noise addition effect material, filter effect material, modulation effect material, and encryption and decryption effect material.
  • At least one waveform segment is displayed in the sequence track displayed on the display interface, and based on the user's operation of sending or dragging the target waveform effect material to the sequence track, the target is displayed at the preset position of the first target waveform segment Waveform effect material, add the effect corresponding to the target waveform effect material to the first target waveform segment to obtain the second target waveform segment, based on the user's first editing operation on the second target waveform segment in the first sequence track, create the second target waveform segment
  • the waveform sequence corresponding to a sequence track realizes the form of a sequence track, real-time display of the appearance/morphology of the waveform segment, the difference between segments, and realizes additional effects on the waveform segment and directly in the sequence track. Edit the waveform segments to create a waveform sequence, which makes the editing operation between waveform segments more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
  • the waveform sequence processing method provided in the embodiment of the present application can be executed by the waveform sequence processing device in the above embodiment, or the control module used to execute the waveform sequence processing method in the waveform sequence processing device .
  • the waveform sequence processing device provided in the above embodiment can realize all the method steps and beneficial effects of the above embodiment of the waveform sequence processing method. In order to avoid repetition, the waveform sequence processing method in this embodiment and the waveform sequence processing in the above method embodiment will not be discussed here. The same steps and beneficial effects in the device are described in detail.
  • the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence processing method.
  • Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 .
  • the processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
  • the target waveform effect material is the display interface
  • the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment;
  • a waveform sequence corresponding to the first sequence track is created, and the first sequence track is the second target waveform segment sequence track.
  • the method before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the method further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction.
  • the number of sequence tracks is one or more;
  • the displaying at least one waveform segment in the sequence tracks displayed on the display interface of the electronic device includes: displaying in at least one sequence track among the plurality of sequence tracks At least one waveform segment.
  • the adding an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment includes any one of the following:
  • the target waveform effect material Based on the user's operation on the target waveform effect material for adjusting the additional range of the effect, add the effect corresponding to the target waveform effect material to the second preset range of the first waveform segment, and obtain the second The target waveform segment; wherein, the second preset range is the additional range of the effect adjusted by the user;
  • a preset range is used to obtain the second target waveform segment.
  • the target waveform effect material Based on the user's operation of dragging the target waveform effect material to a third target waveform segment, adding an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the third target waveform segment.
  • the first target waveform segment is different;
  • a waveform sequence corresponding to the second sequence track is created.
  • the waveform effect material includes at least one of the following: noise addition effect material, filter effect material, modulation effect material, and encryption and decryption effect material.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence processing method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the waveform sequence creation device includes a waveform segment display module 1101, a waveform parameter setting module 1102 and a waveform sequence creation module 1103; wherein,
  • Waveform parameter setting module 1102 configured to set the parameters of the first target waveform segment based on the user's setting operation on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment
  • the waveform segment is a waveform segment selected by the user in the at least one waveform segment
  • a waveform sequence creation module 1103, configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the second target waveform segment in the sequence track.
  • sequence tracks are displayed on the display interface of the waveform sequence creating device.
  • a sequence track display area 121 may be set in the display interface of the waveform sequence creation device, and one or more sequence tracks are displayed in the sequence track display area 121 .
  • a sequence track 1211 , a sequence track 1212 and a sequence track 1213 are displayed in the sequence track display area 121 in FIG. 12 , realizing the parallel setting of multiple tracks.
  • the horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform segment; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
  • the apparatus for creating a waveform sequence can display at least one waveform segment in the sequence track through the waveform segment display module 1101 .
  • waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 1211, so that the appearance or shape of the waveform segment can be displayed in real time by adopting the form of a sequence track, Segment-to-segment differences enabling visualization of at least one waveform segment.
  • the user can select the first target waveform segment that requires parameter setting, and set the parameters of the first target waveform segment.
  • the waveform parameter setting module 1102 can be based on the user's first
  • the parameter setting operation of the target waveform segment is to set the parameters of the first target waveform segment to obtain the second target waveform segment, realize the editing of the parameters of the waveform segment, and display the second target after parameter editing in the sequence track
  • the waveform segment displays the appearance or shape of the waveform segment after parameter editing in real time.
  • first target waveform segment may be one or more of at least one waveform segment, and the number of the first target waveform segment is not limited here.
  • the waveform sequence creation module 1103 can edit the second target waveform segment based on the user's sequence track Operation to create the waveform sequence corresponding to the sequence track, which enables the user to edit the waveform segment in the sequence track to create a waveform sequence that meets the needs of the user, making the editing operation between the waveform segments more convenient and intuitive. It meets the needs of editing complex signals and improves the convenience of operation and user experience.
  • the editing operation can be set by the user based on actual needs, so that after the user performs the editing operation on the second target waveform segment in the sequence track, the waveform sequence that meets the usage requirements can be obtained.
  • the waveform sequence can be sent to a specified channel and output.
  • the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
  • the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
  • the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface
  • the waveform parameter setting module is based on the user's setting operation of the parameters of the first target waveform segment.
  • the parameters are set to obtain the second target waveform segment, and the waveform sequence corresponding to the sequence track is created through the waveform sequence creation module based on the user's editing operation on the second target waveform segment in the sequence track, realizing the use of the sequence track form.
  • the waveform sequence creation device further includes a waveform segment acquisition module, configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
  • a waveform segment acquisition module configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
  • the waveform creating device can receive or create at least one waveform segment through the waveform segment acquisition module, and then send the at least one waveform segment to the waveform segment display module, and the waveform display module will display the received or created at least one waveform segment in a sequence in orbit.
  • a waveform management area 122 can be set in the display interface, and controls for managing waveforms are displayed in the waveform management area 122, such as folders indicating basic waveforms. controls, folder controls to indicate custom waveforms, controls to add folders, controls to create custom waveforms, etc.
  • the user can select the basic waveform through the folder control indicating the basic waveform, or select the custom waveform through the folder control indicating the custom waveform.
  • the waveform segment acquisition module can receive the waveform segment selected by the user based on the user's selection; in addition , the user can create a custom waveform through the control indicating to create a custom waveform.
  • the waveform segment acquisition module can create a waveform segment based on the user's creation operation.
  • the number of sequence tracks is one or more;
  • the waveform segment display module is configured to display at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
  • At least one waveform segment may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of waveform clips is three, you can display three waveform clips in one sequence track and two waveform clips in one sequence track, Display a waveform segment in another sequence track, that is, the user can determine the display position of the waveform segment according to the display requirements of the waveform segment and perform related display position selection operations. At this time, the waveform segment display module will display the waveform based on the user's display position selection operation. The clips are displayed in the sequence track selected by the user.
  • the diversified display of waveform segments is realized, allowing users to edit multiple Each waveform segment is displayed in a different sequence track, which improves the editing convenience of the waveform segment.
  • the parameters of the waveform segment above include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, number of cycles, high level, low level , amplitude.
  • a waveform parameter editing area 123 can be set in the display interface, and a parameter setting box for setting the parameters of the waveform segment is displayed in the waveform parameter editing area 123, such as a points setting box, a sampling Rate setting box, frequency setting box, waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of waveform points, sampling rate, frequency, waveform , cycle times, phase, high and low level, amplitude, offset, etc. to edit and set the parameters of the waveform segment.
  • the parameters of the first target waveform segment can be set through the above-mentioned parameter setting box. Parameter setting operation, set the parameter.
  • the editing operation on the second target waveform segment includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation operation;
  • the waveform calculation operation is a calculation operation between target waveform segments in at least two sequence tracks.
  • the calculation operations between the second target waveform segments in at least two sequence tracks may include waveform superposition, waveform modulation, encryption and decryption, etc. frequency to high frequency range.
  • the jump operation means that the second target waveform segment jumps to before or after other waveform segments;
  • the loop operation means that the second target waveform segment is cyclically displayed in the sequence track;
  • the clipping operation means that the second target waveform segment is cut into Two waveform segments, so that other waveform segments can be inserted between the two waveform segments to form a new waveform segment;
  • splicing operation refers to splicing the second target waveform segment and other waveform segments together.
  • a functional area for editing operations may be displayed on the display interface.
  • an operation control display area 124 may be provided on the display interface, and a segment information setting control is displayed in the operation control display area 124 .
  • the segment information setting control can be clicked, and a setting box is displayed on the display interface at this time, and the setting parameters in the setting box can include jumping to the nth segment, looping n times, etc.; Then the user can perform a jump operation, a loop operation, etc. of the second target waveform segment based on the setting parameters in the setting frame, so as to realize the editing operation for the second target waveform segment.
  • each waveform segment displayed in the sequence track supports an external trigger operation
  • the waveform sequence creation module can create a waveform sequence based on the external trigger operation.
  • the implementation of the external trigger operation can be as follows: the user sets a rule related to the trigger signal when outputting the waveform segment a, the rule can be that when the waveform segment a is ready to be output, the waveform segment a is not started until the external trigger signal is received, At this time, the waveform sequence creation device only starts to output the waveform segment a after receiving the externally transmitted trigger signal, so that the editing operation of the waveform segment can be realized according to the output sequence of the waveform segment; the implementation of the external trigger operation can also be: The user sets the rules related to the trigger signal when outputting the waveform segment a.
  • the rule can force the waveform segment a to jump before or after the specified other segment.
  • the waveform sequence creation device receives After the externally transmitted trigger signal, according to the set rules, the waveform segment a is forced to jump before or after other specified segments and start outputting, so that the editing operation of the waveform segments can be realized according to the output sequence of the waveform segments.
  • At least one of the following operation controls is displayed on the display interface: hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls;
  • the waveform sequence creation device also includes:
  • An operation control module for performing at least one of the following:
  • a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and fit between two points;
  • a form is displayed on the display interface, wherein the name of the parameter and the setting box of the parameter are displayed in the form, which is used to set the third target
  • the parameters of the waveform segment are set, and the third target waveform segment is the waveform segment selected by the user before performing the second control operation;
  • control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the user performing the third Controls the previously selected waveform segment.
  • first control operation, the second control operation, and the third control operation may all be click operations, double-click operations, long-press operations, etc., which are not specifically limited here.
  • controls such as hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls may also be set in the operation control display area 124 .
  • the operation control module can control the first control operation to pop up a hand-drawn drawing board on the display interface.
  • the hand-drawn drawing board has two forms of use. One can be used to draw waveforms of any shape, and the other can be used for interpolation fitting, that is, the number of points can be increased arbitrarily, and a straight line can be automatically fitted between two points. In this way, the user can create waveforms according to actual needs by controlling and displaying the hand-drawn drawing board through the operation control module.
  • the third target waveform segment is a segment selected by the user based on requirements and needs to be parameterized.
  • the user can control the form editing control through a second control operation (for example, click).
  • the operation control module can control the pop-up on the display interface for the second control operation.
  • a form Specifically, the name of the parameter and the parameter setting box are displayed in the form, so that the user can set the parameter of the third target waveform segment through the form, and realize the adjustment of the details of the waveform.
  • the fourth target waveform segment is a segment selected by the user based on requirements for parameter setting.
  • the user can control the time-frequency domain conversion control through a third control operation (for example, click).
  • the operation control module can control the fourth target waveform segment for the third control operation.
  • the sequence track is switched from the time-domain track to the frequency-domain track, showing the form of the signal in the frequency domain, so that complex signal processing can be performed, such as modulation, filtering, and spectrum shifting.
  • a waveform playing area is also displayed on the display interface; the waveform sequence editing device further includes: a waveform segment playing module, configured to play the waveform selected by the user in the waveform playing area.
  • the waveform segment selected by the user includes the waveform segment without editing operation or the waveform segment in the waveform sequence.
  • the waveform segment playback module can play the user-selected waveform segment in the waveform playback area, thereby realizing the dynamic presentation of the selected waveform segment.
  • the waveform segment selected by the user includes the waveform segment that has not been edited, that is, the waveform segment that has not been edited can be played in the waveform playback area; in addition, the waveform segment selected by the user also includes the waveform segment.
  • the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
  • the waveform segment playback module can play the waveform segment after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform segment between the first target waveform position and the second target waveform position in the waveform playback area.
  • the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and uses the waveform parameter setting module to set the parameters of the first target waveform segment based on the user's setting operation.
  • the parameters of the segment are set to obtain the second target waveform segment, and the waveform sequence corresponding to the sequence track is created through the waveform sequence creation module based on the user's editing operation on the second target waveform segment in the sequence track, realizing the use of the sequence track Form, real-time display of the appearance or shape of the waveform segment, the difference between the segments, and realize the setting of the parameters of the waveform segment directly in the sequence track, and the jumping and splicing of the waveform segment after parameter editing, etc. Editing operations, creating waveform sequences, making parameter editing of waveform segments and editing operations between waveform segments more convenient, meeting the needs of editing complex signals, and improving operation convenience and user experience.
  • the embodiment of the present application also provides a waveform sequence creation method, as shown in Figure 13, the waveform sequence creation method may include the following steps:
  • Step 1301 Display at least one waveform segment in a sequence track displayed on a display interface of the electronic device.
  • a sequence track display area 121 may be set in the display interface of the waveform sequence creation device, and one or more sequence tracks are displayed in the sequence track display area 121 .
  • a sequence track 1211 , a sequence track 1212 and a sequence track 1213 are displayed in the sequence track display area 121 .
  • At least one waveform segment can be displayed in the sequence track.
  • Step 1302 Based on the user's setting operation on the parameters of the first target waveform segment, set the parameters of the first target waveform segment to obtain a second target waveform segment.
  • the first target waveform segment is a waveform segment selected by a user in at least one waveform segment.
  • Step 1303 Based on the user's editing operation on the second target waveform segment in the sequence track, create a waveform sequence corresponding to the sequence track.
  • the parameters of the first target waveform segment are set to obtain the second waveform segment.
  • the target waveform segment based on the user's editing operation on the second target waveform segment in the sequence track, creates the waveform sequence corresponding to the sequence track, and realizes the appearance or shape of the waveform segment in the form of a sequence track in real time.
  • the at least one waveform segment before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the at least one waveform segment may also be received or created based on a user's waveform segment acquisition instruction.
  • the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least When a waveform segment is selected, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks.
  • a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and fits a straight line between two points;
  • a form is displayed on the display interface, wherein the name of the parameter and the setting box of the parameter are displayed in the form, which is used to set the third target
  • the parameters of the waveform segment are set, and the third target waveform segment is the waveform segment selected by the user before performing the second control operation;
  • control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the user performing the third Controls the previously selected waveform segment.
  • the parameters include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, number of cycles, high level, low level, and amplitude.
  • the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Arithmetic operations between second target waveform segments within a sequence track.
  • the execution subject may be the waveform sequence creation device in the above embodiment, or the control module in the waveform sequence creation device for executing the waveform sequence creation method .
  • the waveform sequence creation device provided by the above-mentioned embodiment can realize all the method steps and beneficial effects of the above-mentioned waveform sequence creation method embodiment. The same steps and beneficial effects in the device are described in detail.
  • the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence creation method.
  • Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 .
  • the processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
  • the parameters of the first target waveform segment are set to obtain a second target waveform segment, wherein the first target waveform segment is the at least one waveform The waveform segment selected by the user in the segment;
  • a waveform sequence corresponding to the sequence track is created.
  • the method before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the method further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction.
  • the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track is displayed in at least one of the multiple sequence tracks At least one waveform segment.
  • At least one of the following operation controls is also displayed on the display interface: hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls; the waveform sequence creation method further includes At least one of the following:
  • a hand-drawn drawing board For the user's first control operation on the hand-drawn waveform operation control, a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and Fitting a straight line between two points; for the user's second control operation on the table editing control, display a table on the display interface, wherein the name of the parameter and the value of the parameter are displayed in the table
  • the setting box is used to set the parameters of the third target waveform segment, the third target waveform segment is the waveform segment selected by the user before performing the second control operation;
  • the third control operation is to control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before performing the third control operation.
  • the parameters include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, number of cycles, high level, low level, and amplitude.
  • the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation;
  • the waveform calculation operation is a calculation operation between the second target waveform segments in at least two sequence tracks.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence creation method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

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

Abstract

Provided in the embodiments of the present application are a waveform sequence processing method and processing apparatus, and an electronic device and a storage medium. The apparatus comprises: a waveform fragment display module, which is used for displaying at least one waveform fragment in a sequence track that is displayed on a display interface; and a waveform sequence creation module, which is used for creating, on the basis of an editing operation on a target waveform fragment that is performed in the sequence track by a user, a waveform sequence which corresponds to the sequence track, wherein the target waveform fragment is a waveform fragment selected by the user from among the at least one waveform fragment. By means of the present embodiment, an editing operation between waveform fragments is made to be more convenient and intuitive.

Description

波形序列处理方法、处理装置、电子设备及存储介质Waveform sequence processing method, processing device, electronic equipment and storage medium
交叉引用cross reference
本申请要求以下中国专利申请的优先权,以下申请的全部内容通过引用结合在本申请中:This application claims priority to the following Chinese patent applications, the entire contents of which are hereby incorporated by reference in this application:
2021年10月09日提交在中国专利局、申请号为202111177951.2、发明名称为“波形序列编辑装置、方法、电子设备及存储介质”的中国专利申请;On October 09, 2021, a Chinese patent application with the application number 202111177951.2 and the title of the invention "waveform sequence editing device, method, electronic equipment and storage medium" was submitted to the China Patent Office;
2021年10月09日提交在中国专利局、申请号为202111177962.0、发明名称为“波形序列生成装置、方法、电子设备及存储介质”的中国专利申请;On October 9, 2021, a Chinese patent application with the application number 202111177962.0 and the title of the invention "waveform sequence generation device, method, electronic equipment and storage medium" was submitted to the China Patent Office;
2021年10月09日提交在中国专利局、申请号为2021111779724、发明名称为“波形序列处理装置、方法、电子设备及存储介质”的中国专利申请;On October 9, 2021, a Chinese patent application with the application number 2021111779724 and the title of the invention "waveform sequence processing device, method, electronic equipment and storage medium" was submitted to the China Patent Office;
2021年10月09日提交在中国专利局、申请号为2021111768109、发明名称为“波形序列创建装置、方法、电子设备及存储介质”的中国专利申请。On October 09, 2021, a Chinese patent application with the application number 2021111768109 and the title of the invention "waveform sequence creation device, method, electronic equipment and storage medium" was submitted to the China Patent Office.
技术领域technical field
本申请属于波形序列技术领域,尤其涉及一种波形序列处理方法、处理装置、电子设备及存储介质。The present application belongs to the technical field of waveform sequence, and in particular relates to a waveform sequence processing method, processing device, electronic equipment and storage medium.
背景技术Background technique
波形序列发生器是一种能提供各种频率、波形和输出电平电信号的设备,在通信系统测试、量子科技、复杂电磁场景模拟、高速端口接收测试等众多场景中得到了广泛的应用,比如信号发生器就是为不断满足通信技术发展的数字化需求而出现的新型信号发生器。The waveform sequence generator is a device that can provide electrical signals of various frequencies, waveforms and output levels. It has been widely used in many scenarios such as communication system testing, quantum technology, complex electromagnetic scene simulation, and high-speed port receiving testing. For example, a signal generator is a new type of signal generator that has emerged to continuously meet the digital needs of the development of communication technology.
在数学上,序列是被排成一列的对象(或事件),这样每个元素不是在其他元素之前,就是在其他元素之后,而元素之间的顺序非常重要。在波形序列编辑过程中可以将元素理解成波形,排列理解成波形的输出顺序。Mathematically, a sequence is an object (or event) that is arranged in a row such that each element is either before or after the other elements, and the order between elements is very important. In the process of waveform sequence editing, elements can be understood as waveforms, and arrangement can be understood as the output sequence of waveforms.
目前的波形序列发生器,例如模拟函数发生器(Analog Function Generator,AFG)或任意波形发生器(Arbitrary Waveform Generator,AWG)要产生实际按需编辑的波形素材,只有序列可实现。但在相关技术的仪器中,序列功能只能是将各波形段的波形数据依次存入波形查找表中,然后通过对波形查找表进行寻址操作,读出相应的波形数据,得到需要的波形序列,而这导致在实现波形的拼接、跳转等操作时不够便捷,很难直观的对任意波 进行编辑、裁剪、拼接以及轨道间运算等操作。Current waveform sequence generators, such as Analog Function Generator (AFG) or Arbitrary Waveform Generator (AWG), can only generate waveform materials that can be actually edited on demand. However, in related art instruments, the sequence function can only store the waveform data of each waveform segment in the waveform lookup table in sequence, and then read out the corresponding waveform data by performing an addressing operation on the waveform lookup table to obtain the required waveform sequence, and this makes it not convenient to implement operations such as waveform splicing and jumping, and it is difficult to intuitively perform operations such as editing, cutting, splicing, and inter-track calculations on arbitrary waveforms.
发明内容Contents of the invention
本申请实施例的目的是提供一种波形序列处理方法、处理装置、电子设备及存储介质,以解决相关技术中在实现波形的拼接、跳转等操作不便捷、不直观的问题,满足了编辑复杂信号的需求,提高了用户体验度。The purpose of the embodiments of the present application is to provide a waveform sequence processing method, processing device, electronic equipment, and storage medium to solve the problem of inconvenient and unintuitive operations in the realization of waveform splicing and jumping in related technologies, and to meet the needs of editors. The demand for complex signals improves user experience.
第一方面,本申请实施例提供了一种波形序列编辑方法,包括:在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;基于用户在所述序列轨道中对目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列;其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。In the first aspect, the embodiment of the present application provides a waveform sequence editing method, including: displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device; based on the user's editing of the target waveform segment in the sequence track Operation, creating a waveform sequence corresponding to the sequence track; wherein, the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
第二方面,本申请实施例提供了一种波形序列编辑装置,包括:波形片段显示模块,用于在显示界面所显示的序列轨道中显示至少一个波形片段;波形序列创建模块,用于基于用户在所述序列轨道中对目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列;其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。In a second aspect, the embodiment of the present application provides a waveform sequence editing device, including: a waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface; a waveform sequence creation module, configured to The editing operation on the target waveform segment in the sequence track creates a waveform sequence corresponding to the sequence track; wherein the target waveform segment is a waveform segment selected by the user in the at least one waveform segment.
第三方面,本申请实施例提供了一种波形序列生成方法,包括:基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材,其中所述序列轨道显示于电子设备的显示界面中,所述目标波形素材为所述显示界面所显示的波形素材中的至少一个;基于用户在所述序列轨道中对所述目标波形素材的编辑操作,创建得到所述序列轨道所对应的波形序列。In the third aspect, the embodiment of the present application provides a method for generating a waveform sequence, including: displaying the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, wherein the The sequence track is displayed on the display interface of the electronic device, and the target waveform material is at least one of the waveform materials displayed on the display interface; based on the user's editing operation on the target waveform material in the sequence track, Create the waveform sequence corresponding to the sequence track.
第四方面,本申请实施例提供了一种波形序列生成装置,包括:波形素材显示模块,用于基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材,其中所述序列轨道显示于所述波形序列生成装置的显示界面中,所述目标波形素材为所述显示界面所显示的波形素材中的至少一个;波形序列创建模块,用于基于用户在所述序列轨道中对所述目标波形素材的编辑操作,创建得到所述序列轨道所对应的波形序列。In the fourth aspect, the embodiment of the present application provides a waveform sequence generation device, including: a waveform material display module, configured to display the waveform material in the sequence track based on the operation of sending or dragging the target waveform material to the sequence track by the user. The target waveform material, wherein the sequence track is displayed in the display interface of the waveform sequence generation device, and the target waveform material is at least one of the waveform materials displayed on the display interface; the waveform sequence creation module is used for Based on the user's editing operation on the target waveform material in the sequence track, a waveform sequence corresponding to the sequence track is created.
第五方面,本申请实施例提供了一种波形序列处理方法,包括:在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材,其中所述目标波形效果素材为所述显示界面中所显示的波形效果素材中的至少一个,所述第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意波形片段;对所述第一目标波形片段附加所述目标波形效果素材所对应的效果, 得到第二目标波形片段;基于用户在第一序列轨道中对所述第二目标波形片段的第一编辑操作,创建得到所述第一序列轨道所对应的波形序列,所述第一序列轨道为所述第二目标波形片段所在的序列轨道。In the fifth aspect, the embodiment of the present application provides a waveform sequence processing method, including: displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device; based on the user sending or dragging the target waveform effect material to the The operation of the sequence track displays the target waveform effect material at the preset position of the first target waveform segment, wherein the target waveform effect material is at least one of the waveform effect materials displayed in the display interface, the The first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment; add the corresponding target waveform effect material to the first target waveform segment The effect is to obtain the second target waveform segment; based on the user's first editing operation on the second target waveform segment in the first sequence track, create a waveform sequence corresponding to the first sequence track, and the first sequence The track is the sequence track where the second target waveform segment is located.
第六方面,本申请实施例提供了一种波形序列处理装置,包括:波形片段显示模块,用于在显示界面所显示的序列轨道中显示至少一个波形片段;波形效果素材显示模块,用于基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材,其中所述目标波形效果素材为所述显示界面中所显示的波形效果素材中的至少一个,所述第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意波形片段;波形效果处理模块,用于对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段;波形序列处理模块,用于基于用户在第一序列轨道中对所述第二目标波形片段的第一编辑操作,创建得到所述第一序列轨道所对应的波形序列,所述第一序列轨道为所述第二目标波形片段所在的序列轨道。In the sixth aspect, the embodiment of the present application provides a waveform sequence processing device, including: a waveform segment display module, used to display at least one waveform segment in the sequence track displayed on the display interface; a waveform effect material display module, used to display the waveform based on When the user sends or drags the target waveform effect material to the sequence track, the target waveform effect material is displayed at the preset position of the first target waveform segment, wherein the target waveform effect material is in the display interface In at least one of the displayed waveform effect materials, the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment; a waveform effect processing module, It is used to add the effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment; the waveform sequence processing module is used to base the user on the second target in the first sequence track The first editing operation of the waveform segment is to create a waveform sequence corresponding to the first sequence track, where the first sequence track is the sequence track where the second target waveform segment is located.
第七方面,本申请实施例提供了一种波形序列创建方法,包括:在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;基于用户对第一目标波形片段的参数的设置操作,对所述第一目标波形片段的所述参数进行设置,得到第二目标波形片段,其中所述第一目标波形片段为所述至少一个波形片段中用户所选中的波形片段;基于用户在所述序列轨道中对所述第二目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列。In the seventh aspect, the embodiment of the present application provides a waveform sequence creation method, including: displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device; based on the user's setting operation on the parameters of the first target waveform segment, Setting the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment; The editing operation on the second target waveform segment in the sequence track creates a waveform sequence corresponding to the sequence track.
第八方面,本申请实施例提供了一种波形序列创建装置,包括:波形片段显示模块,用于在显示界面所显示的序列轨道中显示至少一个波形片段;波形参数设置模块,用于基于用户对第一目标波形片段的参数的设置操作,对所述第一目标波形片段的所述参数进行设置,得到第二目标波形片段,其中所述第一目标波形片段为所述至少一个波形片段中用户所选中的波形片段;波形序列创建模块,用于基于用户在所述序列轨道中对所述第二目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列。In an eighth aspect, the embodiment of the present application provides a waveform sequence creation device, including: a waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface; a waveform parameter setting module, configured to For the setting operation of the parameters of the first target waveform segment, the parameters of the first target waveform segment are set to obtain a second target waveform segment, wherein the first target waveform segment is one of the at least one waveform segment A waveform segment selected by the user; a waveform sequence creation module configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the second target waveform segment in the sequence track.
第九方面,本申请实施例提供了一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面、第三方面、第五方面或第七方面所述的方法的步骤。In the ninth aspect, the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is processed by the implement the steps of the method described in the first aspect, the third aspect, the fifth aspect or the seventh aspect when executed by a device.
第十方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如第一方面、第三方面、第五方面或第七方面所述的方法的步骤。In a tenth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the first aspect, the third aspect, and The step of the method described in the fifth aspect or the seventh aspect.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in this application. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本申请实施例中波形序列编辑装置的模块组成示意图;Fig. 1 is a schematic diagram of the module composition of the waveform sequence editing device in the embodiment of the present application;
图2为本申请实施例中波形序列编辑装置的显示界面的示意图;Fig. 2 is a schematic diagram of the display interface of the waveform sequence editing device in the embodiment of the present application;
图3为本申请实施例中波形序列编辑方法的流程示意图;FIG. 3 is a schematic flow diagram of a waveform sequence editing method in an embodiment of the present application;
图4为本申请实施例中电子设备的结构示意图;FIG. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application;
图5为本申请实施例中波形序列生成装置的模块组成示意图;5 is a schematic diagram of the module composition of the waveform sequence generation device in the embodiment of the present application;
图6为本申请实施例中波形序列生成装置的显示界面的示意图;6 is a schematic diagram of a display interface of a waveform sequence generation device in an embodiment of the present application;
图7为本申请实施例中波形序列生成方法的流程示意图;FIG. 7 is a schematic flow diagram of a method for generating a waveform sequence in an embodiment of the present application;
图8为本申请实施例中波形序列处理装置的模块组成示意图;FIG. 8 is a schematic diagram of the module composition of the waveform sequence processing device in the embodiment of the present application;
图9为本申请实施例中波形序列处理装置的显示界面的示意图;9 is a schematic diagram of the display interface of the waveform sequence processing device in the embodiment of the present application;
图10为本申请实施例中波形序列处理方法的流程示意图;FIG. 10 is a schematic flowchart of a waveform sequence processing method in an embodiment of the present application;
图11为本申请实施例中波形序列创建装置的模块组成示意图;11 is a schematic diagram of the module composition of the waveform sequence creation device in the embodiment of the present application;
图12为本申请实施例中波形序列创建装置的显示界面的示意图;Fig. 12 is a schematic diagram of the display interface of the waveform sequence creation device in the embodiment of the present application;
图13为本申请实施例中波形序列创建方法的流程示意图。FIG. 13 is a schematic flowchart of a method for creating a waveform sequence in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的波形序列编辑装置进行详细地说明。The waveform sequence editing device provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,该波形序列编辑装置包括波形片段显示模块101和波形序列创建模块102; 其中,As shown in Figure 1, the waveform sequence editing device includes a waveform segment display module 101 and a waveform sequence creation module 102; wherein,
波形片段显示模块101,用于在显示界面所显示的序列轨道中显示至少一个波形片段;波形序列创建模块102,用于基于用户在所述序列轨道中对目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列;其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。The waveform segment display module 101 is used to display at least one waveform segment in the sequence track displayed on the display interface; the waveform sequence creation module 102 is used to create the waveform segment based on the user's editing operation on the target waveform segment in the sequence track. The waveform sequence corresponding to the sequence track; wherein, the target waveform segment is the waveform segment selected by the user in the at least one waveform segment.
具体的,波形序列编辑装置的显示界面中显示有序列轨道。作为一个示例,如图2所示,在波形序列编辑装置的显示界面中可以设置序列轨道显示区域21,该序列轨道显示区域21中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域21中显示有序列轨道211、序列轨道212和序列轨道213,实现了多轨道的并行设置。Specifically, sequence tracks are displayed on the display interface of the waveform sequence editing device. As an example, as shown in FIG. 2 , a sequence track display area 21 may be set in the display interface of the waveform sequence editing device, and one or more sequence tracks are displayed in the sequence track display area 21 . For example, as an example, a sequence track 211 , a sequence track 212 and a sequence track 213 are displayed in the sequence track display area 21 , which realizes parallel setting of multiple tracks.
序列轨道的横轴可以为波形点数,使得能够基于波形点数实现可变点数,即拟合插值,从而实现波形片段的动态伸缩;此外,序列轨道的横轴还可以为时间、时频率等,在此不对此进行具体限定。The horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform segment; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
在本实施例中,波形序列编辑装置可以通过波形片段显示模块101在序列轨道中显示至少一个波形片段。例如,作为一个示例,继续参见图2,在序列轨道211中显示有波形片段a、波形片段b和波形片段c,这样通过采用序列轨道的形式,使得能够实时显示波形片段的样貌或形态,片段与片段之间的差异,实现了至少一个波形片段的可视化。In this embodiment, the waveform sequence editing apparatus can display at least one waveform segment in the sequence track through the waveform segment display module 101 . For example, as an example, continue to refer to FIG. 2 , waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 211, so that the appearance or form of the waveform segment can be displayed in real time by adopting the form of a sequence track, Segment-to-segment differences enabling visualization of at least one waveform segment.
在序列轨道中显示至少一个波形片段之后,波形序列创建模块102可以基于用户在序列轨道中对目标波形片段的编辑操作,创建得到该序列轨道所对应的波形序列,这使得用户能够在序列轨道中对波形片段进行编辑操作创建满足使用需求的波形序列,实现了波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。After at least one waveform segment is displayed in the sequence track, the waveform sequence creation module 102 can create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform segment in the sequence track, which enables the user to create a waveform sequence in the sequence track Edit the waveform segments to create a waveform sequence that meets the needs of use, making the editing operations between waveform segments more convenient and more intuitive, meeting the needs of editing complex signals, and improving the convenience of operation and user experience.
其中,目标波形片段为至少一个波形片段中用户所选中的波形片段,即用户可以基于编辑需求选择其中一个或多个波形片段作为目标波形片段。Wherein, the target waveform segment is a waveform segment selected by the user in at least one waveform segment, that is, the user can select one or more of the waveform segments as the target waveform segment based on editing requirements.
例如,接续上述示例,继续参见图2,若用户需要对波形片段a和波形片段b进行编辑操作,则此时可以将波形片段a和波形片段b定义为目标波形片段,即目标波形片段包括波形片段a和波形片段b;在用户对波形片段a和波形片段b进行编辑操作的过程中,波形序列创建模块102可以基于该编辑操作,创建得到该序列轨道所对应的波形序列。For example, following the above example and continuing to refer to Figure 2, if the user needs to edit waveform segment a and waveform segment b, then waveform segment a and waveform segment b can be defined as the target waveform segment at this time, that is, the target waveform segment includes waveform Segment a and waveform segment b; during the editing operation of the waveform segment a and the waveform segment b by the user, the waveform sequence creation module 102 can create a waveform sequence corresponding to the sequence track based on the editing operation.
具体的,编辑操作可以由用户基于实际需求而设定,从而使得用户在序列轨道中对目标波形片段进行编辑操作后,能够得到满足使用需求的波形序列。Specifically, the editing operation can be set by the user based on actual requirements, so that the user can obtain a waveform sequence that meets the usage requirements after performing the editing operation on the target waveform segment in the sequence track.
可选的,在创建得到波形序列之后,可以将波形序列发送到指定通道并输出。例如, 可以将波形序列输入到AFG或AWG等波形序列信号产生装置中,并通过波形序列信号产生装置输出显示,以将该波形序列进行测试使用。Optionally, after the waveform sequence is created, the waveform sequence can be sent to a specified channel and output. For example, the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
当然,在创建得到波形序列之后,还可以在序列轨道中调整该波形序列的波形点,以实现对波形序列的微调节。Of course, after the waveform sequence is created, the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
本实施例通过波形片段显示模块在显示界面所显示的序列轨道中显示至少一个波形片段,并通过波形序列创建模块基于用户在序列轨道中对目标波形片段的编辑操作,创建得到该序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌或形态,片段与片段之间的差异,并实现了直接在序列轨道中对波形片段进行编辑,创建得到波形序列,使得波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and the waveform sequence creation module is based on the user's editing operation on the target waveform segment in the sequence track to create the corresponding sequence track. The waveform sequence of the waveform sequence realizes the real-time display of the appearance or form of the waveform segment and the difference between segments in the form of a sequence track, and realizes the editing of the waveform segment directly in the sequence track to create a waveform sequence, so that The editing operation between waveform segments is more convenient and more intuitive, which meets the needs of editing complex signals and improves the convenience of operation and user experience.
在一种可能的实现方式中,波形序列编辑装置还包括波形片段采集模块,用于基于用户的波形片段采集指令,接收或创建所述至少一个波形片段,并将所述至少一个波形片段发送给所述波形片段显示模块。In a possible implementation manner, the waveform sequence editing device further includes a waveform segment acquisition module, configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
具体的,波形编辑装置可以通过波形片段采集模块接收或创建至少一个波形片段,然后将该至少一个波形片段发送给波形片段显示模块,由波形显示模块将接收或创建的至少一个波形片段显示在序列轨道中。Specifically, the waveform editing device can receive or create at least one waveform segment through the waveform segment acquisition module, and then send the at least one waveform segment to the waveform segment display module, and the waveform display module will display the received or created at least one waveform segment in a sequence in orbit.
可选的,针对波形片段的接收或创建,如图2所示,显示界面中可以设置波形管理区域22,在该波形管理区域22中显示有用于管理波形的控件,例如指示基础波形的文件夹控件、指示自定义波形的文件夹控件、指示添加文件夹的控件、用于指示创建自定义波形的控件等。用户可以通过指示基础波形的文件夹控件选择基础波形,或者通过指示自定义波形的文件夹控件选择自定义波形,此时波形片段采集模块可以基于用户的选择,接收用户所选择的波形片段;此外,用户可以通过指示创建自定义波形的控件创建自定义波形,此时波形片段采集模块可以基于用户的创建操作,创建波形片段。Optionally, for receiving or creating waveform segments, as shown in FIG. 2 , a waveform management area 22 can be set in the display interface, and controls for managing waveforms are displayed in the waveform management area 22, such as folders indicating basic waveforms. controls, folder controls to indicate custom waveforms, controls to add folders, controls to create custom waveforms, etc. The user can select the basic waveform through the folder control indicating the basic waveform, or select the custom waveform through the folder control indicating the custom waveform. At this time, the waveform segment acquisition module can receive the waveform segment selected by the user based on the user's selection; in addition , the user can create a custom waveform through the control indicating to create a custom waveform. At this time, the waveform segment acquisition module can create a waveform segment based on the user's creation operation.
此外,可选的,针对波形片段的创建,显示界面中还可以设置波形参数设置区域23,在该波形参数设置区域23中显示有用于对波形片段的参数进行设置的参数设置框,例如点数设置框、采样率设置框、频率设置框、波形类型设置框、循环次数设置框、相位设置框、高低电平设置框、幅度设置框、偏移设置框等,以对波形的点数、采样率、频率、波形、循环次数、相位、高低电平、幅度、偏移等进行编辑设置,从而实现对波形参数的设置,波形片段采集模块能够基于用户对波形的设置操作,创建波形片段。In addition, optionally, for the creation of the waveform segment, a waveform parameter setting area 23 can also be set in the display interface, and a parameter setting box for setting the parameters of the waveform segment is displayed in the waveform parameter setting area 23, such as point number setting box, sampling rate setting box, frequency setting box, waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of waveform points, sampling rate, Edit and set frequency, waveform, cycle times, phase, high and low levels, amplitude, offset, etc., so as to realize the setting of waveform parameters. The waveform segment acquisition module can create waveform segments based on the user's setting operation on the waveform.
在一种可能的实现方式中,序列轨道的数量为一个或多个;In a possible implementation manner, the number of sequence tracks is one or more;
在所述序列轨道的数量为多个的情况下,所述波形片段显示模块用于,在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。When the number of the sequence tracks is multiple, the waveform segment display module is configured to display at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
具体的,若序列轨道的数量为多个,则可以在多个序列轨道中的至少一个序列轨道中显示至少一个波形片段。例如,作为一个示例,假设序列轨道的数量为两个,波形片段的数量为三个,则可以在其中一个序列轨道中显示三个波形片段,还可以在一个序列轨道中显示两个波形片段,在另一个序列轨道中显示一个波形片段,即用户可以根据波形片段的显示需求确定波形片段的显示位置并进行相关的显示位置选择操作,此时波形片段显示模块基于用户的显示位置选择操作将波形片段显示在用户所选择的序列轨道中。Specifically, if there are multiple sequence tracks, at least one waveform segment may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of waveform clips is three, you can display three waveform clips in one sequence track and two waveform clips in one sequence track, Display a waveform segment in another sequence track, that is, the user can determine the display position of the waveform segment according to the display requirements of the waveform segment and perform related display position selection operations. At this time, the waveform segment display module will display the waveform based on the user's display position selection operation. The clips are displayed in the sequence track selected by the user.
这样,通过设置一个或多个序列轨道,且在多个序列轨道中的至少一个序列轨道中显示至少一个波形片段,实现了对波形片段的多样化显示,使得用户能够根据编辑需求将多个波形片段显示在不同的序列轨道中,提高了波形片段的编辑便捷性。In this way, by setting one or more sequence tracks, and displaying at least one waveform segment in at least one of the multiple sequence tracks, the diversified display of waveform segments is realized, so that users can combine multiple waveforms according to editing requirements. Segments are displayed in different sequence tracks, improving the editing convenience of waveform segments.
在一种可能的实现方式中,对目标波形片段的编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;In a possible implementation manner, the editing operation on the target waveform segment includes at least one of the following: jump operation, loop operation, cropping operation, splicing operation, and waveform operation operation;
其中,所述波形运算操作为至少两个序列轨道内目标波形片段之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between target waveform segments in at least two sequence tracks.
具体的,至少两个序列轨道内目标波形片段之间的运算操作可以包括波形叠加、波形调制、加密解密等,例如波形片段a在叠加波形片段b后,原本在低频范围,叠加后搬频到高频范围。Specifically, the calculation operations between the target waveform segments in at least two sequence tracks may include waveform superposition, waveform modulation, encryption and decryption, etc., for example, after waveform segment a is superimposed on waveform segment b, it is originally in the low frequency range, and after superimposition, it is shifted to high frequency range.
此外,具体的,跳转操作指目标波形片段跳转到其他波形片段之前或之后;循环操作指目标波形片段循环显示在序列轨道中;裁剪操作指将目标波形片段裁剪为两个波形片段,使得可以将其他波形片段插入到两个波形片段之间形成新的波形片段;拼接操作指将目标波形片段与其他波形片段拼接到一起。In addition, specifically, the jump operation means that the target waveform segment jumps to before or after other waveform segments; the loop operation means that the target waveform segment is cyclically displayed in the sequence track; the cropping operation means that the target waveform segment is cut into two waveform segments, so that Other waveform segments can be inserted between two waveform segments to form a new waveform segment; splicing operation refers to splicing the target waveform segment and other waveform segments together.
可选的,显示界面上可以显示有用于进行编辑操作的功能区。作为一个示例,如图2所示,显示界面上还可以设置有操作控件显示区域24,在该操作控件显示区域24中显示有片段信息设置控件。具体的,在用户选中目标波形片段之后,可以点击片段信息设置控件,此时显示界面上显示设置框,设置框内的设置参数可以包括跳转到第n个片段、循环n次等;然后用户可以基于设置框内的设置参数进行目标波形片段的跳转操作、循环操作等,从而实现针对目标波形片段的编辑操作。Optionally, a functional area for editing operations may be displayed on the display interface. As an example, as shown in FIG. 2 , an operation control display area 24 may also be provided on the display interface, and a segment information setting control is displayed in the operation control display area 24 . Specifically, after the user selects the target waveform segment, the user can click the segment information setting control, and a setting box is displayed on the display interface at this time, and the setting parameters in the setting box can include jumping to the nth segment, looping n times, etc.; then the user Based on the setting parameters in the setting box, the jump operation and loop operation of the target waveform segment can be performed, so as to realize the editing operation for the target waveform segment.
此外,可选的,针对编辑操作,序列轨道中所显示的每个波形片段均支持外部触发操作,波形序列创建模块可以基于该外部触发操作创建得到波形序列。例如,外部触发操作的实现方式可以为:用户在输出波形片段a时设定与触发信号相关的规则,该规则可以为准 备输出波形片段a时,接收到外部触发信号才开始输出波形片段a,此时波形序列编辑装置只有接收到外部传递的触发信号之后,波形片段a才开始进行输出,从而使得能够根据波形片段的输出顺序实现波形片段的编辑操作;外部触发操作的实现方式还可以为:用户在输出波形片段a时设定与触发信号相关的规则,该规则可以为波形片段a强制跳转到指定的其他片段之前或之后,在输出波形片段a的过程中,波形序列编辑装置接收到外部传递的触发信号之后,根据设定规则,该波形片段a强制跳转到指定的其他片段之前或之后,并开始输出,从而使得能够根据波形片段的输出顺序实现波形片段的编辑操作。In addition, optionally, for editing operations, each waveform segment displayed in the sequence track supports an external trigger operation, and the waveform sequence creation module can create a waveform sequence based on the external trigger operation. For example, the implementation of the external trigger operation can be as follows: the user sets a rule related to the trigger signal when outputting the waveform segment a, the rule can be that when the waveform segment a is ready to be output, the waveform segment a is not started until the external trigger signal is received, At this time, the waveform sequence editing device only starts to output the waveform segment a after receiving the externally transmitted trigger signal, so that the editing operation of the waveform segment can be realized according to the output order of the waveform segments; the implementation of the external trigger operation can also be: The user sets rules related to the trigger signal when outputting waveform segment a. The rule can force waveform segment a to jump before or after other specified segments. During the output of waveform segment a, the waveform sequence editing device receives After the externally transmitted trigger signal, according to the set rules, the waveform segment a is forced to jump before or after other specified segments and start outputting, so that the editing operation of the waveform segments can be realized according to the output sequence of the waveform segments.
此外,在一种可能的实现方式中,所述显示界面中还显示有至少一个操作控件;所述波形序列编辑装置还包括:操作控制模块,用于基于用户针对所述至少一个操作控件中目标操作控件的控制操作,执行所述目标操作控件所对应的操作。In addition, in a possible implementation manner, at least one operation control is also displayed on the display interface; the waveform sequence editing device further includes: an operation control module, configured to The control operation of the operation control executes the operation corresponding to the target operation control.
可选的,所述至少一个操作控件包括下述中的至少一者:轨道选择控件、波形序列下载控件、波形片段保存控件、轨道参数设置控件、同相正交IQ设置控件、时频频域切换控件、波形片段移动控件、波形注释控件、波形裁剪控件、轨道缩小控件、轨道放大控件、波形片段着色控件、波形片段删除控件、波形片段复制控件、波形片段粘贴控件。Optionally, the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control , Waveform Segment Move Control, Waveform Comment Control, Waveform Clipping Control, Track Zoom Out Control, Track Zoom In Control, Waveform Segment Coloring Control, Waveform Segment Delete Control, Waveform Segment Copy Control, Waveform Segment Paste Control.
需要说明的是,至少一个操作控件可以显示于图2中的操作控件显示区域24中(图2中未一一示出),使得用户能够在固定区域查找到所需的操作控件,方便了用户的操作。It should be noted that at least one operation control can be displayed in the operation control display area 24 in FIG. 2 (not shown one by one in FIG. 2 ), so that the user can find the desired operation control in a fixed area, which is convenient for the user. operation.
具体的,下面对各个操作控件的功能进行具体说明。Specifically, the functions of each operation control are described in detail below.
轨道选择控件,用于对序列轨道进行选择,使得能够在选中的序列轨道中显示波形片段。The track selection control is used to select the sequence track, so that the waveform segment can be displayed in the selected sequence track.
波形序列下载控件,用于将选中的序列轨道上编辑得到的波形序列下载至指定通道。The waveform sequence download control is used to download the edited waveform sequence on the selected sequence track to the specified channel.
波形片段保存控件,用于保存选中的序列轨道上的波形片段,使得能够作为波形片段素材。The waveform clip saving control is used to save the waveform clip on the selected sequence track, so that it can be used as a waveform clip material.
轨道参数设置控件,用于设置序列轨道的参数,该参数可以包括下述中的至少一者:备注信息、历史信息、历史操作回滚设置(例如返回上一次或上几次编辑)、轨道坐标上下限设置、轨道名称以及轨道创建时间。The track parameter setting control is used to set the parameters of the sequence track, and the parameter can include at least one of the following: remark information, historical information, historical operation rollback settings (such as returning to the last time or last several edits), track coordinates Upper and lower limit settings, track name, and track creation time.
同相正交(in-phase quadrature,IQ)设置控件,用于确定选中的控件作为I路还是Q路。The in-phase quadrature (IQ) setting control is used to determine whether the selected control is an I-way or a Q-way.
时频频域切换控件,用于将选中的序列轨道从时域呈现样式转换到频域下,当然也支持单个波形片段的时频域转换,其余波形将不出现在频域下,只显示选中的单个波形片段并转换到频域下。The time-frequency-frequency domain switching control is used to convert the selected sequence track from the time domain presentation style to the frequency domain. Of course, it also supports the time-frequency domain conversion of a single waveform segment. The remaining waveforms will not appear in the frequency domain, and only the selected one will be displayed. individual waveform segments and transform them into the frequency domain.
波形片段移动控件,用于拖动波形片段,使得能够在序列轨道上进行波形片段的移动、拼接等编辑操作。The waveform segment movement control is used to drag the waveform segment, so that editing operations such as movement and splicing of the waveform segment can be performed on the sequence track.
波形注释控件,用于对选中的序列轨道中的波形片段进行注释。The waveform comment control is used to comment on the waveform segment in the selected sequence track.
波形裁剪控件,用于在光标指示位置对波形片段进行裁剪操作,裁剪完原始波形片段将被一分为二,变为两个波形片段,使得可以将其它波形片段插入至裁剪的片段中。The waveform clipping control is used to clip the waveform segment at the position indicated by the cursor. After clipping, the original waveform segment will be divided into two and become two waveform segments, so that other waveform segments can be inserted into the trimmed segment.
轨道缩小控件,用于对选中的序列轨道进行缩小操作。The track zoom out control is used to zoom out the selected sequence track.
轨道放大控件,用于对选中的序列轨道进行放大操作。Track zoom control, used to zoom in on the selected sequence track.
波形片段着色控件,用于对波形片段进行着色。Wave segment coloring controls for coloring waveform segments.
波形片段删除控件,用于删除波形片段,例如可以将选中的波形片段拖出序列轨道外或点击波形片段删除控件,从而实现删除功能。The waveform segment deletion control is used to delete the waveform segment. For example, you can drag the selected waveform segment out of the sequence track or click the waveform segment deletion control to realize the deletion function.
轨道波形保存控件,用于保存所有序列轨道上的波形片段。Track waveform save control, used to save waveform clips on all sequence tracks.
波形片段复制控件,用于复制波形片段。Waveform segment copy control, used to copy waveform segments.
波形片段粘贴控件,用于粘贴复制的波形片段,使得可以重复波形的创建。Waveform segment paste control, used to paste copied waveform segments, making it possible to repeat the creation of waveforms.
在本实施例中,用户可以根据需求选择上述任一操作控件作为目标操作控件,并对目标操作控件输入控制操作,此时波形序列编辑装置中的操作控制模块基于用户对目标操作控件的控制操作,执行该目标操作控件所对应的操作,例如轨道选择控件所对应的序列轨道选择、波形序列下载控件所对应的波形序列下载、波形片段保存控件所对应的波形片段保存等,从而实现了操作控件所对应的功能。In this embodiment, the user can select any of the above-mentioned operation controls as the target operation control according to the requirement, and input control operations on the target operation control. At this time, the operation control module in the waveform sequence editing device is based on the user's control operation on the target operation control , execute the operation corresponding to the target operation control, such as the sequence track selection corresponding to the track selection control, the waveform sequence download corresponding to the waveform sequence download control, and the waveform segment saving corresponding to the waveform segment saving control, etc., thus realizing the operation control corresponding function.
此外,具体的,针对目标操作控件的控制操作可以为点击操作、双击操作、拖动操作等,在此并不对此进行具体限定。In addition, specifically, the control operation for the target operation control may be a click operation, a double-click operation, a drag operation, etc., which are not specifically limited here.
此外,在一种可能的实现方式中,所述显示界面上还显示有波形播放区域;所述波形序列编辑装置还包括:波形片段播放模块,用于在所述波形播放区域播放用户所选定的波形片段;其中所述用户所选定的波形片段包括未进行编辑操作的波形片段或所述波形序列中的波形片段。In addition, in a possible implementation manner, a waveform playing area is also displayed on the display interface; the waveform sequence editing device further includes: a waveform segment playing module, configured to play the waveform selected by the user in the waveform playing area. The waveform segment selected by the user includes the waveform segment without editing operation or the waveform segment in the waveform sequence.
具体的,继续参见图2,显示界面上还显示有波形播放区域25,该波形播放区域25中可以设置有播放按键,以用于控制波形的播放。在用户选定波形片段之后,波形片段播放模块可以在波形播放区域播放用户所选定的波形片段,从而实现对所选中波形片段的动态呈现。Specifically, referring to FIG. 2 , there is also a waveform playing area 25 displayed on the display interface, and a playing button may be set in the waveform playing area 25 for controlling the playing of the waveform. After the user selects the waveform segment, the waveform segment playback module can play the user-selected waveform segment in the waveform playback area, thereby realizing the dynamic presentation of the selected waveform segment.
当然需要说明的是,用户所选定的波形片段包括未进行编辑操作的波形片段,即可以在波形播放区域播放还未进行编辑操作的波形片段;此外,用户所选定的波形片段还包括 波形序列中的波形片段,即在创建得到波形序列之后,在波形播放区域播放所创建得到的波形序列中的波形片段。Of course, it should be noted that the waveform segment selected by the user includes the waveform segment that has not been edited, that is, the waveform segment that has not been edited can be played in the waveform playback area; in addition, the waveform segment selected by the user also includes the waveform segment. The waveform segment in the sequence, that is, after the waveform sequence is created, play the waveform segment in the created waveform sequence in the waveform playback area.
此外,可选的,所述用户所选定的波形片段包括:第一目标波形位置之后的波形片段;或者,第一目标波形位置与第二目标波形位置之间的波形片段,其中,所述第一目标波形位置和第二目标波形位置由用户选定。In addition, optionally, the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
即波形片段播放模块可以在波形播放区域播放用户选定的第一目标波形位置之后的波形片段,还可以在波形播放区域播放第一目标波形位置与第二目标波形位置之间的波形片段。That is, the waveform segment playback module can play the waveform segment after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform segment between the first target waveform position and the second target waveform position in the waveform playback area.
这样,本实施例通过波形片段显示模块在显示界面所显示的序列轨道中显示至少一个波形片段,并通过波形序列创建模块基于用户在序列轨道中对目标波形片段的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌或形态,片段与片段之间的差异,并实现了直接在序列轨道中对波形片段进行编辑,创建得到波形序列,使得波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this way, this embodiment uses the waveform segment display module to display at least one waveform segment in the sequence track displayed on the display interface, and uses the waveform sequence creation module to create the sequence track based on the user's editing operation on the target waveform segment in the sequence track The corresponding waveform sequence realizes the real-time display of the appearance or shape of the waveform segment and the difference between segments in the form of a sequence track, and realizes editing of the waveform segment directly in the sequence track to create a waveform sequence. It makes the editing operation between waveform segments more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
此外,本申请实施例还提供一种波形序列编辑方法,如图3所示,该波形序列编辑方法可以包括如下步骤:In addition, the embodiment of the present application also provides a waveform sequence editing method, as shown in Figure 3, the waveform sequence editing method may include the following steps:
步骤301:在电子设备显示界面所显示的序列轨道中显示至少一个波形片段。Step 301: Display at least one waveform segment in a sequence track displayed on a display interface of the electronic device.
具体的,电子设备可以为波形序列编辑装置。参见图2,在波形序列编辑装置的显示界面中可以设置序列轨道显示区域21,该序列轨道显示区域21中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域21中显示有序列轨道211、序列轨道212和序列轨道213。Specifically, the electronic device may be a waveform sequence editing device. Referring to FIG. 2 , a sequence track display area 21 can be set in the display interface of the waveform sequence editing device, and one or more sequence tracks are displayed in the sequence track display area 21 . For example, as an example, a sequence track 211 , a sequence track 212 and a sequence track 213 are displayed in the sequence track display area 21 .
在本步骤中可以在序列轨道中显示至少一个波形片段。In this step, at least one waveform segment can be displayed in the sequence track.
步骤302:基于用户在序列轨道中对目标波形片段的编辑操作,创建得到序列轨道所对应的波形序列。Step 302: Based on the user's editing operation on the target waveform segment in the sequence track, create a waveform sequence corresponding to the sequence track.
其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。Wherein, the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
在本步骤中,可以基于用户在序列轨道中对目标波形片段的编辑操作,创建得到该序列轨道所对应的波形序列,这使得用户能够在序列轨道中对波形片段进行编辑操作创建满足使用需求的波形序列,实现了波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this step, the waveform sequence corresponding to the sequence track can be created based on the user's editing operation on the target waveform segment in the sequence track, which enables the user to edit the waveform segment in the sequence track to create a The waveform sequence makes the editing operation between waveform segments more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
在一种可能的实现方式中,在所述在电子设备显示界面所显示的序列轨道中显示至少 一个波形片段之前,还可以基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。In a possible implementation manner, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the at least one waveform segment may also be received or created based on a user's waveform segment acquisition instruction.
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段时,可以在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least When a waveform segment is selected, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks.
在一种可能的实现方式中,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;其中,所述波形运算操作为至少两个序列轨道内目标波形片段之间的运算操作。In a possible implementation manner, the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Arithmetic operations between target waveform segments within a sequence track.
在一种可能的实现方式中,所述显示界面中还显示有至少一个操作控件;本实施例还可以基于用户针对所述至少一个操作控件中目标操作控件的控制操作,执行所述目标操作控件所对应的操作。In a possible implementation manner, at least one operation control is also displayed on the display interface; in this embodiment, the target operation control may be executed based on the user's control operation on the target operation control in the at least one operation control the corresponding operation.
在一种可能的实现方式中,所述至少一个操作控件包括下述中的至少一者:轨道选择控件、波形序列下载控件、波形片段保存控件、轨道参数设置控件、同相正交IQ设置控件、时频频域切换控件、波形片段移动控件、波形注释控件、波形裁剪控件、轨道缩小控件、轨道放大控件、波形片段着色控件、波形片段删除控件、波形片段复制控件、波形片段粘贴控件。In a possible implementation manner, the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, Time-frequency domain switching control, waveform segment movement control, waveform annotation control, waveform clipping control, track zoom-in control, track zoom-in control, waveform segment coloring control, waveform segment deletion control, waveform segment copy control, and waveform segment pasting control.
在一种可能的实现方式中,所述显示界面上还显示有波形播放区域;本实施例还可以在所述波形播放区域播放用户所选定的波形片段,其中所述用户所选定的波形片段包括未进行编辑操作的波形片段或所述波形序列中的波形片段。In a possible implementation manner, a waveform playback area is also displayed on the display interface; in this embodiment, the waveform segment selected by the user can also be played in the waveform playback area, wherein the waveform selected by the user Segments include waveform segments that have not been edited or waveform segments in the waveform sequence.
在一种可能的实现方式中,所述用户所选定的波形片段包括:第一目标波形位置之后的波形片段;或者,第一目标波形位置与第二目标波形位置之间的波形片段;其中,所述第一目标波形位置和第二目标波形位置由用户选定。In a possible implementation manner, the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position; wherein , the first target waveform position and the second target waveform position are selected by the user.
本实施例通过在显示界面所显示的序列轨道中显示至少一个波形片段,并基于用户在序列轨道中对目标波形片段的编辑操作,创建得到该序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌或形态,片段与片段之间的差异,并实现了直接在序列轨道中对波形片段进行编辑,创建得到波形序列,使得波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, at least one waveform segment is displayed in the sequence track displayed on the display interface, and based on the user's editing operation on the target waveform segment in the sequence track, the waveform sequence corresponding to the sequence track is created to realize the use of the sequence track In the form of real-time display of the appearance or shape of the waveform segment, the difference between the segment and the segment, and realize the editing of the waveform segment directly in the sequence track, create a waveform sequence, and make the editing operation between the waveform segments more convenient And it is more intuitive, which meets the needs of editing complex signals and improves the convenience of operation and user experience.
在此需要说明的是,本申请实施例提供的波形序列编辑方法,执行主体可以为上述实施例中的波形序列编辑装置,或者该波形序列编辑装置中的用于执行波形序列编辑方法的 控制模块。上述实施例提供的波形序列编辑装置能够实现上述波形序列编辑方法实施例的所有方法步骤及有益效果,为避免重复,在此不再对本实施例波形序列编辑方法中与上述方法实施例波形序列编辑装置中的相同步骤以及有益效果进行赘述。What needs to be explained here is that the waveform sequence editing method provided by the embodiment of the present application can be executed by the waveform sequence editing device in the above embodiment, or the control module used to execute the waveform sequence editing method in the waveform sequence editing device . The waveform sequence editing device provided in the above-mentioned embodiment can realize all the method steps and beneficial effects of the above-mentioned waveform sequence editing method embodiment. In order to avoid repetition, the waveform sequence editing method in this embodiment and the waveform sequence editing in the above method embodiment will not be discussed here. The same steps and beneficial effects in the device are described in detail.
对应上述实施例提供的波形序列编辑方法,基于相同的技术构思,本申请实施例还提供了一种电子设备,该电子设备用于执行上述的波形序列编辑方法,图4为实现本申请各个实施例的一种电子设备的结构示意图。电子设备可因配置或性能不同而产生比较大的差异,可以包括处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440,其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储在存储器430上并可在处理器410上运行的计算机程序,以执行下述步骤:Corresponding to the waveform sequence editing method provided in the above-mentioned embodiments, based on the same technical concept, the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence editing method. A schematic diagram of the structure of an electronic device. Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 . The processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
基于用户在所述序列轨道中对目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列;Based on the user's editing operation on the target waveform segment in the sequence track, creating a waveform sequence corresponding to the sequence track;
其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。Wherein, the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
在一种可能的实现方式中,在所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。In a possible implementation manner, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, it further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction .
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段,包括:在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least A waveform segment, comprising: displaying at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
在一种可能的实现方式中,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;其中,所述波形运算操作为至少两个序列轨道内目标波形片段之间的运算操作。In a possible implementation manner, the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Arithmetic operations between target waveform segments within a sequence track.
在一种可能的实现方式中,所述显示界面中还显示有至少一个操作控件;所述波形序列编辑方法还包括:基于用户针对所述至少一个操作控件中目标操作控件的控制操作,执行所述目标操作控件所对应的操作。In a possible implementation manner, at least one operation control is also displayed on the display interface; the waveform sequence editing method further includes: based on the user's control operation on the target operation control in the at least one operation control, executing the The operation corresponding to the target operation control described above.
在一种可能的实现方式中,所述至少一个操作控件包括下述中的至少一者:轨道选择控件、波形序列下载控件、波形片段保存控件、轨道参数设置控件、同相正交IQ设置控件、时频频域切换控件、波形片段移动控件、波形注释控件、波形裁剪控件、轨道缩小控件、轨道放大控件、波形片段着色控件、波形片段删除控件、波形片段复制控件、波形片段粘 贴控件。In a possible implementation manner, the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, Time-frequency domain switching control, waveform segment movement control, waveform annotation control, waveform clipping control, track zoom-in control, track zoom-in control, waveform segment coloring control, waveform segment deletion control, waveform segment copy control, and waveform segment pasting control.
在一种可能的实现方式中,所述显示界面上还显示有波形播放区域;所述波形序列编辑方法还包括:在所述波形播放区域播放用户所选定的波形片段,其中所述用户所选定的波形片段包括未进行编辑操作的波形片段或所述波形序列中的波形片段。In a possible implementation manner, a waveform playing area is also displayed on the display interface; the waveform sequence editing method further includes: playing the waveform segment selected by the user in the waveform playing area, wherein the user selected The selected waveform segments include waveform segments that have not been edited or waveform segments in the waveform sequence.
在一种可能的实现方式中,所述用户所选定的波形片段包括:第一目标波形位置之后的波形片段;或者,第一目标波形位置与第二目标波形位置之间的波形片段;其中,所述第一目标波形位置和第二目标波形位置由用户选定。In a possible implementation manner, the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position; wherein , the first target waveform position and the second target waveform position are selected by the user.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述波形序列编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence editing method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的波形序列生成装置进行详细地说明。The waveform sequence generating device provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图5所示,该波形序列生成装置包括波形素材显示模块501和波形序列创建模块502;其中,As shown in Figure 5, the waveform sequence generation device includes a waveform material display module 501 and a waveform sequence creation module 502; wherein,
波形素材显示模块501,用于基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材。The waveform material display module 501 is configured to display the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track.
具体的,序列轨道显示于波形序列生成装置的显示界面中,目标波形素材为显示界面所显示的波形素材中的至少一个。Specifically, the sequence track is displayed on the display interface of the waveform sequence generation device, and the target waveform material is at least one of the waveform materials displayed on the display interface.
作为一个示例,如图6所示,在波形序列生成装置的显示界面中可以设置序列轨道显示区域61,该序列轨道显示区域61中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域61中显示有序列轨道611、序列轨道612和序列轨道613,实现了多轨道的并行设置。As an example, as shown in FIG. 6 , a sequence track display area 61 may be set in the display interface of the waveform sequence generation device, and one or more sequence tracks are displayed in the sequence track display area 61 . For example, as an example, a sequence track 611 , a sequence track 612 and a sequence track 613 are displayed in the sequence track display area 61 , which realizes the parallel setting of multiple tracks.
序列轨道的横轴可以为波形点数,使得能够基于波形点数实现可变点数,即拟合插值,从而实现波形素材的动态伸缩;此外,序列轨道的横轴还可以为时间、时频率等,在此不对此进行具体限定。The horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform material; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
在本实施例中,用户需要通过波形素材生成波形序列时,可以从显示界面中选择一个或多个波形素材作为目标波形素材,并将选择的目标波形素材发送或拖动至序列轨道中,此时波形素材显示模块可以基于用户的操作,在序列轨道中显示该目标波形素材,实现了波形素材在序列轨道中的显示。In this embodiment, when the user needs to generate a waveform sequence from the waveform material, one or more waveform materials can be selected from the display interface as the target waveform material, and the selected target waveform material can be sent or dragged to the sequence track. The time waveform material display module can display the target waveform material in the sequence track based on the user's operation, realizing the display of the waveform material in the sequence track.
例如,作为一个示例,继续参见图6,在序列轨道611中显示有目标波形素材a、目标波形素材b和目标波形素材c,这样通过采用序列轨道的形式,使得能够实时显示波形素材的样貌或形态,实现了至少一个波形素材的可视化。For example, as an example, continue to refer to FIG. 6 , the target waveform material a, target waveform material b, and target waveform material c are displayed in the sequence track 611, so that the appearance of the waveform material can be displayed in real time by adopting the form of the sequence track or modality, enabling the visualization of at least one waveform material.
波形序列创建模块502,用于基于用户在所述序列轨道中对所述目标波形素材的编辑操作,创建得到所述序列轨道所对应的波形序列。The waveform sequence creation module 502 is configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform material in the sequence track.
具体的,编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;Specifically, the editing operation includes at least one of the following: jump operation, loop operation, cropping operation, splicing operation, and waveform operation;
其中,所述波形运算操作为至少两个序列轨道内目标波形素材之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between target waveform materials in at least two sequence tracks.
运算操作可以包括波形叠加、波形调制、加密解密等。Operations may include waveform superposition, waveform modulation, encryption and decryption, etc.
具体的,在序列轨道中显示目标波形素材之后,波形序列创建模块502可以基于用户在序列轨道中对目标波形素材的编辑操作,创建得到该序列轨道所对应的波形序列,这使得用户能够在序列轨道中对波形素材进行编辑操作创建满足使用需求的波形序列,实现了波形素材片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。Specifically, after the target waveform material is displayed in the sequence track, the waveform sequence creation module 502 can create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform material in the sequence track, which enables the user to Edit the waveform material in the track to create a waveform sequence that meets the needs of use, making the editing operation between waveform material segments more convenient and more intuitive, meeting the needs of editing complex signals, and improving the convenience of operation and user experience.
可选的,在创建得到波形序列之后,可以将波形序列发送到指定通道并输出。例如,可以将波形序列输入到AFG或AWG等波形序列信号产生装置中,并通过波形序列信号产生装置输出显示,以将该波形序列进行测试使用。Optionally, after the waveform sequence is created, the waveform sequence can be sent to a specified channel and output. For example, the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
当然,在创建得到波形序列之后,还可以在序列轨道中调整该波形序列的波形点,以实现对波形序列的微调节。Of course, after the waveform sequence is created, the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
本实施例通过波形素材显示模块基于用户将目标波形素材发送或拖动至序列轨道的操作,在序列轨道中显示目标波形素材,并通过波形序列创建模块基于用户在序列轨道中对目标波形素材的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形素材的样貌或形态,并实现了直接在序列轨道中对波形素材片段进行编辑,创建得到波形序列,使得波形素材片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, the waveform material display module displays the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, and uses the waveform sequence creation module based on the user's operation of the target waveform material in the sequence track. Editing operation, creating the waveform sequence corresponding to the sequence track, realizing the real-time display of the appearance or shape of the waveform material in the form of the sequence track, and realizing the editing of the waveform material fragments directly in the sequence track to create the waveform sequence , which makes the editing operation between waveform clips more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
在一种可能的实现方式中,序列轨道的数量为一个或多个;In a possible implementation manner, the number of sequence tracks is one or more;
在所述序列轨道的数量为多个且所述目标波形素材为多个的情况下,所述波形素材显示模块用于,在多个所述序列轨道中的至少一个序列轨道中显示所述目标波形素材。When the number of the sequence track is multiple and the target waveform material is multiple, the waveform material display module is used to display the target in at least one sequence track of the multiple sequence tracks Waveform material.
具体的,若序列轨道的数量为多个,则可以在多个序列轨道中的至少一个序列轨道中显示目标波形素材。例如,作为一个示例,假设序列轨道的数量为两个,目标波形素材的数量为三个,则可以在其中一个序列轨道中显示三个目标波形素材,还可以在一个序列轨道中显示两个目标波形素材,在另一个序列轨道中显示一个目标波形素材,即用户可以根据目标波形素材的显示需求确定目标波形素材的显示位置并进行相关的显示位置选择操作,此时目标波形素材显示模块基于用户的显示位置选择操作将目标波形素材显示在用户所选择的序列轨道中。Specifically, if there are multiple sequence tracks, the target waveform material may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of target waveform clips is three, it is possible to display three target waveform clips in one sequence track and two target waveform clips in one sequence track Waveform material, display a target waveform material in another sequence track, that is, the user can determine the display position of the target waveform material according to the display requirements of the target waveform material and perform related display position selection operations. At this time, the target waveform material display module is based on the user The display position selection operation of will display the target waveform material in the sequence track selected by the user.
这样,通过设置一个或多个序列轨道,且在多个序列轨道中的至少一个序列轨道中显示目标波形素材,实现了对波形片段的多样化显示,使得用户能够根据编辑需求将多个目标波形素材显示在不同的序列轨道中,提高了波形片段的编辑便捷性。In this way, by setting one or more sequence tracks and displaying the target waveform material in at least one of the multiple sequence tracks, the diversified display of waveform segments is realized, so that users can combine multiple target waveforms according to editing requirements. The clips are displayed in different sequence tracks, which improves the editing convenience of waveform clips.
在一种可能的实现方式中,显示界面中显示有波形素材区域,所述波形素材区域中显示有所述波形素材;In a possible implementation manner, a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area;
所述波形序列生成装置还包括波形素材提供模块,用于:基于用户在所述波形素材区域输入的素材创建操作,创建所述波形素材;或者,基于用户对预设的素材下载控件的下载操作,从预设地址下载得到所述波形素材。The waveform sequence generation device also includes a waveform material providing module, configured to: create the waveform material based on the material creation operation input by the user in the waveform material area; or, based on the user's download operation on the preset material download control , downloading the waveform material from a preset address.
具体的,如图6所示,显示界面中可以设置波形素材区62,在该波形素材区62中用户可以创建或下载波形素材。Specifically, as shown in FIG. 6 , a waveform material area 62 can be set in the display interface, and the user can create or download waveform materials in the waveform material area 62 .
例如,用户可以在该波形素材区域输入素材创建操作,该素材创建操作可以包括单击、双击操作,此时波形素材提供模块可以基于用户的素材创建操作,创建波形素材。For example, the user may input a material creation operation in the waveform material area, and the material creation operation may include single-click and double-click operations. At this time, the waveform material providing module may create a waveform material based on the user's material creation operation.
又例如,用户可以对该波形素材区中的素材下载控件输入下载操作,该下载操作可以包括单击操作、长按操作等,此时波形素材提供模块可以基于用户的下载操作(例如单击操作),从预设地址中下载波形素材。具体的,预设地址可以包括本地地址、网络地址等。For another example, the user can input a download operation to the material download control in the waveform material area, and the download operation can include a single-click operation, a long-press operation, etc. At this time, the waveform material providing module can be based on the user's download operation (such as a single-click operation) ), download the waveform material from the preset address. Specifically, the preset address may include a local address, a network address, and the like.
此外,在一种可能的实现方式中,所述波形序列生成装置还包括:操作控制模块,用于基于用户针对所述波形素材的控制操作,对所述波形素材执行对应的操作;In addition, in a possible implementation manner, the waveform sequence generation device further includes: an operation control module, configured to perform a corresponding operation on the waveform material based on a user's control operation on the waveform material;
其中,所述控制操作包括下述中的至少一者:移动、合并、复制、删除。Wherein, the control operation includes at least one of the following: move, merge, copy, delete.
具体的,波形序列生成装置中可以存储有波形素材,且波形素材可以显示在波形素材区域中。波形素材可以包括括基础波形、行业标准波形例如医疗、雷达、量子通讯等领域,以及用户自定义的波形等。Specifically, the waveform material may be stored in the waveform sequence generation device, and the waveform material may be displayed in the waveform material area. Waveform materials can include basic waveforms, industry standard waveforms such as medical, radar, quantum communication, and user-defined waveforms.
此外,具体的,波形素材可以以文件夹的形式进行显示。作为一个示例,如图6所示,波形素材区域62中显示有用于管理波形素材的文件夹控件,例如指示基础波形的文件夹控件、指示自定义波形的文件夹控件、指示添加文件夹的控件、用于指示创建自定义波形的控件等。用户可以通过指示基础波形的文件夹控件选择基础波形,或者通过指示自定义波形的文件夹控件选择自定义波形。In addition, specifically, the waveform material can be displayed in the form of folders. As an example, as shown in FIG. 6 , folder controls for managing waveform materials are displayed in the waveform material area 62, such as folder controls indicating basic waveforms, folder controls indicating custom waveforms, and controls indicating added folders. , controls for creating custom waveforms, and more. The user can select a base waveform through a folder control indicating a base waveform, or a custom waveform through a folder control indicating a custom waveform.
此外,显示界面中还可以设置波形参数设置区域63,在该波形参数设置区域63中显示有用于对波形素材的参数进行设置的参数设置框,例如点数设置框、采样率设置框、频率设置框、波形类型设置框、循环次数设置框、相位设置框、高低电平设置框、幅度设置框、偏移设置框等,以对波形的点数、采样率、频率、波形、循环次数、相位、高低电平、幅度、偏移等进行编辑设置,从而实现对波形素材的参数设置。In addition, a waveform parameter setting area 63 can also be set in the display interface, and a parameter setting box for setting parameters of the waveform material is displayed in the waveform parameter setting area 63, such as a number of points setting box, a sampling rate setting box, and a frequency setting box. , waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of points, sampling rate, frequency, waveform, cycle times, phase, high and low Edit and set the level, amplitude, offset, etc., so as to realize the parameter setting of the waveform material.
此外,在一种可能的实现方式中,所述显示界面中还显示有至少一个操作控件;所述波形序列生成装置还包括:操作控制模块,用于基于用户针对所述至少一个操作控件中目标操作控件的操作,执行所述目标操作控件所对应的操作。In addition, in a possible implementation manner, at least one operation control is also displayed on the display interface; the waveform sequence generation device further includes: an operation control module, configured to The operation of the operation control is to execute the operation corresponding to the target operation control.
可选的,所述至少一个操作控件包括下述中的至少一者:轨道选择控件、波形序列下载控件、波形素材保存控件、轨道参数设置控件、同相正交IQ设置控件、时频频域切换控件、波形素材移动控件、波形注释控件、波形裁剪控件、轨道缩小控件、轨道放大控件、波形素材着色控件、波形素材删除控件、波形素材复制控件、波形素材粘贴控件。Optionally, the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform material saving control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control , Waveform Material Movement Control, Waveform Comment Control, Waveform Clipping Control, Track Zoom Out Control, Track Zoom In Control, Waveform Material Coloring Control, Waveform Material Delete Control, Waveform Material Copy Control, and Waveform Material Paste Control.
需要说明的是,至少一个操作控件可以显示于图6中的操作控件显示区域64中(图6中未一一示出),使得用户能够在固定区域查找到所需的操作控件,方便了用户的操作。It should be noted that at least one operation control can be displayed in the operation control display area 64 in FIG. operation.
具体的,下面对各个操作控件的功能进行具体说明。Specifically, the functions of each operation control are described in detail below.
轨道选择控件,用于对序列轨道进行选择,使得能够在选中的序列轨道中显示波形素材。The track selection control is used to select the sequence track, so that the waveform material can be displayed in the selected sequence track.
波形序列下载控件,用于将选中的序列轨道上编辑得到的波形序列下载至指定通道。The waveform sequence download control is used to download the edited waveform sequence on the selected sequence track to the specified channel.
波形片段保存控件,用于保存选中的序列轨道上的波形片段,使得能够作为波形素材。The waveform segment saving control is used to save the waveform segment on the selected sequence track, so that it can be used as a waveform material.
轨道参数设置控件,用于设置序列轨道的参数,该参数可以包括下述中的至少一者:备注信息、历史信息、历史操作回滚设置(例如返回上一次或上几次编辑)、轨道坐标上下限设置、轨道名称以及轨道创建时间。The track parameter setting control is used to set the parameters of the sequence track, and the parameter can include at least one of the following: remark information, historical information, historical operation rollback settings (such as returning to the last time or last several edits), track coordinates Upper and lower limit settings, track name, and track creation time.
同相正交(in-phase quadrature,IQ)设置控件,用于确定选中的控件作为I路还是Q路。The in-phase quadrature (IQ) setting control is used to determine whether the selected control is an I-way or a Q-way.
时频频域切换控件,用于将选中的序列轨道从时域呈现样式转换到频域下,当然也支 持单个波形素材片段的时频域转换,其余波形将不出现在频域下,只显示选中的单个波形素材片段并转换到频域下。The time-frequency-frequency domain switching control is used to convert the selected sequence track from the time domain presentation style to the frequency domain. Of course, it also supports the time-frequency domain conversion of a single waveform clip. The remaining waveforms will not appear in the frequency domain, only the selected ones will be displayed. individual waveform clips and convert them to the frequency domain.
波形素材移动控件,用于拖动波形素材,使得能够在序列轨道上进行波形素材的移动、拼接等编辑操作。The waveform material movement control is used to drag the waveform material, so that editing operations such as movement and splicing of the waveform material can be performed on the sequence track.
波形注释控件,用于对选中的序列轨道中的波形素材进行注释。The waveform comment control is used to comment on the waveform material in the selected sequence track.
波形裁剪控件,用于在光标指示位置对波形素材进行裁剪操作,裁剪完原始波形素材将被一分为二,变为两个波形素材,使得可以将其它波形素材插入至裁剪的片段中。The waveform clipping control is used to clip the waveform material at the position indicated by the cursor. After clipping, the original waveform material will be divided into two and become two waveform materials, so that other waveform materials can be inserted into the clipped segment.
轨道缩小控件,用于对选中的序列轨道进行缩小操作。The track zoom out control is used to zoom out the selected sequence track.
轨道放大控件,用于对选中的序列轨道进行放大操作。Track zoom control, used to zoom in on the selected sequence track.
波形素材着色控件,用于对波形素材进行着色。Wave material coloring control, used to color the wave material.
波形素材删除控件,用于删除波形素材,例如可以将选中的波形素材拖出序列轨道外或点击波形素材删除控件,从而实现删除功能。The waveform material deletion control is used to delete the waveform material. For example, you can drag the selected waveform material out of the sequence track or click the waveform material deletion control to realize the deletion function.
轨道波形保存控件,用于保存所有序列轨道上的波形素材。Track waveform save control, used to save the waveform material on all sequence tracks.
波形素材复制控件,用于复制波形素材。Wave material copy control, used to copy wave material.
波形素材粘贴控件,用于粘贴复制的波形素材,使得可以重复波形的创建。The wave material paste control is used to paste the copied wave material so that the creation of the wave can be repeated.
在本实施例中,用户可以根据需求选择上述任一操作控件作为目标操作控件,并对目标操作控件输入控制操作,此时波形序列生成装置中的操作控制模块基于用户对目标操作控件的控制操作,执行该目标操作控件所对应的操作,例如轨道选择控件所对应的序列轨道选择、波形序列下载控件所对应的波形序列下载、波形素材保存控件所对应的波形素材保存等,从而实现了操作控件所对应的功能。In this embodiment, the user can select any of the above-mentioned operation controls as the target operation control according to the requirements, and input control operations to the target operation control. At this time, the operation control module in the waveform sequence generation device is based on the user's control operation on the target operation control , execute the operation corresponding to the target operation control, such as the sequence track selection corresponding to the track selection control, the waveform sequence download corresponding to the waveform sequence download control, and the waveform material saving corresponding to the waveform material saving control, etc., thus realizing the operation control corresponding function.
此外,具体的,针对目标操作控件的控制操作可以为点击操作、双击操作、拖动操作等,在此并不对此进行具体限定。In addition, specifically, the control operation for the target operation control may be a click operation, a double-click operation, a drag operation, etc., which are not specifically limited here.
此外,在一种可能的实现方式中,所述显示界面上还显示有波形播放区域;所述波形序列生成装置还包括:波形素材播放模块,用于在所述波形播放区域播放用户所选定的波形素材;其中所述用户所选定的波形素材包括未进行编辑操作的波形素材或所述波形序列中的波形素材。In addition, in a possible implementation manner, a waveform playing area is also displayed on the display interface; the waveform sequence generation device further includes: a waveform material playing module, configured to play the waveform selected by the user in the waveform playing area. The waveform materials selected by the user include waveform materials that have not been edited or waveform materials in the waveform sequence.
具体的,继续参见图6,显示界面上还显示有波形播放区域65,该波形播放区域65中可以设置有播放按键,以用于控制波形的播放。在用户选定波形素材之后,波形素材播放模块可以在波形播放区域播放用户所选定的波形素材,从而实现对所选中波形素材的动态呈现。Specifically, referring to FIG. 6 , there is also a waveform playing area 65 displayed on the display interface, and a playing button may be set in the waveform playing area 65 for controlling the playing of the waveform. After the user selects the waveform material, the waveform material playback module can play the waveform material selected by the user in the waveform playback area, so as to realize the dynamic presentation of the selected waveform material.
当然需要说明的是,用户所选定的波形素材包括未进行编辑操作的波形素材,即可以在波形播放区域播放还未进行编辑操作的波形素材;此外,用户所选定的波形素材还包括波形序列中的波形素材,即在创建得到波形序列之后,在波形播放区域播放所创建得到的波形序列中的波形素材。Of course, it should be noted that the waveform material selected by the user includes the waveform material that has not been edited, that is, the waveform material that has not been edited can be played in the waveform playback area; in addition, the waveform material selected by the user also includes the waveform material. The waveform material in the sequence, that is, after the waveform sequence is created, play the waveform material in the created waveform sequence in the waveform playback area.
此外,可选的,所述用户所选定的波形素材包括:第一目标波形位置之后的波形素材;或者,第一目标波形位置与第二目标波形位置之间的波形素材,其中,所述第一目标波形位置和第二目标波形位置由用户选定。In addition, optionally, the waveform material selected by the user includes: the waveform material after the first target waveform position; or, the waveform material between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
即波形素材播放模块可以在波形播放区域播放用户选定的第一目标波形位置之后的波形素材,还可以在波形播放区域播放第一目标波形位置与第二目标波形位置之间的波形素材。That is, the waveform material playback module can play the waveform material after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform material between the first target waveform position and the second target waveform position in the waveform playback area.
这样,本实施例通过波形素材显示模块基于用户将目标波形素材发送或拖动至序列轨道的操作,在序列轨道中显示目标波形素材,并通过波形序列创建模块基于用户在序列轨道中对所述目标波形素材的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形素材的样貌或形态,并实现了直接在序列轨道中对波形素材进行编辑,创建得到波形序列,使得波形素材之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this way, this embodiment uses the waveform material display module to display the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, and uses the waveform sequence creation module based on the user's operation in the sequence track. The editing operation of the target waveform material creates the waveform sequence corresponding to the sequence track, realizes the appearance or form of the waveform material in the form of the sequence track, and realizes the editing and creation of the waveform material directly in the sequence track. Obtaining the waveform sequence makes the editing operation between waveform materials more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
此外,本申请实施例还提供一种波形序列生成方法,如图7所示,该波形序列生成方法可以包括如下步骤:In addition, the embodiment of the present application also provides a waveform sequence generation method, as shown in FIG. 7, the waveform sequence generation method may include the following steps:
步骤701:基于用户将目标波形素材发送或拖动至序列轨道的操作,在序列轨道中显示目标波形素材。Step 701: Based on the user's operation of sending or dragging the target waveform material to the sequence track, display the target waveform material in the sequence track.
其中,序列轨道显示于电子设备的显示界面中,目标波形素材为显示界面所显示的波形素材中的至少一个。Wherein, the sequence track is displayed on the display interface of the electronic device, and the target waveform material is at least one of the waveform materials displayed on the display interface.
具体的,电子设备可以为波形序列生成装置。作为一个示例,参见图6,在显示界面中可以设置序列轨道显示区域61,该序列轨道显示区域61中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域61中显示有序列轨道611、序列轨道612和序列轨道613。Specifically, the electronic device may be a waveform sequence generating device. As an example, referring to FIG. 6 , a sequence track display area 61 may be set in the display interface, and one or more sequence tracks are displayed in the sequence track display area 61 . For example, as an example, a sequence track 611 , a sequence track 612 and a sequence track 613 are displayed in the sequence track display area 61 .
在本步骤中可以在序列轨道中显示目标波形素材。In this step, the target waveform material can be displayed in the sequence track.
步骤702:基于用户在序列轨道中对目标波形素材的编辑操作,创建得到序列轨道所对应的波形序列。Step 702: Based on the user's editing operation on the target waveform material in the sequence track, create a waveform sequence corresponding to the sequence track.
在本步骤中,可以基于用户在序列轨道中对目标波形素材的编辑操作,创建得到该序 列轨道所对应的波形序列,这使得用户能够在序列轨道中对波形素材进行编辑操作创建满足使用需求的波形序列,实现了波形素材之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this step, the waveform sequence corresponding to the sequence track can be created based on the user's editing operation on the target waveform material in the sequence track, which enables the user to edit the waveform material in the sequence track to create a waveform that meets the needs of the user. The waveform sequence realizes the editing operation between waveform materials more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个且所述目标波形素材为多个的情况下,所述在所述序列轨道中显示所述目标波形素材时,可以在多个所述序列轨道中的至少一个序列轨道中显示所述目标波形素材。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple and the target waveform material is multiple, the sequence When the target waveform material is displayed in a track, the target waveform material may be displayed in at least one sequence track among the plurality of sequence tracks.
在一种可能的实现方式中,所述显示界面中显示有波形素材区域,且所述波形素材区域中显示有所述波形素材;在所述基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材之前,还可以基于用户在所述波形素材区域输入的素材创建操作,创建所述波形素材;或者,基于用户对预设的素材下载控件的下载操作,从预设地址下载得到所述波形素材。In a possible implementation manner, a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area; Before displaying the target waveform material in the sequence track, the waveform material can also be created based on the material creation operation input by the user in the waveform material area; or, based on the user's control of the preset material download The download operation is to download the waveform material from the preset address.
在一种可能的实现方式中,还可以基于用户针对所述波形素材的控制操作,对所述波形素材执行对应的操作;其中,所述控制操作包括下述中的至少一者:移动、合并、复制、删除。In a possible implementation manner, a corresponding operation may be performed on the waveform material based on the user's control operation on the waveform material; wherein the control operation includes at least one of the following: moving, merging , copy, delete.
在一种可能的实现方式中,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;其中,所述波形运算操作为至少两个序列轨道内目标波形素材之间的运算操作。In a possible implementation manner, the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Operations between target waveform materials in sequence tracks.
本实施例通过基于用户将目标波形素材发送或拖动至序列轨道的操作,在序列轨道中显示目标波形素材,并基于用户在所述序列轨道中对目标波形素材的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形素材的样貌或形态,并实现了直接在序列轨道中对波形素材进行编辑,创建得到波形序列,使得波形素材之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, the target waveform material is displayed in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, and the sequence track is created based on the user's editing operation on the target waveform material in the sequence track The corresponding waveform sequence realizes the real-time display of the appearance or shape of the waveform material in the form of a sequence track, and realizes the editing of the waveform material directly in the sequence track to create a waveform sequence, making the editing between waveform materials The operation is more convenient and more intuitive, which meets the needs of editing complex signals and improves the convenience of operation and user experience.
在此需要说明的是,本申请实施例提供的波形序列生成方法,执行主体可以为上述实施例中的波形序列生成装置,或者该波形序列生成装置中的用于执行波形序列生成方法的控制模块。上述实施例提供的波形序列生成装置能够实现上述波形序列生成方法实施例的所有方法步骤及有益效果,为避免重复,在此不再对本实施例波形序列生成方法中与上述方法实施例波形序列生成装置中的相同步骤以及有益效果进行赘述。It should be noted here that, for the waveform sequence generation method provided in the embodiment of the present application, the execution subject may be the waveform sequence generation device in the above embodiment, or the control module in the waveform sequence generation device for executing the waveform sequence generation method . The waveform sequence generation device provided by the above-mentioned embodiment can realize all the method steps and beneficial effects of the above-mentioned waveform sequence generation method embodiment. The same steps and beneficial effects in the device are described in detail.
对应上述实施例提供的波形序列生成方法,基于相同的技术构思,本申请实施例还提供了一种电子设备,该电子设备用于执行上述的波形序列生成方法,图4为实现本申请各 个实施例的一种电子设备的结构示意图。电子设备可因配置或性能不同而产生比较大的差异,可以包括处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440,其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储在存储器430上并可在处理器410上运行的计算机程序,以执行下述步骤:Corresponding to the waveform sequence generation method provided in the above-mentioned embodiments, based on the same technical concept, the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence generation method. A schematic diagram of the structure of an electronic device. Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 . The processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材,其中所述序列轨道显示于电子设备的显示界面中,所述目标波形素材为所述显示界面所显示的波形素材中的至少一个;Based on the user's operation of sending or dragging the target waveform material to the sequence track, the target waveform material is displayed in the sequence track, wherein the sequence track is displayed on the display interface of the electronic device, and the target waveform material is all At least one of the waveform materials displayed on the display interface;
基于用户在所述序列轨道中对所述目标波形素材的编辑操作,创建得到所述序列轨道所对应的波形序列。Based on the user's editing operation on the target waveform material in the sequence track, a waveform sequence corresponding to the sequence track is created.
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个且所述目标波形素材为多个的情况下,所述在所述序列轨道中显示所述目标波形素材,包括:在多个所述序列轨道中的至少一个序列轨道中显示所述目标波形素材。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple and the target waveform material is multiple, the sequence Displaying the target waveform material in a track includes: displaying the target waveform material in at least one sequence track among the plurality of sequence tracks.
在一种可能的实现方式中,所述显示界面中显示有波形素材区域,且所述波形素材区域中显示有所述波形素材;在所述基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材之前,还包括:基于用户在所述波形素材区域输入的素材创建操作,创建所述波形素材;或者,基于用户对预设的素材下载控件的下载操作,从预设地址下载得到所述波形素材。In a possible implementation manner, a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area; The operation, before displaying the target waveform material in the sequence track, further includes: creating the waveform material based on the material creation operation input by the user in the waveform material area; or, downloading the preset material based on the user The download operation of the control downloads the waveform material from a preset address.
在一种可能的实现方式中,基于用户针对所述波形素材的控制操作,对所述波形素材执行对应的操作;其中,所述控制操作包括下述中的至少一者:移动、合并、复制、删除。In a possible implementation manner, based on a user's control operation on the waveform material, a corresponding operation is performed on the waveform material; wherein the control operation includes at least one of the following: move, merge, copy ,delete.
在一种可能的实现方式中,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;其中,所述波形运算操作为至少两个序列轨道内目标波形素材之间的运算操作。In a possible implementation manner, the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Operations between target waveform materials in sequence tracks.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述波形序列生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence generation method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片 上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip, system-on-chip, or system-on-chip.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的波形序列处理装置进行详细地说明。The waveform sequence processing apparatus provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图8所示,该波形序列处理装置包括波形片段显示模块801、波形效果素材显示模块802、波形效果处理模块803和波形序列处理模块804;其中,As shown in Figure 8, the waveform sequence processing device includes a waveform segment display module 801, a waveform effect material display module 802, a waveform effect processing module 803 and a waveform sequence processing module 804; wherein,
波形片段显示模块801,用于在显示界面所显示的序列轨道中显示至少一个波形片段。The waveform segment display module 801 is configured to display at least one waveform segment in the sequence track displayed on the display interface.
具体的,波形序列处理装置的显示界面中显示有序列轨道。作为一个示例,如图9所示,在波形序列处理装置的显示界面中可以设置序列轨道显示区域91,该序列轨道显示区域91中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域91中显示有序列轨道911、序列轨道912和序列轨道913,实现了多轨道的并行设置。Specifically, the sequence track is displayed on the display interface of the waveform sequence processing device. As an example, as shown in FIG. 9 , a sequence track display area 91 may be set in the display interface of the waveform sequence processing device, and one or more sequence tracks are displayed in the sequence track display area 91 . For example, as an example, a sequence track 911 , a sequence track 912 and a sequence track 913 are displayed in the sequence track display area 91 , which realizes the parallel setting of multiple tracks.
序列轨道的横轴可以为波形点数,使得能够基于波形点数实现可变点数,即拟合插值,从而实现波形片段的动态伸缩;此外,序列轨道的横轴还可以为时间、时频率等,在此不对此进行具体限定。The horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform segment; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
在本实施例中,波形序列处理装置可以通过波形片段显示模块801在序列轨道中显示至少一个波形片段。例如,作为一个示例,继续参见图9,在序列轨道911中显示有波形片段a、波形片段b和波形片段c,这样通过采用序列轨道的形式,使得能够实时显示波形片段的样貌或形态,片段与片段之间的差异,实现了至少一个波形片段的可视化。In this embodiment, the waveform sequence processing apparatus may display at least one waveform segment in the sequence track through the waveform segment display module 801 . For example, as an example, continue to refer to FIG. 9 , waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 911, so that the appearance or form of the waveform segment can be displayed in real time by adopting the form of a sequence track, Segment-to-segment differences enabling visualization of at least one waveform segment.
波形效果素材显示模块802,用于基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材。The waveform effect material display module 802 is configured to display the target waveform effect material at a preset position of the first target waveform segment based on the user's operation of sending or dragging the target waveform effect material to the sequence track.
其中,目标波形效果素材为所述显示界面中所显示的波形效果素材中的至少一个,所述第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意波形片段。Wherein, the target waveform effect material is at least one of the waveform effect materials displayed in the display interface, and the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or the at least one waveform Arbitrary Waveform Segment in Segment.
可选地,波形效果素材可以包括下述中的至少一者:加噪效果素材、滤波效果素材、调制效果素材、加密解密效果素材。Optionally, the waveform effect material may include at least one of the following: noise adding effect material, filter effect material, modulation effect material, and encryption and decryption effect material.
波形序列处理装置的显示界面中还可以显示有效果素材区域。作为一个示例,如图9所示,显示界面中的效果素材区域92中可以显示有加噪效果素材所对应的控件、滤波效果素材所对应的控件、调制效果素材所对应的控件、加密解密效果素材所对应的控件等。The display interface of the waveform sequence processing device can also display an effect material area. As an example, as shown in FIG. 9 , in the effect material area 92 in the display interface, controls corresponding to noise-adding effect materials, controls corresponding to filtering effect materials, controls corresponding to modulation effect materials, and encryption and decryption effects can be displayed. The controls corresponding to the material, etc.
在用户按照所需效果选择一个波形效果素材作为目标波形效果素材后,用户可以将该目标波形效果素材发送或拖动至序列轨道,此时波形序列处理装置中的波形效果素材显示模块可以基于用户将目标波形效果素材发送或拖动至序列轨道的操作,将目标波形效果素 材显示在第一目标波形片段的预设位置处。具体的,该预设位置可以为第一目标波形片段的1/3区域,该1/3区域可以为第一目标波形片段的左侧、中间或右侧的1/3区域,在此不对此进行具体限定。After the user selects a waveform effect material as the target waveform effect material according to the desired effect, the user can send or drag the target waveform effect material to the sequence track. At this time, the waveform effect material display module in the waveform sequence processing device can be based on the user The operation of sending or dragging the target wave effect material to the sequence track displays the target wave effect material at the preset position of the first target wave segment. Specifically, the preset position may be a 1/3 area of the first target waveform segment, and the 1/3 area may be the left, middle or right 1/3 area of the first target waveform segment, which is not mentioned here. Make specific restrictions.
需要说明的是,第一目标波形片段可以为用户所选择的波形片段或任意波形片段。例如,作为一个示例,如图9所示,假设用户需要对波形片段a附加波形效果,则第一目标波形片段可以为波形片段a。It should be noted that the first target waveform segment may be a waveform segment or an arbitrary waveform segment selected by the user. For example, as an example, as shown in FIG. 9 , assuming that the user needs to add a waveform effect to waveform segment a, the first target waveform segment may be waveform segment a.
波形效果处理模块803,用于对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段。The waveform effect processing module 803 is configured to add an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment.
具体的,波形效果处理模块可以对第一目标波形片段附加目标波形效果素材所对应的效果,得到第二目标波形片段,从而实现了在对波形进行处理的过程中,直接在序列轨道中对波形片段进行效果处理,满足了编辑复杂信号的需求。Specifically, the waveform effect processing module can add the effect corresponding to the target waveform effect material to the first target waveform segment to obtain the second target waveform segment. Clips are processed with effects to meet the needs of editing complex signals.
具体的,加噪效果素材所对应的效果为加噪,滤波效果素材所对应的效果为滤波,调制效果素材所对应的效果为调制,加密解密效果素材所对应的效果为加密解密。Specifically, the effect corresponding to the noise adding effect material is noise adding, the corresponding effect of the filtering effect material is filtering, the corresponding effect of the modulation effect material is modulation, and the corresponding effect of the encryption and decryption effect material is encryption and decryption.
波形序列处理模块804,用于基于用户在第一序列轨道中对第二目标波形片段的第一编辑操作,创建得到第一序列轨道所对应的波形序列。The waveform sequence processing module 804 is configured to create a waveform sequence corresponding to the first sequence track based on the user's first editing operation on the second target waveform segment in the first sequence track.
其中,第一序列轨道为第二目标波形片段所在的序列轨道。Wherein, the first sequence track is the sequence track where the second target waveform segment is located.
第一编辑操作可以包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作。The first editing operation may include at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation.
其中,所述波形运算操作为第二目标波形片段与第三序列轨道中的波形片段之间的运算操作,其中,第三序列轨道与第一序列轨道不同。运算操作可以包括波形叠加、波形调制、加密解密等。Wherein, the waveform calculation operation is a calculation operation between the second target waveform segment and the waveform segment in the third sequence track, wherein the third sequence track is different from the first sequence track. Operations may include waveform superposition, waveform modulation, encryption and decryption, etc.
具体的,波形序列处理模块804可以基于用户在第一序列轨道中对第二目标波形片段的第一编辑操作,创建得到该第一序列轨道所对应的波形序列。Specifically, the waveform sequence processing module 804 may create a waveform sequence corresponding to the first sequence track based on the user's first editing operation on the second target waveform segment in the first sequence track.
可选的,在创建得到波形序列之后,可以将波形序列发送到指定通道并输出。例如,可以将波形序列输入到AFG或AWG等波形序列信号产生装置中,并通过波形序列信号产生装置输出显示,以将该波形序列进行测试使用。Optionally, after the waveform sequence is created, the waveform sequence can be sent to a specified channel and output. For example, the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
当然,在创建得到波形序列之后,还可以在序列轨道中调整该波形序列的波形点,以实现对波形序列的微调节。Of course, after the waveform sequence is created, the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
本实施例通过波形片段显示模块在显示界面所显示的序列轨道中显示至少一个波形片段,并通过波形效果素材显示模块基于用户将目标波形效果素材发送或拖动至序列轨道的 操作,在第一目标波形片段的预设位置处显示目标波形效果素材,通过波形效果处理模块对第一目标波形片段附加目标波形效果素材所对应的效果,得到第二目标波形片段,通过波形序列处理模块基于用户在第一序列轨道中对第二目标波形片段的第一编辑操作,创建得到第一序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌/形态,片段与片段之间的差异,并实现了对波形片段附加效果以及直接在序列轨道中对波形片段进行编辑,创建得到波形序列,使得波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and the waveform effect material display module based on the user's operation of sending or dragging the target waveform effect material to the sequence track, in the first The target waveform effect material is displayed at the preset position of the target waveform segment, and the corresponding effect of the target waveform effect material is added to the first target waveform segment by the waveform effect processing module to obtain the second target waveform segment, and the waveform sequence processing module is based on the user's The first editing operation on the second target waveform segment in the first sequence track creates the waveform sequence corresponding to the first sequence track, realizing the real-time display of the appearance/morphology of the waveform segment, segment and segment in the form of sequence track It realizes the addition of effects to waveform segments and directly edits waveform segments in the sequence track to create a waveform sequence, which makes the editing operation between waveform segments more convenient and intuitive, and satisfies the needs of editing complex signals. It improves the operation convenience and user experience.
在一种可能的实现方式中,波形序列处理装置还包括波形片段采集模块,用于基于用户的波形片段采集指令,接收或创建所述至少一个波形片段,并将所述至少一个波形片段发送至所述波形片段显示模块。In a possible implementation manner, the waveform sequence processing device further includes a waveform segment acquisition module, configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
具体的,波形处理装置可以通过波形片段采集模块接收或创建至少一个波形片段,然后通过波形显示模块将接收或创建的至少一个波形片段显示在序列轨道中。Specifically, the waveform processing device may receive or create at least one waveform segment through the waveform segment acquisition module, and then display the received or created at least one waveform segment in the sequence track through the waveform display module.
可选的,针对波形片段的接收或创建,如图9所示,显示界面中可以设置波形管理区域93,在该波形管理区域93中显示有用于管理波形的控件,例如指示基本波形的文件夹控件、指示自定义波形的文件夹控件、指示添加文件夹的控件、用于指示创建自定义波形的控件等。用户可以通过指示基本波形的文件夹控件选择基本波形,或者通过指示自定义波形的文件夹控件选择自定义波形,此时波形片段采集模块可以基于用户的选择,接收用户所选择的波形片段;此外,用户可以通过指示创建自定义波形的控件创建自定义波形,此时波形片段采集模块可以基于用户的创建操作,创建波形片段。Optionally, for receiving or creating waveform segments, as shown in FIG. 9 , a waveform management area 93 can be set in the display interface, and controls for managing waveforms are displayed in the waveform management area 93, such as folders indicating basic waveforms controls, folder controls to indicate custom waveforms, controls to add folders, controls to create custom waveforms, etc. The user can select the basic waveform through the folder control indicating the basic waveform, or select the custom waveform through the folder control indicating the custom waveform. At this time, the waveform segment acquisition module can receive the waveform segment selected by the user based on the user's selection; in addition , the user can create a custom waveform through the control indicating to create a custom waveform. At this time, the waveform segment acquisition module can create a waveform segment based on the user's creation operation.
此外,可选的,针对波形片段的创建,显示界面中还可以设置波形参数设置区域94,在该波形参数设置区域94中显示有用于对波形片段的参数进行设置的参数设置框,例如点数设置框、采样率设置框、频率设置框、波形类型设置框、循环次数设置框、相位设置框、高低电平设置框、幅度设置框、偏移设置框等,以对波形的点数、采样率、频率、波形、循环次数、相位、高低电平、幅度、偏移等进行编辑设置,从而实现对波形参数的设置,波形片段采集模块能够基于用户对波形的设置操作,创建波形片段。In addition, optionally, for the creation of the waveform segment, a waveform parameter setting area 94 can also be set in the display interface, and a parameter setting box for setting the parameters of the waveform segment is displayed in the waveform parameter setting area 94, such as point number setting box, sampling rate setting box, frequency setting box, waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of waveform points, sampling rate, Edit and set frequency, waveform, cycle times, phase, high and low levels, amplitude, offset, etc., so as to realize the setting of waveform parameters. The waveform segment acquisition module can create waveform segments based on the user's setting operation on the waveform.
在一种可能的实现方式中,序列轨道的数量为一个或多个;In a possible implementation manner, the number of sequence tracks is one or more;
在所述序列轨道的数量为多个的情况下,所述波形片段显示模块用于,在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。When the number of the sequence tracks is multiple, the waveform segment display module is configured to display at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
具体的,若序列轨道的数量为多个,则可以在多个序列轨道中的至少一个序列轨道中显示至少一个波形片段。例如,作为一个示例,假设序列轨道的数量为两个,波形片段的 数量为三个,则可以在其中一个序列轨道中显示三个波形片段,还可以在一个序列轨道中显示两个波形片段,在另一个序列轨道中显示一个波形片段,即用户可以根据波形片段的显示需求确定波形片段的显示位置并进行相关的显示位置选择操作,此时波形片段显示模块基于用户的显示位置选择操作将波形片段显示在用户所选择的序列轨道中。Specifically, if there are multiple sequence tracks, at least one waveform segment may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of waveform clips is three, you can display three waveform clips in one sequence track and two waveform clips in one sequence track, Display a waveform segment in another sequence track, that is, the user can determine the display position of the waveform segment according to the display requirements of the waveform segment and perform related display position selection operations. At this time, the waveform segment display module will display the waveform based on the user's display position selection operation. The clips are displayed in the sequence track selected by the user.
这样,通过设置一个或多个序列轨道,且在多个序列轨道中的至少一个序列轨道中显示至少一个波形片段,实现了对波形片段的多样化显示,使得用户能够根据编辑需求将多个波形片段显示在不同的序列轨道中,提高了波形片段的编辑便捷性。In this way, by setting one or more sequence tracks, and displaying at least one waveform segment in at least one of the multiple sequence tracks, the diversified display of waveform segments is realized, so that users can combine multiple waveforms according to editing requirements. Segments are displayed in different sequence tracks, improving the editing convenience of waveform segments.
在一种可能的实现方式中,波形效果处理模块可以用于执行下述任意一者:In a possible implementation manner, the waveform effect processing module may be used to perform any of the following:
其一,对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段。Firstly, adding an effect corresponding to the target waveform effect material to a first preset range of the first target waveform segment to obtain the second target waveform segment.
具体的,第一预设范围可以为第一目标波形片段的1/4区域、1/3区域或1/2区域等。Specifically, the first preset range may be 1/4 area, 1/3 area, or 1/2 area, etc. of the first target waveform segment.
在该种方式中,可以将第一预设范围作为默认的附加效果范围,波形效果处理模块可以直接对第一目标波形片段的第一预设范围附加目标波形效果素材所对应的效果,得到第二目标波形片段,使得用户能够参考附加有效果的局部波形片段,判断所选择的目标波形效果素材是否为所需的波形效果素材。In this way, the first preset range can be used as the default additional effect range, and the waveform effect processing module can directly add the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment to obtain the second The second target waveform segment enables the user to refer to the added partial waveform segment to determine whether the selected target waveform effect material is the required waveform effect material.
其二,基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,对所述第一波形波形片段的第二预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段。Second, based on the user's operation on the target waveform effect material for adjusting the additional range of the effect, the effect corresponding to the target waveform effect material is added to the second preset range of the first waveform segment to obtain the Describe the second target waveform segment.
其中,所述第二预设范围为用户所调整的效果附加范围。Wherein, the second preset range is an additional effect range adjusted by the user.
具体的,在该种方式中,用户可以对目标波形效果素材输入用于调整效果附加范围的操作,该操作可以为拖拽目标波形效果素材的左侧和右侧以增大或减小效果附加范围;此时波形效果处理模块可以在用户所调整的效果附加范围上,附加目标波形效果素材所对应的效果,实现了用户能够对波形效果范围进行调整。Specifically, in this way, the user can input an operation for adjusting the range of effect addition to the target waveform effect material. The operation can be dragging the left and right sides of the target waveform effect material to increase or decrease the effect addition range. range; at this time, the waveform effect processing module can add the effect corresponding to the target waveform effect material to the additional range of the effect adjusted by the user, so that the user can adjust the range of the waveform effect.
其三,对第一目标波形片段的第一预设范围附加目标波形效果素材所对应的效果,并基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,调整所述第一预设范围,得到所述第二目标波形片段。Third, add the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment, and adjust the first target waveform effect material based on the user’s operation for adjusting the effect addition range. A preset range is used to obtain the second target waveform segment.
在该种方式中,可以将第一预设范围作为默认的附加效果范围,波形效果处理模块可以直接对第一目标波形片段的第一预设范围附加目标波形效果素材所对应的效果,使得用户能够参考附加有效果的局部波形片段,判断所选择的目标波形效果素材是否为所需的波形效果素材。In this way, the first preset range can be used as the default additional effect range, and the waveform effect processing module can directly add the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment, so that the user It can be judged whether the selected target waveform effect material is the required waveform effect material by referring to the partial waveform segment with additional effects.
其中,若用户需要调整该第一预设范围,则用户可以对目标波形效果素材输入用于调整效果附加范围的操作,此时波形效果处理模块可以基于该操作调整第一预设范围,得到第二目标波形片段,实现了用户能够基于需求对波形效果范围进行调整。Wherein, if the user needs to adjust the first preset range, the user can input an operation for adjusting the additional range of the effect on the target waveform effect material, and at this time, the waveform effect processing module can adjust the first preset range based on the operation to obtain the second Two target waveform segments enable users to adjust the range of waveform effects based on their needs.
这样,通过上述任一方式,均实现了对波形片段附加波形效果,满足了用户对波形片段附加波形效果的需求。In this way, through any of the above methods, the waveform effect can be added to the waveform segment, and the user's demand for adding the waveform effect to the waveform segment can be met.
在一种可能的实现方式中,所述波形序列处理装置还包括:波形效果素材移动模块,用于在所述第一目标波形片段的预设位置处显示所述目标波形效果素材之后,基于用户将所述目标波形效果素材拖动至第三目标波形片段的操作,对所述第三目标波形片段附加所述目标波形效果素材所对应的效果,其中所述第三目标波形片段与所述第一目标波形片段不同;In a possible implementation manner, the waveform sequence processing device further includes: a waveform effect material moving module, configured to display the target waveform effect material at the preset position of the first target waveform segment, based on the user The operation of dragging the target waveform effect material to the third target waveform segment adds an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the first target waveform segment. A target waveform segment is different;
对应的,所述波形序列处理模块,用于基于用户在第二序列轨道中对所述第三目标波形片段的第二编辑操作,创建得到所述第二序列轨道所对应的波形序列。Correspondingly, the waveform sequence processing module is configured to create a waveform sequence corresponding to the second sequence track based on the user's second editing operation on the third target waveform segment in the second sequence track.
具体的,第二序列轨道为第三目标波形片段所在的序列轨道。若用户需要对与第一目标波形片段不同的第三目标波形片段附加该目标波形效果素材所对应的效果,则可以将该目标波形效果素材拖动至第三目标波形片段,此时波形效果素材移动模块可以基于用户将该目标波形效果素材拖动至第三目标波形片段的操作,对第三目标波形片段附加目标波形效果素材所对应的效果;然后,波形序列处理模块可以基于用户在第二序列轨道中对第三目标波形片段的第二编辑操作,创建得到第二序列轨道所对应的波形序列,实现了用户能够对任意波形片段附加波形效果并进行编辑操作,满足了用户对复杂信号的编辑需求。Specifically, the second sequence track is the sequence track where the third target waveform segment is located. If the user needs to add the effect corresponding to the target waveform effect material to the third target waveform segment different from the first target waveform segment, he can drag the target waveform effect material to the third target waveform segment, and the wave effect material The mobile module can add the effect corresponding to the target waveform effect material to the third target waveform segment based on the user's operation of dragging the target waveform effect material to the third target waveform segment; then, the waveform sequence processing module can be based on the user's second The second editing operation on the third target waveform segment in the sequence track creates the waveform sequence corresponding to the second sequence track, enabling users to add waveform effects to arbitrary waveform segments and perform editing operations, satisfying the user's needs for complex signals Editing needs.
需要说明的是,第二编辑操作的具体内容可以参见第一编辑操作,在此不再对此进行具体赘述。It should be noted that, for the specific content of the second editing operation, reference may be made to the first editing operation, which will not be repeated here.
此外,在一种可能的实现方式中,所述显示界面中还显示有至少一个操作控件;所述波形序列编辑装置还包括:操作控制模块,用于基于用户针对所述至少一个操作控件中目标操作控件的控制操作,执行所述目标操作控件所对应的操作。In addition, in a possible implementation manner, at least one operation control is also displayed on the display interface; the waveform sequence editing device further includes: an operation control module, configured to The control operation of the operation control executes the operation corresponding to the target operation control.
可选的,所述至少一个操作控件包括下述中的至少一者:轨道选择控件、波形序列下载控件、波形片段保存控件、轨道参数设置控件、同相正交IQ设置控件、时频频域切换控件、波形片段移动控件、波形注释控件、波形裁剪控件、轨道缩小控件、轨道放大控件、波形片段着色控件、波形片段删除控件、波形片段复制控件、波形片段粘贴控件。Optionally, the at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment saving control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control , Waveform Segment Move Control, Waveform Comment Control, Waveform Clipping Control, Track Zoom Out Control, Track Zoom In Control, Waveform Segment Coloring Control, Waveform Segment Delete Control, Waveform Segment Copy Control, Waveform Segment Paste Control.
需要说明的是,至少一个操作控件可以显示于图9中的操作控件显示区域95中(图9中未一一示出),使得用户能够在固定区域查找到所需的操作控件,方便了用户的操作。It should be noted that at least one operation control can be displayed in the operation control display area 95 in FIG. operation.
具体的,下面对各个操作控件的功能进行具体说明。Specifically, the functions of each operation control are described in detail below.
轨道选择控件,用于对序列轨道进行选择,使得能够在选中的序列轨道中显示波形片段。The track selection control is used to select the sequence track, so that the waveform segment can be displayed in the selected sequence track.
波形序列下载控件,用于将选中的序列轨道上编辑得到的波形序列下载至指定通道。The waveform sequence download control is used to download the edited waveform sequence on the selected sequence track to the specified channel.
波形片段保存控件,用于保存选中的序列轨道上的波形片段,使得能够作为波形片段素材。The waveform clip saving control is used to save the waveform clip on the selected sequence track, so that it can be used as a waveform clip material.
轨道参数设置控件,用于设置序列轨道的参数,该参数可以包括下述中的至少一者:备注信息、历史信息、历史操作回滚设置(例如返回上一次或上几次编辑)、轨道坐标上下限设置、轨道名称以及轨道创建时间。The track parameter setting control is used to set the parameters of the sequence track, and the parameter can include at least one of the following: remark information, historical information, historical operation rollback settings (such as returning to the last time or last several edits), track coordinates Upper and lower limit settings, track name, and track creation time.
同相正交(in-phase quadrature,IQ)设置控件,用于确定选中的控件作为I路还是Q路。The in-phase quadrature (IQ) setting control is used to determine whether the selected control is an I-way or a Q-way.
时频频域切换控件,用于将选中的序列轨道从时域呈现样式转换到频域下,当然也支持单个波形片段的时频域转换,其余波形将不出现在频域下,只显示选中的单个波形片段并转换到频域下。The time-frequency-frequency domain switching control is used to convert the selected sequence track from the time domain presentation style to the frequency domain. Of course, it also supports the time-frequency domain conversion of a single waveform segment. The remaining waveforms will not appear in the frequency domain, and only the selected one will be displayed. individual waveform segments and transform them into the frequency domain.
波形片段移动控件,用于拖动波形片段,使得能够在序列轨道上进行波形片段的移动、拼接等编辑操作。The waveform segment movement control is used to drag the waveform segment, so that editing operations such as movement and splicing of the waveform segment can be performed on the sequence track.
波形注释控件,用于对选中的序列轨道中的波形片段进行注释。The waveform comment control is used to comment on the waveform segment in the selected sequence track.
波形裁剪控件,用于在光标指示位置对波形片段进行裁剪操作,裁剪完原始波形片段将被一分为二,变为两个波形片段,使得可以将其它波形片段插入至裁剪的片段中。The waveform clipping control is used to clip the waveform segment at the position indicated by the cursor. After clipping, the original waveform segment will be divided into two and become two waveform segments, so that other waveform segments can be inserted into the trimmed segment.
轨道缩小控件,用于对选中的序列轨道进行缩小操作。The track zoom out control is used to zoom out the selected sequence track.
轨道放大控件,用于对选中的序列轨道进行放大操作。Track zoom control, used to zoom in on the selected sequence track.
波形片段着色控件,用于对波形片段进行着色。Wave segment coloring controls for coloring waveform segments.
波形片段删除控件,用于删除波形片段,例如可以将选中的波形片段拖出序列轨道外或点击波形片段删除控件,从而实现删除功能。The waveform segment deletion control is used to delete the waveform segment. For example, you can drag the selected waveform segment out of the sequence track or click the waveform segment deletion control to realize the deletion function.
轨道波形保存控件,用于保存所有序列轨道上的波形片段。Track waveform save control, used to save waveform clips on all sequence tracks.
波形片段复制控件,用于复制波形片段。Waveform segment copy control, used to copy waveform segments.
波形片段粘贴控件,用于粘贴复制的波形片段,使得可以重复波形的创建。Waveform segment paste control, used to paste copied waveform segments, making it possible to repeat the creation of waveforms.
在本实施例中,用户可以根据需求选择上述任一操作控件作为目标操作控件,并对目标操作控件输入控制操作,此时波形序列处理装置中的操作控制模块基于用户对目标操作控件的控制操作,执行该目标操作控件所对应的操作,例如轨道选择控件所对应的序列轨 道选择、波形序列下载控件所对应的波形序列下载、波形片段保存控件所对应的波形片段保存等,从而实现了操作控件所对应的功能。In this embodiment, the user can select any of the above-mentioned operation controls as the target operation control according to the requirement, and input control operations to the target operation control. At this time, the operation control module in the waveform sequence processing device is based on the user's control operation on the target operation control , execute the operation corresponding to the target operation control, such as the sequence track selection corresponding to the track selection control, the waveform sequence download corresponding to the waveform sequence download control, and the waveform segment saving corresponding to the waveform segment saving control, etc., thus realizing the operation control corresponding function.
此外,具体的,针对目标操作控件的控制操作可以为点击操作、双击操作、拖动操作等,在此并不对此进行具体限定。In addition, specifically, the control operation for the target operation control may be a click operation, a double-click operation, a drag operation, etc., which are not specifically limited here.
此外,在一种可能的实现方式中,所述显示界面上还显示有波形播放区域;所述波形序列处理装置还包括:波形片段播放模块,用于在所述波形播放区域播放用户所选定的波形片段;其中所述用户所选定的波形片段包括未进行编辑操作的波形片段或所述波形序列中的波形片段。In addition, in a possible implementation manner, a waveform playing area is also displayed on the display interface; the waveform sequence processing device further includes: a waveform segment playing module, configured to play the waveform selected by the user in the waveform playing area. The waveform segment selected by the user includes the waveform segment without editing operation or the waveform segment in the waveform sequence.
具体的,继续参见图9,显示界面上还显示有波形播放区域96,该波形播放区域96中可以设置有播放按键,以用于控制波形的播放。在用户选定波形片段之后,波形片段播放模块可以在波形播放区域播放用户所选定的波形片段,从而实现对所选中波形片段的动态呈现。Specifically, referring to FIG. 9 , there is also a waveform playing area 96 displayed on the display interface, and a playing button may be set in the waveform playing area 96 for controlling the playing of the waveform. After the user selects the waveform segment, the waveform segment playback module can play the user-selected waveform segment in the waveform playback area, thereby realizing the dynamic presentation of the selected waveform segment.
当然需要说明的是,用户所选定的波形片段包括未进行编辑操作的波形片段,即可以在波形播放区域播放还未进行编辑操作的波形片段;此外,用户所选定的波形片段还包括波形序列中的波形片段,即在创建得到波形序列之后,在波形播放区域播放所创建得到的波形序列中的波形片段。Of course, it should be noted that the waveform segment selected by the user includes the waveform segment that has not been edited, that is, the waveform segment that has not been edited can be played in the waveform playback area; in addition, the waveform segment selected by the user also includes the waveform segment. The waveform segment in the sequence, that is, after the waveform sequence is created, play the waveform segment in the created waveform sequence in the waveform playback area.
此外,可选的,所述用户所选定的波形片段包括:第一目标波形位置之后的波形片段;或者,第一目标波形位置与第二目标波形位置之间的波形片段,其中,所述第一目标波形位置和第二目标波形位置由用户选定。In addition, optionally, the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
即波形片段播放模块可以在波形播放区域播放用户选定的第一目标波形位置之后的波形片段,还可以在波形播放区域播放第一目标波形位置与第二目标波形位置之间的波形片段。That is, the waveform segment playback module can play the waveform segment after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform segment between the first target waveform position and the second target waveform position in the waveform playback area.
这样,本实施例通过波形片段显示模块在显示界面所显示的序列轨道中显示至少一个波形片段,并通过波形效果素材显示模块基于用户将目标波形效果素材发送或拖动至序列轨道的操作,在第一目标波形片段的预设位置处显示目标波形效果素材,通过波形效果处理模块对第一目标波形片段附加目标波形效果素材所对应的效果,得到第二目标波形片段,通过波形序列处理模块基于用户在第一序列轨道中对第二目标波形片段的第一编辑操作,创建得到第一序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌/形态,片段与片段之间的差异,并实现了对波形片段附加效果以及直接在序列轨道中对波形片段进行编辑,创建得到波形序列,使得波形片段之间的编辑操作更加便捷以 及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this way, in this embodiment, the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and the waveform effect material display module sends or drags the target waveform effect material to the sequence track based on the operation of the user. The target waveform effect material is displayed at the preset position of the first target waveform segment, and the corresponding effect of the target waveform effect material is added to the first target waveform segment by the waveform effect processing module to obtain the second target waveform segment, and the waveform sequence processing module is based on The user performs the first editing operation on the second target waveform segment in the first sequence track to create a waveform sequence corresponding to the first sequence track, realizing the real-time display of the appearance/morphology of the waveform segment in the form of a sequence track. The difference between the waveform segment and the segment, and realize the addition of effects to the waveform segment and edit the waveform segment directly in the sequence track to create a waveform sequence, which makes the editing operation between the waveform segment more convenient and more intuitive, and satisfies the complexity of editing. The demand for signals improves the convenience of operation and user experience.
此外,本申请实施例还提供一种波形序列处理方法,如图10所示,该波形序列处理方法可以包括如下步骤:In addition, the embodiment of the present application also provides a waveform sequence processing method, as shown in FIG. 10, the waveform sequence processing method may include the following steps:
步骤1001:在电子设备显示界面所显示的序列轨道中显示至少一个波形片段。Step 1001: Display at least one waveform segment in a sequence track displayed on a display interface of the electronic device.
具体的,电子设备可以为波形序列处理装置。作为一个示例,参见图9,在显示界面中可以设置序列轨道显示区域91,该序列轨道显示区域91中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域91中显示有序列轨道911、序列轨道912和序列轨道913。Specifically, the electronic device may be a waveform sequence processing device. As an example, referring to FIG. 9 , a sequence track display area 91 may be set in the display interface, and one or more sequence tracks are displayed in the sequence track display area 91 . For example, as an example, a sequence track 911 , a sequence track 912 and a sequence track 913 are displayed in the sequence track display area 91 .
在本步骤中可以在序列轨道中显示至少一个波形片段。In this step, at least one waveform segment can be displayed in the sequence track.
步骤1002:基于用户将目标波形效果素材发送或拖动至序列轨道的操作,在第一目标波形片段的预设位置处显示目标波形效果素材。Step 1002: Based on the user's operation of sending or dragging the target waveform effect material to the sequence track, display the target waveform effect material at a preset position of the first target waveform segment.
其中,目标波形效果素材为显示界面中所显示的波形效果素材中的至少一个,第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意波形片段。Wherein, the target waveform effect material is at least one of the waveform effect materials displayed on the display interface, and the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or any of the at least one waveform segment. Waveform fragment.
步骤1003:对第一目标波形片段附加目标波形效果素材所对应的效果,得到第二目标波形片段。Step 1003: Add an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment.
具体的,在本步骤中,可以对第一目标波形片段附加目标波形效果素材所对应的效果,得到第二目标波形片段,实现了在序列轨道中对波形片段附加波形效果。Specifically, in this step, the effect corresponding to the target waveform effect material can be added to the first target waveform segment to obtain the second target waveform segment, realizing the addition of the waveform effect to the waveform segment in the sequence track.
步骤1004:基于用户在第一序列轨道中对所述第二目标波形片段的第一编辑操作,创建得到第一序列轨道所对应的波形序列。Step 1004: Based on the user's first editing operation on the second target waveform segment in the first sequence track, create a waveform sequence corresponding to the first sequence track.
具体的,第一序列轨道为第二目标波形片段所在的序列轨道。Specifically, the first sequence track is the sequence track where the second target waveform segment is located.
在本步骤中,可以基于用户在第一序列轨道中对第二目标波形片段的第一编辑操作,创建得到该第一序列轨道所对应的波形序列,这使得用户能够在序列轨道中对波形片段进行编辑操作创建满足使用需求的波形序列,实现了波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this step, the waveform sequence corresponding to the first sequence track can be created based on the user's first editing operation on the second target waveform segment in the first sequence track, which enables the user to edit the waveform segment in the sequence track Perform editing operations to create waveform sequences that meet the needs of use, making the editing operations between waveform segments more convenient and more intuitive, meeting the needs of editing complex signals, and improving the convenience of operation and user experience.
在一种可能的实现方式中,在所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。In a possible implementation manner, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, it further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction .
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段 时,可以在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least When a waveform segment is selected, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks.
在一种可能的实现方式中,所述对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段,包括下述任意一者:In a possible implementation manner, the adding an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment includes any one of the following:
对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段;Adding an effect corresponding to the target waveform effect material to a first preset range of the first target waveform segment to obtain the second target waveform segment;
基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,对所述第一波形波形片段的第二预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段;其中,所述第二预设范围为用户所调整的效果附加范围;Based on the user's operation on the target waveform effect material for adjusting the additional range of the effect, add the effect corresponding to the target waveform effect material to the second preset range of the first waveform segment, and obtain the second The target waveform segment; wherein, the second preset range is the additional range of the effect adjusted by the user;
对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果,并基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,调整所述第一预设范围,得到所述第二目标波形片段。Adding the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment, and adjusting the first preset range based on the user's operation on the target waveform effect material for adjusting the additional range of the effect. A preset range is used to obtain the second target waveform segment.
在一种可能的实现方式中,所述基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材之后,还包括:In a possible implementation manner, based on the operation of sending or dragging the target waveform effect material to the sequence track by the user, after the target waveform effect material is displayed at the preset position of the first target waveform segment, Also includes:
基于用户将所述目标波形效果素材拖动至第三目标波形片段的操作,对所述第三目标波形片段附加所述目标波形效果素材所对应的效果,其中所述第三目标波形片段与所述第一目标波形片段不同;Based on the user's operation of dragging the target waveform effect material to a third target waveform segment, adding an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the third target waveform segment. The first target waveform segment is different;
基于用户在第二序列轨道中对所述第三目标波形片段的第二编辑操作,创建得到所述第二序列轨道所对应的波形序列。Based on the user's second editing operation on the third target waveform segment in the second sequence track, a waveform sequence corresponding to the second sequence track is created.
在一种可能的实现方式中,所述波形效果素材包括下述中的至少一者:加噪效果素材、滤波效果素材、调制效果素材、加密解密效果素材。In a possible implementation manner, the waveform effect material includes at least one of the following: noise addition effect material, filter effect material, modulation effect material, and encryption and decryption effect material.
本实施例通过在显示界面所显示的序列轨道中显示至少一个波形片段,并基于用户将目标波形效果素材发送或拖动至序列轨道的操作,在第一目标波形片段的预设位置处显示目标波形效果素材,对第一目标波形片段附加目标波形效果素材所对应的效果,得到第二目标波形片段,基于用户在第一序列轨道中对第二目标波形片段的第一编辑操作,创建得到第一序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌/形态,片段与片段之间的差异,并实现了对波形片段附加效果以及直接在序列轨道中对波形片段进行编辑,创建得到波形序列,使得波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, at least one waveform segment is displayed in the sequence track displayed on the display interface, and based on the user's operation of sending or dragging the target waveform effect material to the sequence track, the target is displayed at the preset position of the first target waveform segment Waveform effect material, add the effect corresponding to the target waveform effect material to the first target waveform segment to obtain the second target waveform segment, based on the user's first editing operation on the second target waveform segment in the first sequence track, create the second target waveform segment The waveform sequence corresponding to a sequence track realizes the form of a sequence track, real-time display of the appearance/morphology of the waveform segment, the difference between segments, and realizes additional effects on the waveform segment and directly in the sequence track. Edit the waveform segments to create a waveform sequence, which makes the editing operation between waveform segments more convenient and more intuitive, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
在此需要说明的是,本申请实施例提供的波形序列处理方法,执行主体可以为上述实施例中的波形序列处理装置,或者该波形序列处理装置中的用于执行波形序列处理方法的 控制模块。上述实施例提供的波形序列处理装置能够实现上述波形序列处理方法实施例的所有方法步骤及有益效果,为避免重复,在此不再对本实施例波形序列处理方法中与上述方法实施例波形序列处理装置中的相同步骤以及有益效果进行赘述。It should be noted here that the waveform sequence processing method provided in the embodiment of the present application can be executed by the waveform sequence processing device in the above embodiment, or the control module used to execute the waveform sequence processing method in the waveform sequence processing device . The waveform sequence processing device provided in the above embodiment can realize all the method steps and beneficial effects of the above embodiment of the waveform sequence processing method. In order to avoid repetition, the waveform sequence processing method in this embodiment and the waveform sequence processing in the above method embodiment will not be discussed here. The same steps and beneficial effects in the device are described in detail.
对应上述实施例提供的波形序列处理方法,基于相同的技术构思,本申请实施例还提供了一种电子设备,该电子设备用于执行上述的波形序列处理方法,图4为实现本申请各个实施例的一种电子设备的结构示意图。电子设备可因配置或性能不同而产生比较大的差异,可以包括处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440,其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储在存储器430上并可在处理器410上运行的计算机程序,以执行下述步骤:Corresponding to the waveform sequence processing method provided in the above-mentioned embodiments, based on the same technical concept, the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence processing method. A schematic diagram of the structure of an electronic device. Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 . The processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材,其中所述目标波形效果素材为所述显示界面中所显示的波形效果素材中的至少一个,所述第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意波形片段;Based on the user's operation of sending or dragging the target waveform effect material to the sequence track, displaying the target waveform effect material at a preset position of the first target waveform segment, wherein the target waveform effect material is the display interface At least one of the waveform effect materials displayed in , the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment;
对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段;Adding an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment;
基于用户在第一序列轨道中对所述第二目标波形片段的第一编辑操作,创建得到所述第一序列轨道所对应的波形序列,所述第一序列轨道为所述第二目标波形片段所在的序列轨道。Based on the user's first editing operation on the second target waveform segment in the first sequence track, a waveform sequence corresponding to the first sequence track is created, and the first sequence track is the second target waveform segment sequence track.
在一种可能的实现方式中,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。In a possible implementation manner, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the method further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction.
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;In a possible implementation manner, the number of sequence tracks is one or more;
在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段,包括:在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。In the case that the number of the sequence tracks is multiple, the displaying at least one waveform segment in the sequence tracks displayed on the display interface of the electronic device includes: displaying in at least one sequence track among the plurality of sequence tracks At least one waveform segment.
在一种可能的实现方式中,所述对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段,包括下述任意一者:In a possible implementation manner, the adding an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment includes any one of the following:
对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果, 得到所述第二目标波形片段;Adding an effect corresponding to the target waveform effect material to a first preset range of the first target waveform segment to obtain the second target waveform segment;
基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,对所述第一波形波形片段的第二预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段;其中,所述第二预设范围为用户所调整的效果附加范围;Based on the user's operation on the target waveform effect material for adjusting the additional range of the effect, add the effect corresponding to the target waveform effect material to the second preset range of the first waveform segment, and obtain the second The target waveform segment; wherein, the second preset range is the additional range of the effect adjusted by the user;
对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果,并基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,调整所述第一预设范围,得到所述第二目标波形片段。Adding the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment, and adjusting the first preset range based on the user's operation on the target waveform effect material for adjusting the additional range of the effect. A preset range is used to obtain the second target waveform segment.
在一种可能的实现方式中,所述基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材之后,还包括:In a possible implementation manner, based on the operation of sending or dragging the target waveform effect material to the sequence track by the user, after the target waveform effect material is displayed at the preset position of the first target waveform segment, Also includes:
基于用户将所述目标波形效果素材拖动至第三目标波形片段的操作,对所述第三目标波形片段附加所述目标波形效果素材所对应的效果,其中所述第三目标波形片段与所述第一目标波形片段不同;Based on the user's operation of dragging the target waveform effect material to a third target waveform segment, adding an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the third target waveform segment. The first target waveform segment is different;
基于用户在第二序列轨道中对所述第三目标波形片段的第二编辑操作,创建得到所述第二序列轨道所对应的波形序列。Based on the user's second editing operation on the third target waveform segment in the second sequence track, a waveform sequence corresponding to the second sequence track is created.
在一种可能的实现方式中,所述波形效果素材包括下述中的至少一者:加噪效果素材、滤波效果素材、调制效果素材、加密解密效果素材。In a possible implementation manner, the waveform effect material includes at least one of the following: noise addition effect material, filter effect material, modulation effect material, and encryption and decryption effect material.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述波形序列处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence processing method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的波形序列创建装置进行详细地说明。The waveform sequence creation device provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图11所示,该波形序列创建装置包括波形片段显示模块1101、波形参数设置模块1102和波形序列创建模块1103;其中,As shown in Figure 11, the waveform sequence creation device includes a waveform segment display module 1101, a waveform parameter setting module 1102 and a waveform sequence creation module 1103; wherein,
波形片段显示模块1101,用于在显示界面所显示的序列轨道中显示至少一个波形片段;A waveform segment display module 1101, configured to display at least one waveform segment in the sequence track displayed on the display interface;
波形参数设置模块1102,用于基于用户对第一目标波形片段的参数的设置操作,对所 述第一目标波形片段的所述参数进行设置,得到第二目标波形片段,其中所述第一目标波形片段为所述至少一个波形片段中用户所选中的波形片段;Waveform parameter setting module 1102, configured to set the parameters of the first target waveform segment based on the user's setting operation on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment The waveform segment is a waveform segment selected by the user in the at least one waveform segment;
波形序列创建模块1103,用于基于用户在所述序列轨道中对所述第二目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列。A waveform sequence creation module 1103, configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the second target waveform segment in the sequence track.
具体的,波形序列创建装置的显示界面中显示有序列轨道。作为一个示例,如图12所示,在波形序列创建装置的显示界面中可以设置序列轨道显示区域121,该序列轨道显示区域121中显示有一个或多个序列轨道。例如,作为一个示例,图12中序列轨道显示区域121中显示有序列轨道1211、序列轨道1212和序列轨道1213,实现了多轨道的并行设置。Specifically, sequence tracks are displayed on the display interface of the waveform sequence creating device. As an example, as shown in FIG. 12 , a sequence track display area 121 may be set in the display interface of the waveform sequence creation device, and one or more sequence tracks are displayed in the sequence track display area 121 . For example, as an example, a sequence track 1211 , a sequence track 1212 and a sequence track 1213 are displayed in the sequence track display area 121 in FIG. 12 , realizing the parallel setting of multiple tracks.
序列轨道的横轴可以为波形点数,使得能够基于波形点数实现可变点数,即拟合插值,从而实现波形片段的动态伸缩;此外,序列轨道的横轴还可以为时间、时频率等,在此不对此进行具体限定。The horizontal axis of the sequence track can be the number of waveform points, so that variable points can be realized based on the number of waveform points, that is, fitting interpolation, so as to realize the dynamic expansion and contraction of the waveform segment; in addition, the horizontal axis of the sequence track can also be time, time frequency, etc., in This is not specifically limited.
在本实施例中,波形序列创建装置可以通过波形片段显示模块1101在序列轨道中显示至少一个波形片段。例如,作为一个示例,继续参见图12,在序列轨道1211中显示有波形片段a、波形片段b和波形片段c,这样通过采用序列轨道的形式,使得能够实时显示波形片段的样貌或形态,片段与片段之间的差异,实现了至少一个波形片段的可视化。In this embodiment, the apparatus for creating a waveform sequence can display at least one waveform segment in the sequence track through the waveform segment display module 1101 . For example, as an example, continuing to refer to FIG. 12 , waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 1211, so that the appearance or shape of the waveform segment can be displayed in real time by adopting the form of a sequence track, Segment-to-segment differences enabling visualization of at least one waveform segment.
在序列轨道中显示至少一个波形片段之后,用户可以选取需要进行参数设置的第一目标波形片段,并对第一目标波形片段的参数进行设置,此时波形参数设置模块1102可以基于用户对第一目标波形片段的参数的设置操作,对第一目标波形片段的参数进行设置,得到第二目标波形片段,实现了对波形片段的参数进行编辑,并在序列轨道中显示参数编辑后的第二目标波形片段,实时的显示了参数编辑后的波形片段的样貌或形态。After at least one waveform segment is displayed in the sequence track, the user can select the first target waveform segment that requires parameter setting, and set the parameters of the first target waveform segment. At this time, the waveform parameter setting module 1102 can be based on the user's first The parameter setting operation of the target waveform segment is to set the parameters of the first target waveform segment to obtain the second target waveform segment, realize the editing of the parameters of the waveform segment, and display the second target after parameter editing in the sequence track The waveform segment displays the appearance or shape of the waveform segment after parameter editing in real time.
需要说明的是,第一目标波形片段可以为至少一个波形片段中的一个或多个,在此并不限定第一目标波形片段的数量。It should be noted that the first target waveform segment may be one or more of at least one waveform segment, and the number of the first target waveform segment is not limited here.
此外,在得到第二目标波形片段之后,用户可以直接在序列轨道中对第二目标波形片段进行编辑操作,此时波形序列创建模块1103可以基于用户在序列轨道中对第二目标波形片段的编辑操作,创建得到该序列轨道所对应的波形序列,这使得用户能够在序列轨道中对波形片段进行编辑操作创建满足使用需求的波形序列,实现了波形片段之间的编辑操作更加便捷以及更加直观,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In addition, after obtaining the second target waveform segment, the user can directly edit the second target waveform segment in the sequence track. At this time, the waveform sequence creation module 1103 can edit the second target waveform segment based on the user's sequence track Operation to create the waveform sequence corresponding to the sequence track, which enables the user to edit the waveform segment in the sequence track to create a waveform sequence that meets the needs of the user, making the editing operation between the waveform segments more convenient and intuitive. It meets the needs of editing complex signals and improves the convenience of operation and user experience.
具体的,编辑操作可以由用户基于实际需求而设定,从而使得用户在序列轨道中对第二目标波形片段进行编辑操作后,能够得到满足使用需求的波形序列。Specifically, the editing operation can be set by the user based on actual needs, so that after the user performs the editing operation on the second target waveform segment in the sequence track, the waveform sequence that meets the usage requirements can be obtained.
可选的,在创建得到波形序列之后,可以将波形序列发送到指定通道并输出。例如, 可以将波形序列输入到AFG或AWG等波形序列信号产生装置中,并通过波形序列信号产生装置输出显示,以将该波形序列进行测试使用。Optionally, after the waveform sequence is created, the waveform sequence can be sent to a specified channel and output. For example, the waveform sequence can be input into a waveform sequence signal generating device such as AFG or AWG, and output and displayed by the waveform sequence signal generating device, so that the waveform sequence can be used for testing.
当然,在创建得到波形序列之后,还可以在序列轨道中调整该波形序列的波形点,以实现对波形序列的微调节。Of course, after the waveform sequence is created, the waveform points of the waveform sequence can also be adjusted in the sequence track to realize fine-tuning of the waveform sequence.
本实施例通过波形片段显示模块在显示界面所显示的序列轨道中显示至少一个波形片段,并通过波形参数设置模块基于用户对第一目标波形片段的参数的设置操作,对第一目标波形片段的参数进行设置,得到第二目标波形片段,通过波形序列创建模块基于用户在序列轨道中对第二目标波形片段的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌或形态,片段与片段之间的差异,并实现了直接在序列轨道中对波形片段的参数进行设置,并对参数编辑后的波形片段进行跳转、拼接等编辑操作,创建得到波形序列,使得波形片段的参数编辑以及波形片段之间的编辑操作更加便捷,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this embodiment, the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and the waveform parameter setting module is based on the user's setting operation of the parameters of the first target waveform segment. The parameters are set to obtain the second target waveform segment, and the waveform sequence corresponding to the sequence track is created through the waveform sequence creation module based on the user's editing operation on the second target waveform segment in the sequence track, realizing the use of the sequence track form. Real-time display of the appearance or shape of the waveform segment, the difference between the segments, and the realization of setting the parameters of the waveform segment directly in the sequence track, and performing editing operations such as jumping and splicing of the waveform segment after parameter editing , to create a waveform sequence, which makes the parameter editing of waveform segments and the editing operation between waveform segments more convenient, meets the needs of editing complex signals, and improves the convenience of operation and user experience.
在一种可能的实现方式中,波形序列创建装置还包括波形片段采集模块,用于基于用户的波形片段采集指令,接收或创建所述至少一个波形片段,并将所述至少一个波形片段发送给所述波形片段显示模块。In a possible implementation manner, the waveform sequence creation device further includes a waveform segment acquisition module, configured to receive or create the at least one waveform segment based on the user's waveform segment acquisition instruction, and send the at least one waveform segment to The waveform segment display module.
具体的,波形创建装置可以通过波形片段采集模块接收或创建至少一个波形片段,然后将该至少一个波形片段发送给波形片段显示模块,由波形显示模块将接收或创建的至少一个波形片段显示在序列轨道中。Specifically, the waveform creating device can receive or create at least one waveform segment through the waveform segment acquisition module, and then send the at least one waveform segment to the waveform segment display module, and the waveform display module will display the received or created at least one waveform segment in a sequence in orbit.
可选的,针对波形片段的接收或创建,如图12所示,显示界面中可以设置波形管理区域122,在该波形管理区域122中显示有用于管理波形的控件,例如指示基本波形的文件夹控件、指示自定义波形的文件夹控件、指示添加文件夹的控件、用于指示创建自定义波形的控件等。用户可以通过指示基本波形的文件夹控件选择基本波形,或者通过指示自定义波形的文件夹控件选择自定义波形,此时波形片段采集模块可以基于用户的选择,接收用户所选择的波形片段;此外,用户可以通过指示创建自定义波形的控件创建自定义波形,此时波形片段采集模块可以基于用户的创建操作,创建波形片段。Optionally, for the reception or creation of waveform segments, as shown in FIG. 12 , a waveform management area 122 can be set in the display interface, and controls for managing waveforms are displayed in the waveform management area 122, such as folders indicating basic waveforms. controls, folder controls to indicate custom waveforms, controls to add folders, controls to create custom waveforms, etc. The user can select the basic waveform through the folder control indicating the basic waveform, or select the custom waveform through the folder control indicating the custom waveform. At this time, the waveform segment acquisition module can receive the waveform segment selected by the user based on the user's selection; in addition , the user can create a custom waveform through the control indicating to create a custom waveform. At this time, the waveform segment acquisition module can create a waveform segment based on the user's creation operation.
在一种可能的实现方式中,序列轨道的数量为一个或多个;In a possible implementation manner, the number of sequence tracks is one or more;
在所述序列轨道的数量为多个的情况下,所述波形片段显示模块用于,在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。When the number of the sequence tracks is multiple, the waveform segment display module is configured to display at least one waveform segment in at least one sequence track among the plurality of sequence tracks.
具体的,若序列轨道的数量为多个,则可以在多个序列轨道中的至少一个序列轨道中显示至少一个波形片段。例如,作为一个示例,假设序列轨道的数量为两个,波形片段的 数量为三个,则可以在其中一个序列轨道中显示三个波形片段,还可以在一个序列轨道中显示两个波形片段,在另一个序列轨道中显示一个波形片段,即用户可以根据波形片段的显示需求确定波形片段的显示位置并进行相关的显示位置选择操作,此时波形片段显示模块基于用户的显示位置选择操作将波形片段显示在用户所选择的序列轨道中。Specifically, if there are multiple sequence tracks, at least one waveform segment may be displayed in at least one sequence track among the multiple sequence tracks. For example, as an example, assuming that the number of sequence tracks is two and the number of waveform clips is three, you can display three waveform clips in one sequence track and two waveform clips in one sequence track, Display a waveform segment in another sequence track, that is, the user can determine the display position of the waveform segment according to the display requirements of the waveform segment and perform related display position selection operations. At this time, the waveform segment display module will display the waveform based on the user's display position selection operation. The clips are displayed in the sequence track selected by the user.
这样,通过设置一个或多个序列轨道,且在多个序列轨道中的一个或多个序列轨道中显示至少一个波形片段,实现了对波形片段的多样化显示,使得用户能够根据编辑需求将多个波形片段显示在不同的序列轨道中,提高了波形片段的编辑便捷性。In this way, by setting one or more sequence tracks and displaying at least one waveform segment in one or more sequence tracks of the plurality of sequence tracks, the diversified display of waveform segments is realized, allowing users to edit multiple Each waveform segment is displayed in a different sequence track, which improves the editing convenience of the waveform segment.
在一种可能的实现方式中,上文中波形片段的参数包括下述中的至少一者:波形类型、波形点数、频率、采样率、相位、偏移、循环次数、高电平、低电平、幅度。In a possible implementation, the parameters of the waveform segment above include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, number of cycles, high level, low level , amplitude.
可选的,如图12所示,显示界面中可以设置波形参数编辑区域123,在该波形参数编辑区域123中显示有用于对波形片段的参数进行设置的参数设置框,例如点数设置框、采样率设置框、频率设置框、波形类型设置框、循环次数设置框、相位设置框、高低电平设置框、幅度设置框、偏移设置框等,以对波形的点数、采样率、频率、波形、循环次数、相位、高低电平、幅度、偏移等进行编辑设置,从而实现对波形片段的参数进行设置。具体的,在用户选择一个波形片段为第一目标波形片段后,可以通过上述的参数设置框对第一目标波形片段的参数进行设置,此时波形参数设置模块基于用户对第一目标波形片段的参数的设置操作,对该参数进行设置。Optionally, as shown in Figure 12, a waveform parameter editing area 123 can be set in the display interface, and a parameter setting box for setting the parameters of the waveform segment is displayed in the waveform parameter editing area 123, such as a points setting box, a sampling Rate setting box, frequency setting box, waveform type setting box, cycle number setting box, phase setting box, high and low level setting box, amplitude setting box, offset setting box, etc., to set the number of waveform points, sampling rate, frequency, waveform , cycle times, phase, high and low level, amplitude, offset, etc. to edit and set the parameters of the waveform segment. Specifically, after the user selects a waveform segment as the first target waveform segment, the parameters of the first target waveform segment can be set through the above-mentioned parameter setting box. Parameter setting operation, set the parameter.
此外,在一种可能的实现方式中,对第二目标波形片段的编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;In addition, in a possible implementation manner, the editing operation on the second target waveform segment includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation operation;
其中,所述波形运算操作为至少两个序列轨道内目标波形片段之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between target waveform segments in at least two sequence tracks.
具体的,至少两个序列轨道内第二目标波形片段之间的运算操作可以包括波形叠加、波形调制、加密解密等,例如波形片段a在叠加波形片段b后,原本在低频范围,叠加后搬频到高频范围。Specifically, the calculation operations between the second target waveform segments in at least two sequence tracks may include waveform superposition, waveform modulation, encryption and decryption, etc. frequency to high frequency range.
此外,具体的,跳转操作指第二目标波形片段跳转到其他波形片段之前或之后;循环操作指第二目标波形片段循环显示在序列轨道中;裁剪操作指将第二目标波形片段裁剪为两个波形片段,使得可以将其他波形片段插入到两个波形片段之间形成新的波形片段;拼接操作指将第二目标波形片段与其他波形片段拼接到一起。In addition, specifically, the jump operation means that the second target waveform segment jumps to before or after other waveform segments; the loop operation means that the second target waveform segment is cyclically displayed in the sequence track; the clipping operation means that the second target waveform segment is cut into Two waveform segments, so that other waveform segments can be inserted between the two waveform segments to form a new waveform segment; splicing operation refers to splicing the second target waveform segment and other waveform segments together.
可选的,显示界面上可以显示有用于进行编辑操作的功能区。作为一个示例,如图12所示,显示界面上可以设置有操作控件显示区域124,在该操作控件显示区域124中显示有片段信息设置控件。具体的,在用户选中第二目标波形片段之后,可以点击片段信息设置 控件,此时显示界面上显示设置框,设置框内的设置参数可以包括跳转到第n个片段、循环n次等;然后用户可以基于设置框内的设置参数进行第二目标波形片段的跳转操作、循环操作等,从而实现针对第二目标波形片段的编辑操作。Optionally, a functional area for editing operations may be displayed on the display interface. As an example, as shown in FIG. 12 , an operation control display area 124 may be provided on the display interface, and a segment information setting control is displayed in the operation control display area 124 . Specifically, after the user selects the second target waveform segment, the segment information setting control can be clicked, and a setting box is displayed on the display interface at this time, and the setting parameters in the setting box can include jumping to the nth segment, looping n times, etc.; Then the user can perform a jump operation, a loop operation, etc. of the second target waveform segment based on the setting parameters in the setting frame, so as to realize the editing operation for the second target waveform segment.
此外,可选的,针对编辑操作,序列轨道中所显示的每个波形片段均支持外部触发操作,波形序列创建模块可以基于该外部触发操作创建得到波形序列。例如,外部触发操作的实现方式可以为:用户在输出波形片段a时设定与触发信号相关的规则,该规则可以为准备输出波形片段a时,接收到外部触发信号才开始输出波形片段a,此时波形序列创建装置只有接收到外部传递的触发信号之后,波形片段a才开始进行输出,从而使得能够根据波形片段的输出顺序实现波形片段的编辑操作;外部触发操作的实现方式还可以为:用户在输出波形片段a时设定与触发信号相关的规则,该规则可以为波形片段a强制跳转到指定的其他片段之前或之后,在输出波形片段a的过程中,波形序列创建装置接收到外部传递的触发信号之后,根据设定规则,该波形片段a强制跳转到指定的其他片段之前或之后,并开始输出,从而使得能够根据波形片段的输出顺序实现波形片段的编辑操作。In addition, optionally, for editing operations, each waveform segment displayed in the sequence track supports an external trigger operation, and the waveform sequence creation module can create a waveform sequence based on the external trigger operation. For example, the implementation of the external trigger operation can be as follows: the user sets a rule related to the trigger signal when outputting the waveform segment a, the rule can be that when the waveform segment a is ready to be output, the waveform segment a is not started until the external trigger signal is received, At this time, the waveform sequence creation device only starts to output the waveform segment a after receiving the externally transmitted trigger signal, so that the editing operation of the waveform segment can be realized according to the output sequence of the waveform segment; the implementation of the external trigger operation can also be: The user sets the rules related to the trigger signal when outputting the waveform segment a. The rule can force the waveform segment a to jump before or after the specified other segment. During the output of the waveform segment a, the waveform sequence creation device receives After the externally transmitted trigger signal, according to the set rules, the waveform segment a is forced to jump before or after other specified segments and start outputting, so that the editing operation of the waveform segments can be realized according to the output sequence of the waveform segments.
此外,在一种可能的实现方式中,所述显示界面上还显示有下述操作控件中的至少一者:手绘波形操作控件、表格编辑控件、时频域转换控件;In addition, in a possible implementation manner, at least one of the following operation controls is displayed on the display interface: hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls;
所述波形序列创建装置还包括:The waveform sequence creation device also includes:
操作控制模块,用于执行下述至少一者:An operation control module for performing at least one of the following:
针对用户对所述手绘波形操作控件的第一控制操作,显示手绘画板;其中,所述手绘画板用于绘制任意形状的波形片段,和/或,用于在预先显示的波形片段中增加点数并在两点之间拟合;For the user's first control operation on the hand-drawn waveform operation control, a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and fit between two points;
针对用户对所述表格编辑控件的第二控制操作,在所述显示界面上显示一表格,其中所述表格中显示有所述参数的名称以及所述参数的设置框,用于对第三目标波形片段的参数进行设置,所述第三目标波形片段为用户在执行第二控制操作之前所选中的波形片段;For the second control operation of the user on the form edit control, a form is displayed on the display interface, wherein the name of the parameter and the setting box of the parameter are displayed in the form, which is used to set the third target The parameters of the waveform segment are set, and the third target waveform segment is the waveform segment selected by the user before performing the second control operation;
针对用户对所述时频域转换控件的第三控制操作,控制第四目标波形片段所在的序列轨道由时域轨道切换为频域轨道,其中所述第四目标波形片段为用户在执行第三控制操作之前所选中的波形片段。For the user's third control operation on the time-frequency domain conversion control, control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the user performing the third Controls the previously selected waveform segment.
需要说明的是,第一控制操作、第二控制操作和第三控制操作均可以为点击操作、双击操作、长按操作等,在此并不对此进行具体限定。It should be noted that the first control operation, the second control operation, and the third control operation may all be click operations, double-click operations, long-press operations, etc., which are not specifically limited here.
可选的,如图12所示,操作控件显示区域124中还可以设置有手绘波形操作控件、表格编辑控件、时频域转换控件等控件。Optionally, as shown in FIG. 12 , controls such as hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls may also be set in the operation control display area 124 .
具体的,用户通过第一控制操作(例如点击)控制手绘波形操作控件时,操作控制模块可以针对该第一控制操作,控制显示界面上弹出一手绘画板,该手绘画板有两种使用形式,其一可以用于绘制任意形状的波形,其二可以进行插点拟合,即可以随意增加点数,在两点之间自动拟合直线。这样通过操作控件模块控制显示手绘画板,实现了用户能够根据实际需求创建波形。Specifically, when the user controls the hand-drawn waveform operation control through the first control operation (such as clicking), the operation control module can control the first control operation to pop up a hand-drawn drawing board on the display interface. The hand-drawn drawing board has two forms of use. One can be used to draw waveforms of any shape, and the other can be used for interpolation fitting, that is, the number of points can be increased arbitrarily, and a straight line can be automatically fitted between two points. In this way, the user can create waveforms according to actual needs by controlling and displaying the hand-drawn drawing board through the operation control module.
此外,第三目标波形片段为用户基于需求选中的需进行参数设置的片段。用户在基于需求选中需进行参数设置的第三目标波形片段之后,可以通过第二控制操作(例如点击)控制表格编辑控件,此时操作控制模块可以针对该第二控制操作,控制显示界面上弹出一表格。具体的,该表格中显示有参数的名称以及参数的设置框,从而使得用户能够通过该表格对第三目标波形片段的参数进行设置,实现了对波形细节的调整。In addition, the third target waveform segment is a segment selected by the user based on requirements and needs to be parameterized. After the user selects the third target waveform segment that needs to be parameterized based on requirements, the user can control the form editing control through a second control operation (for example, click). At this time, the operation control module can control the pop-up on the display interface for the second control operation. a form. Specifically, the name of the parameter and the parameter setting box are displayed in the form, so that the user can set the parameter of the third target waveform segment through the form, and realize the adjustment of the details of the waveform.
另外,第四目标波形片段为用户基于需求选中的需进行参数设置的片段。用户在基于需求选中第四目标波形片段之后,可以通过第三控制操作(例如点击)控制时频域转换控件,此时操作控制模块可以针对该第三控制操作,控制第四目标波形片段所在的序列轨道由时域轨道切换为频域轨道,呈现信号频域下的形态,从而能够进行复杂信号处理,例如调制、滤波、频谱搬移等。In addition, the fourth target waveform segment is a segment selected by the user based on requirements for parameter setting. After the user selects the fourth target waveform segment based on requirements, the user can control the time-frequency domain conversion control through a third control operation (for example, click). At this time, the operation control module can control the fourth target waveform segment for the third control operation. The sequence track is switched from the time-domain track to the frequency-domain track, showing the form of the signal in the frequency domain, so that complex signal processing can be performed, such as modulation, filtering, and spectrum shifting.
此外,在一种可能的实现方式中,所述显示界面上还显示有波形播放区域;所述波形序列编辑装置还包括:波形片段播放模块,用于在所述波形播放区域播放用户所选定的波形片段;其中所述用户所选定的波形片段包括未进行编辑操作的波形片段或所述波形序列中的波形片段。In addition, in a possible implementation manner, a waveform playing area is also displayed on the display interface; the waveform sequence editing device further includes: a waveform segment playing module, configured to play the waveform selected by the user in the waveform playing area. The waveform segment selected by the user includes the waveform segment without editing operation or the waveform segment in the waveform sequence.
具体的,继续参见图12,显示界面上还显示有波形播放区域125,该波形播放区域125中可以设置有播放按键,以用于控制波形的播放。在用户选定波形片段之后,波形片段播放模块可以在波形播放区域播放用户所选定的波形片段,从而实现对所选中波形片段的动态呈现。Specifically, referring to FIG. 12 , there is also a waveform playing area 125 displayed on the display interface, and a playing button may be set in the waveform playing area 125 for controlling the playing of the waveform. After the user selects the waveform segment, the waveform segment playback module can play the user-selected waveform segment in the waveform playback area, thereby realizing the dynamic presentation of the selected waveform segment.
当然需要说明的是,用户所选定的波形片段包括未进行编辑操作的波形片段,即可以在波形播放区域播放还未进行编辑操作的波形片段;此外,用户所选定的波形片段还包括波形序列中的波形片段,即在创建得到波形序列之后,在波形播放区域播放所创建得到的波形序列中的波形片段。Of course, it should be noted that the waveform segment selected by the user includes the waveform segment that has not been edited, that is, the waveform segment that has not been edited can be played in the waveform playback area; in addition, the waveform segment selected by the user also includes the waveform segment. The waveform segment in the sequence, that is, after the waveform sequence is created, play the waveform segment in the created waveform sequence in the waveform playback area.
此外,可选的,所述用户所选定的波形片段包括:第一目标波形位置之后的波形片段;或者,第一目标波形位置与第二目标波形位置之间的波形片段,其中,所述第一目标波形位置和第二目标波形位置由用户选定。In addition, optionally, the waveform segment selected by the user includes: a waveform segment after the first target waveform position; or, a waveform segment between the first target waveform position and the second target waveform position, wherein the The first target waveform position and the second target waveform position are selected by the user.
即波形片段播放模块可以在波形播放区域播放用户选定的第一目标波形位置之后的波形片段,还可以在波形播放区域播放第一目标波形位置与第二目标波形位置之间的波形片段。That is, the waveform segment playback module can play the waveform segment after the first target waveform position selected by the user in the waveform playback area, and can also play the waveform segment between the first target waveform position and the second target waveform position in the waveform playback area.
这样,本实施例通过波形片段显示模块在显示界面所显示的序列轨道中显示至少一个波形片段,并通过波形参数设置模块基于用户对第一目标波形片段的参数的设置操作,对第一目标波形片段的参数进行设置,得到第二目标波形片段,通过波形序列创建模块基于用户在序列轨道中对第二目标波形片段的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌或形态,片段与片段之间的差异,并实现了直接在序列轨道中对波形片段的参数进行设置,并对参数编辑后的波形片段进行跳转、拼接等编辑操作,创建得到波形序列,使得波形片段的参数编辑以及波形片段之间的编辑操作更加便捷,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this way, in this embodiment, the waveform segment display module displays at least one waveform segment in the sequence track displayed on the display interface, and uses the waveform parameter setting module to set the parameters of the first target waveform segment based on the user's setting operation. The parameters of the segment are set to obtain the second target waveform segment, and the waveform sequence corresponding to the sequence track is created through the waveform sequence creation module based on the user's editing operation on the second target waveform segment in the sequence track, realizing the use of the sequence track Form, real-time display of the appearance or shape of the waveform segment, the difference between the segments, and realize the setting of the parameters of the waveform segment directly in the sequence track, and the jumping and splicing of the waveform segment after parameter editing, etc. Editing operations, creating waveform sequences, making parameter editing of waveform segments and editing operations between waveform segments more convenient, meeting the needs of editing complex signals, and improving operation convenience and user experience.
此外,本申请实施例还提供一种波形序列创建方法,如图13所示,该波形序列创建方法可以包括如下步骤:In addition, the embodiment of the present application also provides a waveform sequence creation method, as shown in Figure 13, the waveform sequence creation method may include the following steps:
步骤1301:在电子设备显示界面所显示的序列轨道中显示至少一个波形片段。Step 1301: Display at least one waveform segment in a sequence track displayed on a display interface of the electronic device.
电子设备可以为波形序列创建装置。具体的,参见图12,在波形序列创建装置的显示界面中可以设置序列轨道显示区域121,该序列轨道显示区域121中显示有一个或多个序列轨道。例如,作为一个示例,序列轨道显示区域121中显示有序列轨道1211、序列轨道1212和序列轨道1213。Electronics can create fixtures for waveform sequences. Specifically, referring to FIG. 12 , a sequence track display area 121 may be set in the display interface of the waveform sequence creation device, and one or more sequence tracks are displayed in the sequence track display area 121 . For example, as an example, a sequence track 1211 , a sequence track 1212 and a sequence track 1213 are displayed in the sequence track display area 121 .
在本步骤中可以在序列轨道中显示至少一个波形片段。In this step, at least one waveform segment can be displayed in the sequence track.
步骤1302:基于用户对第一目标波形片段的参数的设置操作,对第一目标波形片段的参数进行设置,得到第二目标波形片段。Step 1302: Based on the user's setting operation on the parameters of the first target waveform segment, set the parameters of the first target waveform segment to obtain a second target waveform segment.
其中,第一目标波形片段为至少一个波形片段中用户所选中的波形片段。Wherein, the first target waveform segment is a waveform segment selected by a user in at least one waveform segment.
步骤1303:基于用户在序列轨道中对第二目标波形片段的编辑操作,创建得到序列轨道所对应的波形序列。Step 1303: Based on the user's editing operation on the second target waveform segment in the sequence track, create a waveform sequence corresponding to the sequence track.
这样,本实施例通过在显示界面所显示的序列轨道中显示至少一个波形片段,并基于用户对第一目标波形片段的参数的设置操作,对第一目标波形片段的参数进行设置,得到第二目标波形片段,基于用户在序列轨道中对第二目标波形片段的编辑操作,创建得到序列轨道所对应的波形序列,实现了采用序列轨道的形式,实时显示波形片段的样貌或形态,片段与片段之间的差异,并实现了直接在序列轨道中对波形片段的参数进行设置,并对参数编辑后的波形片段进行跳转、拼接等编辑操作,创建得到波形序列,使得波形片段的参 数编辑以及波形片段之间的编辑操作更加便捷,满足了编辑复杂信号的需求,提高了操作便捷性以及用户体验度。In this way, in this embodiment, by displaying at least one waveform segment in the sequence track displayed on the display interface, and based on the user's setting operation on the parameters of the first target waveform segment, the parameters of the first target waveform segment are set to obtain the second waveform segment. The target waveform segment, based on the user's editing operation on the second target waveform segment in the sequence track, creates the waveform sequence corresponding to the sequence track, and realizes the appearance or shape of the waveform segment in the form of a sequence track in real time. The difference between the segments, and realize the setting of the parameters of the waveform segment directly in the sequence track, and perform editing operations such as jumping and splicing on the waveform segment after parameter editing, and create a waveform sequence, so that the parameters of the waveform segment can be edited And the editing operation between waveform segments is more convenient, which meets the needs of editing complex signals and improves the convenience of operation and user experience.
在一种可能的实现方式中,在所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还可以基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。In a possible implementation manner, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the at least one waveform segment may also be received or created based on a user's waveform segment acquisition instruction.
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段时,可以在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track displayed on the display interface of the electronic device displays at least When a waveform segment is selected, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks.
在一种可能的实现方式中,所述显示界面上还显示有下述操作控件中的至少一者:手绘波形操作控件、表格编辑控件、时频域转换控件;本波形序列创建方法还可以包括下述至少一者:In a possible implementation manner, at least one of the following operation controls is also displayed on the display interface: hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls; the waveform sequence creation method may also include At least one of the following:
针对用户对所述手绘波形操作控件的第一控制操作,显示手绘画板;其中,所述手绘画板用于绘制任意形状的波形片段,和/或,用于在预先显示的波形片段中增加点数并在两点之间拟合直线;For the user's first control operation on the hand-drawn waveform operation control, a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and fits a straight line between two points;
针对用户对所述表格编辑控件的第二控制操作,在所述显示界面上显示一表格,其中所述表格中显示有所述参数的名称以及所述参数的设置框,用于对第三目标波形片段的参数进行设置,所述第三目标波形片段为用户在执行第二控制操作之前所选中的波形片段;For the second control operation of the user on the form edit control, a form is displayed on the display interface, wherein the name of the parameter and the setting box of the parameter are displayed in the form, which is used to set the third target The parameters of the waveform segment are set, and the third target waveform segment is the waveform segment selected by the user before performing the second control operation;
针对用户对所述时频域转换控件的第三控制操作,控制第四目标波形片段所在的序列轨道由时域轨道切换为频域轨道,其中所述第四目标波形片段为用户在执行第三控制操作之前所选中的波形片段。For the user's third control operation on the time-frequency domain conversion control, control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the user performing the third Controls the previously selected waveform segment.
在一种可能的实现方式中,所述参数包括下述中的至少一者:波形类型、波形点数、频率、采样率、相位、偏移、循环次数、高电平、低电平、幅度。In a possible implementation manner, the parameters include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, number of cycles, high level, low level, and amplitude.
在一种可能的实现方式中,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;其中,所述波形运算操作为至少两个序列轨道内第二目标波形片段之间的运算操作。In a possible implementation manner, the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation; wherein, the waveform operation is at least two Arithmetic operations between second target waveform segments within a sequence track.
在此需要说明的是,本申请实施例提供的波形序列创建方法,执行主体可以为上述实施例中的波形序列创建装置,或者该波形序列创建装置中的用于执行波形序列创建方法的控制模块。上述实施例提供的波形序列创建装置能够实现上述波形序列创建方法实施例的所有方法步骤及有益效果,为避免重复,在此不再对本实施例波形序列创建方法中与上述 方法实施例波形序列创建装置中的相同步骤以及有益效果进行赘述。It should be noted here that, for the waveform sequence creation method provided in the embodiment of the present application, the execution subject may be the waveform sequence creation device in the above embodiment, or the control module in the waveform sequence creation device for executing the waveform sequence creation method . The waveform sequence creation device provided by the above-mentioned embodiment can realize all the method steps and beneficial effects of the above-mentioned waveform sequence creation method embodiment. The same steps and beneficial effects in the device are described in detail.
对应上述实施例提供的波形序列创建方法,基于相同的技术构思,本申请实施例还提供了一种电子设备,该电子设备用于执行上述的波形序列创建方法,图4为实现本申请各个实施例的一种电子设备的结构示意图。电子设备可因配置或性能不同而产生比较大的差异,可以包括处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440,其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储在存储器430上并可在处理器410上运行的计算机程序,以执行下述步骤:Corresponding to the waveform sequence creation method provided in the above-mentioned embodiments, based on the same technical concept, the embodiment of the present application also provides an electronic device, which is used to execute the above-mentioned waveform sequence creation method. A schematic diagram of the structure of an electronic device. Electronic equipment may have relatively large differences due to different configurations or performances, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, wherein the processor 410, the communication interface 420 , the memories 430 communicate with each other through the communication bus 440 . The processor 410 can invoke a computer program stored on the memory 430 and executable on the processor 410 to perform the following steps:
在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
基于用户对第一目标波形片段的参数的设置操作,对所述第一目标波形片段的所述参数进行设置,得到第二目标波形片段,其中所述第一目标波形片段为所述至少一个波形片段中用户所选中的波形片段;Based on the user's setting operation on the parameters of the first target waveform segment, the parameters of the first target waveform segment are set to obtain a second target waveform segment, wherein the first target waveform segment is the at least one waveform The waveform segment selected by the user in the segment;
基于用户在所述序列轨道中对所述第二目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列。Based on the user's editing operation on the second target waveform segment in the sequence track, a waveform sequence corresponding to the sequence track is created.
在一种可能的实现方式中,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。In a possible implementation manner, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, the method further includes: receiving or creating the at least one waveform segment based on a user's waveform segment acquisition instruction.
在一种可能的实现方式中,所述序列轨道的数量为一个或多个;在所述序列轨道的数量为多个的情况下,在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。In a possible implementation manner, the number of the sequence track is one or more; when the number of the sequence track is multiple, the sequence track is displayed in at least one of the multiple sequence tracks At least one waveform segment.
在一种可能的实现方式中,所述显示界面上还显示有下述操作控件中的至少一者:手绘波形操作控件、表格编辑控件、时频域转换控件;所述波形序列创建方法还包括下述至少一者:In a possible implementation manner, at least one of the following operation controls is also displayed on the display interface: hand-drawn waveform operation controls, table editing controls, and time-frequency domain conversion controls; the waveform sequence creation method further includes At least one of the following:
针对用户对所述手绘波形操作控件的第一控制操作,显示手绘画板;其中,所述手绘画板用于绘制任意形状的波形片段,和/或,用于在预先显示的波形片段中增加点数并在两点之间拟合直线;针对用户对所述表格编辑控件的第二控制操作,在所述显示界面上显示一表格,其中所述表格中显示有所述参数的名称以及所述参数的设置框,用于对第三目标波形片段的参数进行设置,所述第三目标波形片段为用户在执行第二控制操作之前所选中的波形片段;针对用户对所述时频域转换控件的第三控制操作,控制第四目标波形片段所 在的序列轨道由时域轨道切换为频域轨道,其中所述第四目标波形片段为用户在执行第三控制操作之前所选中的波形片段。For the user's first control operation on the hand-drawn waveform operation control, a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and Fitting a straight line between two points; for the user's second control operation on the table editing control, display a table on the display interface, wherein the name of the parameter and the value of the parameter are displayed in the table The setting box is used to set the parameters of the third target waveform segment, the third target waveform segment is the waveform segment selected by the user before performing the second control operation; The third control operation is to control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before performing the third control operation.
在一种可能的实现方式中,所述参数包括下述中的至少一者:波形类型、波形点数、频率、采样率、相位、偏移、循环次数、高电平、低电平、幅度。In a possible implementation manner, the parameters include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, number of cycles, high level, low level, and amplitude.
在一种可能的实现方式中,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;In a possible implementation manner, the editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation;
其中,所述波形运算操作为至少两个序列轨道内第二目标波形片段之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between the second target waveform segments in at least two sequence tracks.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述波形序列创建方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above embodiment of the waveform sequence creation method Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算 机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (31)

  1. 一种波形序列编辑方法,其特征在于,包括:A waveform sequence editing method, characterized in that, comprising:
    在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
    基于用户在所述序列轨道中对目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列;Based on the user's editing operation on the target waveform segment in the sequence track, creating a waveform sequence corresponding to the sequence track;
    其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。Wherein, the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
  2. 根据权利要求1所述的波形序列编辑方法,其特征在于,在所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:The waveform sequence editing method according to claim 1, further comprising: before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device:
    基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。The at least one waveform segment is received or created based on a user's waveform segment acquisition instruction.
  3. 根据权利要求1所述的波形序列编辑方法,其特征在于,所述序列轨道的数量为一个或多个;The waveform sequence editing method according to claim 1, wherein the number of the sequence tracks is one or more;
    在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段,包括:In the case where the number of the sequence tracks is multiple, at least one waveform segment is displayed in the sequence tracks displayed on the display interface of the electronic device, including:
    在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。At least one waveform segment is displayed in at least one of the plurality of sequential tracks.
  4. 根据权利要求1或3所述的波形序列编辑方法,其特征在于,The waveform sequence editing method according to claim 1 or 3, characterized in that,
    所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;The editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation;
    其中,所述波形运算操作为至少两个序列轨道内目标波形片段之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between target waveform segments in at least two sequence tracks.
  5. 根据权利要求1所述的波形序列编辑方法,其特征在于,所述显示界面中还显示有至少一个操作控件;The waveform sequence editing method according to claim 1, wherein at least one operation control is also displayed in the display interface;
    所述波形序列编辑方法还包括:The waveform sequence editing method also includes:
    基于用户针对所述至少一个操作控件中目标操作控件的控制操作,执行所述目标操作控件所对应的操作。Based on the user's control operation on the target operation control in the at least one operation control, the operation corresponding to the target operation control is performed.
  6. 根据权利要求5所述的波形序列编辑方法,其特征在于,The waveform sequence editing method according to claim 5, wherein:
    所述至少一个操作控件包括下述中的至少一者:轨道选择控件、波形序列下载控件、波形片段保存控件、轨道参数设置控件、同相正交IQ设置控件、时频频域切换控件、波形片段移动控件、波形注释控件、波形裁剪控件、轨道缩小控件、轨道放大控件、波形片段着色控件、波形片段删除控件、波形片段复制控件、波形片段粘贴控件。The at least one operation control includes at least one of the following: track selection control, waveform sequence download control, waveform segment storage control, track parameter setting control, in-phase quadrature IQ setting control, time-frequency frequency domain switching control, waveform segment movement Controls, Waveform Annotation Controls, Waveform Clipping Controls, Track Zoom Out Controls, Track Zoom In Controls, Waveform Segment Coloring Controls, Waveform Segment Delete Controls, Waveform Segment Copy Controls, Waveform Segment Paste Controls.
  7. 根据权利要求1所述的波形序列编辑方法,其特征在于,所述显示界面上还显示有 波形播放区域;The waveform sequence editing method according to claim 1, wherein a waveform playback area is also displayed on the display interface;
    所述波形序列编辑方法还包括:The waveform sequence editing method also includes:
    在所述波形播放区域播放用户所选定的波形片段,其中所述用户所选定的波形片段包括未进行编辑操作的波形片段或所述波形序列中的波形片段。The waveform segment selected by the user is played in the waveform playing area, wherein the waveform segment selected by the user includes a waveform segment not subjected to editing operation or a waveform segment in the waveform sequence.
  8. 根据权利要求7所述的波形序列编辑方法,其特征在于,The waveform sequence editing method according to claim 7, wherein:
    所述用户所选定的波形片段包括:The waveform segments selected by the user include:
    第一目标波形位置之后的波形片段;或者,the waveform segment after the first target waveform position; or,
    第一目标波形位置与第二目标波形位置之间的波形片段;the waveform segment between the first target waveform position and the second target waveform position;
    其中,所述第一目标波形位置和第二目标波形位置由用户选定。Wherein, the first target waveform position and the second target waveform position are selected by the user.
  9. 一种波形序列编辑装置,其特征在于,包括:A waveform sequence editing device, characterized in that it comprises:
    波形片段显示模块,用于在显示界面所显示的序列轨道中显示至少一个波形片段;A waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface;
    波形序列创建模块,用于基于用户在所述序列轨道中对目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列;A waveform sequence creation module, configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform segment in the sequence track;
    其中,所述目标波形片段为所述至少一个波形片段中用户所选中的波形片段。Wherein, the target waveform segment is a waveform segment selected by a user in the at least one waveform segment.
  10. 一种波形序列生成方法,其特征在于,包括:A method for generating a waveform sequence, comprising:
    基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材,其中所述序列轨道显示于电子设备的显示界面中,所述目标波形素材为所述显示界面所显示的波形素材中的至少一个;Based on the user's operation of sending or dragging the target waveform material to the sequence track, the target waveform material is displayed in the sequence track, wherein the sequence track is displayed on the display interface of the electronic device, and the target waveform material is all At least one of the waveform materials displayed on the display interface;
    基于用户在所述序列轨道中对所述目标波形素材的编辑操作,创建得到所述序列轨道所对应的波形序列。Based on the user's editing operation on the target waveform material in the sequence track, a waveform sequence corresponding to the sequence track is created.
  11. 根据权利要求10所述的波形序列生成方法,其特征在于,所述序列轨道的数量为一个或多个;The waveform sequence generation method according to claim 10, wherein the number of the sequence tracks is one or more;
    在所述序列轨道的数量为多个且所述目标波形素材为多个的情况下,所述在所述序列轨道中显示所述目标波形素材,包括:When the number of the sequence track is multiple and the target waveform material is multiple, the displaying the target waveform material in the sequence track includes:
    在多个所述序列轨道中的至少一个序列轨道中显示所述目标波形素材。The target waveform material is displayed in at least one sequence track among the plurality of sequence tracks.
  12. 根据权利要求10所述的波形序列生成方法,其特征在于,所述显示界面中显示有波形素材区域,且所述波形素材区域中显示有所述波形素材;The method for generating a waveform sequence according to claim 10, wherein a waveform material area is displayed in the display interface, and the waveform material is displayed in the waveform material area;
    在所述基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材之前,还包括:Before displaying the target waveform material in the sequence track based on the operation of sending or dragging the target waveform material to the sequence track by the user, the method further includes:
    基于用户在所述波形素材区域输入的素材创建操作,创建所述波形素材;或者,Create the waveform material based on a material creation operation input by the user in the waveform material area; or,
    基于用户对预设的素材下载控件的下载操作,从预设地址下载得到所述波形素材。Based on the user's download operation on the preset material download control, the waveform material is downloaded from a preset address.
  13. 根据权利要求10所述的波形序列生成方法,其特征在于,还包括:The waveform sequence generating method according to claim 10, further comprising:
    基于用户针对所述波形素材的控制操作,对所述波形素材执行对应的操作;Based on the user's control operation on the waveform material, perform a corresponding operation on the waveform material;
    其中,所述控制操作包括下述中的至少一者:移动、合并、复制、删除。Wherein, the control operation includes at least one of the following: move, merge, copy, delete.
  14. 根据权利要求10至13任一项所述的波形序列生成方法,其特征在于,所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;The waveform sequence generation method according to any one of claims 10 to 13, wherein the editing operation includes at least one of the following: jump operation, loop operation, cutting operation, splicing operation, and waveform operation ;
    其中,所述波形运算操作为至少两个序列轨道内目标波形素材之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between target waveform materials in at least two sequence tracks.
  15. 一种波形序列生成装置,其特征在于,包括:A waveform sequence generating device is characterized in that, comprising:
    波形素材显示模块,用于基于用户将目标波形素材发送或拖动至序列轨道的操作,在所述序列轨道中显示所述目标波形素材,其中所述序列轨道显示于所述波形序列生成装置的显示界面中,所述目标波形素材为所述显示界面所显示的波形素材中的至少一个;The waveform material display module is used to display the target waveform material in the sequence track based on the user's operation of sending or dragging the target waveform material to the sequence track, wherein the sequence track is displayed on the waveform sequence generating device In the display interface, the target waveform material is at least one of the waveform materials displayed on the display interface;
    波形序列创建模块,用于基于用户在所述序列轨道中对所述目标波形素材的编辑操作,创建得到所述序列轨道所对应的波形序列。The waveform sequence creation module is configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the target waveform material in the sequence track.
  16. 一种波形序列处理方法,其特征在于,包括:A waveform sequence processing method, characterized in that, comprising:
    在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
    基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材,其中所述目标波形效果素材为所述显示界面中所显示的波形效果素材中的至少一个,所述第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意波形片段;Based on the user's operation of sending or dragging the target waveform effect material to the sequence track, displaying the target waveform effect material at a preset position of the first target waveform segment, wherein the target waveform effect material is the display interface At least one of the waveform effect materials displayed in , the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment or an arbitrary waveform segment in the at least one waveform segment;
    对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段;Adding an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment;
    基于用户在第一序列轨道中对所述第二目标波形片段的第一编辑操作,创建得到所述第一序列轨道所对应的波形序列,所述第一序列轨道为所述第二目标波形片段所在的序列轨道。Based on the user's first editing operation on the second target waveform segment in the first sequence track, a waveform sequence corresponding to the first sequence track is created, and the first sequence track is the second target waveform segment sequence track.
  17. 根据权利要求16所述的波形序列处理方法,其特征在于,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:The waveform sequence processing method according to claim 16, wherein, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, further comprising:
    基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。The at least one waveform segment is received or created based on a user's waveform segment acquisition instruction.
  18. 根据权利要求16所述的波形序列处理方法,其特征在于,所述序列轨道的数量为一个或多个;The waveform sequence processing method according to claim 16, wherein the number of the sequence tracks is one or more;
    在所述序列轨道的数量为多个的情况下,所述在电子设备显示界面所显示的序列轨道 中显示至少一个波形片段,包括:In the case where the number of the sequence track is multiple, at least one waveform segment is displayed in the sequence track displayed on the display interface of the electronic device, including:
    在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。At least one waveform segment is displayed in at least one of the plurality of sequential tracks.
  19. 根据权利要求16所述的波形序列处理方法,其特征在于,所述对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段,包括下述任意一者:The waveform sequence processing method according to claim 16, wherein the second target waveform segment is obtained by adding the effect corresponding to the target waveform effect material to the first target waveform segment, including any of the following By:
    对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段;Adding an effect corresponding to the target waveform effect material to a first preset range of the first target waveform segment to obtain the second target waveform segment;
    基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,对所述第一波形波形片段的第二预设范围附加所述目标波形效果素材所对应的效果,得到所述第二目标波形片段;其中,所述第二预设范围为用户所调整的效果附加范围;Based on the user's operation on the target waveform effect material for adjusting the additional range of the effect, add the effect corresponding to the target waveform effect material to the second preset range of the first waveform segment, and obtain the second The target waveform segment; wherein, the second preset range is the additional range of the effect adjusted by the user;
    对所述第一目标波形片段的第一预设范围附加所述目标波形效果素材所对应的效果,并基于用户对所述目标波形效果素材的用于调整效果附加范围的操作,调整所述第一预设范围,得到所述第二目标波形片段。Adding the effect corresponding to the target waveform effect material to the first preset range of the first target waveform segment, and adjusting the first preset range based on the user's operation on the target waveform effect material for adjusting the additional range of the effect. A preset range is used to obtain the second target waveform segment.
  20. 根据权利要求16所述的波形序列处理方法,其特征在于,所述基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材之后,还包括:The waveform sequence processing method according to claim 16, characterized in that, based on the user's operation of sending or dragging the target waveform effect material to the sequence track, the preset position of the first target waveform segment is displayed After the target wave effect material is described, it also includes:
    基于用户将所述目标波形效果素材拖动至第三目标波形片段的操作,对所述第三目标波形片段附加所述目标波形效果素材所对应的效果,其中所述第三目标波形片段与所述第一目标波形片段不同;Based on the user's operation of dragging the target waveform effect material to a third target waveform segment, adding an effect corresponding to the target waveform effect material to the third target waveform segment, wherein the third target waveform segment is the same as the third target waveform segment. The first target waveform segment is different;
    基于用户在第二序列轨道中对所述第三目标波形片段的第二编辑操作,创建得到所述第二序列轨道所对应的波形序列。Based on the user's second editing operation on the third target waveform segment in the second sequence track, a waveform sequence corresponding to the second sequence track is created.
  21. 根据权利要求16至20任一项所述的波形序列处理方法,其特征在于,所述波形效果素材包括下述中的至少一者:The waveform sequence processing method according to any one of claims 16 to 20, wherein the waveform effect material includes at least one of the following:
    加噪效果素材、滤波效果素材、调制效果素材、加密解密效果素材。Noise-adding effect material, filter effect material, modulation effect material, encryption and decryption effect material.
  22. 一种波形序列处理装置,其特征在于,包括:A waveform sequence processing device, characterized in that it comprises:
    波形片段显示模块,用于在显示界面所显示的序列轨道中显示至少一个波形片段;A waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface;
    波形效果素材显示模块,用于基于用户将目标波形效果素材发送或拖动至所述序列轨道的操作,在第一目标波形片段的预设位置处显示所述目标波形效果素材,其中所述目标波形效果素材为所述显示界面中所显示的波形效果素材中的至少一个,所述第一目标波形片段为所述至少一个波形片段中用户所选择的波形片段或所述至少一个波形片段中的任意 波形片段;The waveform effect material display module is used to display the target waveform effect material at the preset position of the first target waveform segment based on the operation of sending or dragging the target waveform effect material to the sequence track by the user, wherein the target The waveform effect material is at least one of the waveform effect materials displayed on the display interface, and the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment or a waveform segment in the at least one waveform segment. arbitrary waveform segment;
    波形效果处理模块,用于对所述第一目标波形片段附加所述目标波形效果素材所对应的效果,得到第二目标波形片段;A waveform effect processing module, configured to add an effect corresponding to the target waveform effect material to the first target waveform segment to obtain a second target waveform segment;
    波形序列处理模块,用于基于用户在第一序列轨道中对所述第二目标波形片段的第一编辑操作,创建得到所述第一序列轨道所对应的波形序列,所述第一序列轨道为所述第二目标波形片段所在的序列轨道。The waveform sequence processing module is configured to create a waveform sequence corresponding to the first sequence track based on the user's first editing operation on the second target waveform segment in the first sequence track, and the first sequence track is The sequence track where the second target waveform segment is located.
  23. 一种波形序列创建方法,其特征在于,包括:A method for creating a waveform sequence, comprising:
    在电子设备显示界面所显示的序列轨道中显示至少一个波形片段;displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
    基于用户对第一目标波形片段的参数的设置操作,对所述第一目标波形片段的所述参数进行设置,得到第二目标波形片段,其中所述第一目标波形片段为所述至少一个波形片段中用户所选中的波形片段;Based on the user's setting operation on the parameters of the first target waveform segment, the parameters of the first target waveform segment are set to obtain a second target waveform segment, wherein the first target waveform segment is the at least one waveform The waveform segment selected by the user in the segment;
    基于用户在所述序列轨道中对所述第二目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列。Based on the user's editing operation on the second target waveform segment in the sequence track, a waveform sequence corresponding to the sequence track is created.
  24. 根据权利要求23所述的波形序列创建方法,其特征在于,所述在电子设备显示界面所显示的序列轨道中显示至少一个波形片段之前,还包括:The method for creating a waveform sequence according to claim 23, wherein, before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, further comprising:
    基于用户的波形片段采集指令,接收或创建所述至少一个波形片段。The at least one waveform segment is received or created based on a user's waveform segment acquisition instruction.
  25. 根据权利要求23所述的波形序列创建方法,其特征在于,所述序列轨道的数量为一个或多个;The method for creating a waveform sequence according to claim 23, wherein the number of the sequence tracks is one or more;
    在所述序列轨道的数量为多个的情况下,在多个所述序列轨道中的至少一个序列轨道中显示至少一个波形片段。If the number of the sequence tracks is multiple, at least one waveform segment is displayed in at least one of the multiple sequence tracks.
  26. 根据权利要求23所述的波形序列创建方法,其特征在于,所述显示界面上还显示有下述操作控件中的至少一者:手绘波形操作控件、表格编辑控件、时频域转换控件;The method for creating a waveform sequence according to claim 23, wherein at least one of the following operation controls is displayed on the display interface: a hand-drawn waveform operation control, a table editing control, and a time-frequency domain conversion control;
    所述波形序列创建方法还包括下述至少一者:The waveform sequence creation method also includes at least one of the following:
    针对用户对所述手绘波形操作控件的第一控制操作,显示手绘画板;其中,所述手绘画板用于绘制任意形状的波形片段,和/或,用于在预先显示的波形片段中增加点数并在两点之间拟合;For the user's first control operation on the hand-drawn waveform operation control, a hand-drawn drawing board is displayed; wherein, the hand-drawn drawing board is used to draw a waveform segment of any shape, and/or is used to increase the number of points in the pre-displayed waveform segment and fit between two points;
    针对用户对所述表格编辑控件的第二控制操作,在所述显示界面上显示一表格,其中所述表格中显示有所述参数的名称以及所述参数的设置框,用于对第三目标波形片段的参 数进行设置,所述第三目标波形片段为用户在执行第二控制操作之前所选中的波形片段;For the user's second control operation on the form editing control, a form is displayed on the display interface, wherein the name of the parameter and the setting box of the parameter are displayed in the form, which is used to set the third target The parameters of the waveform segment are set, and the third target waveform segment is the waveform segment selected by the user before performing the second control operation;
    针对用户对所述时频域转换控件的第三控制操作,控制第四目标波形片段所在的序列轨道由时域轨道切换为频域轨道,其中所述第四目标波形片段为用户在执行第三控制操作之前所选中的波形片段。For the user's third control operation on the time-frequency domain conversion control, control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the user performing the third Controls the previously selected waveform segment.
  27. 根据权利要求23至26任一项所述的波形序列创建方法,其特征在于,所述参数包括下述中的至少一者:波形类型、波形点数、频率、采样率、相位、偏移、循环次数、高电平、低电平、幅度。The method for creating a waveform sequence according to any one of claims 23 to 26, wherein the parameters include at least one of the following: waveform type, number of waveform points, frequency, sampling rate, phase, offset, cycle Times, high level, low level, amplitude.
  28. 根据权利要求23至26任一项所述的波形序列创建方法,其特征在于,The method for creating a waveform sequence according to any one of claims 23 to 26, wherein:
    所述编辑操作包括下述中的至少一者:跳转操作、循环操作、裁剪操作、拼接操作、波形运算操作;The editing operation includes at least one of the following: a jump operation, a loop operation, a cutting operation, a splicing operation, and a waveform operation;
    其中,所述波形运算操作为至少两个序列轨道内第二目标波形片段之间的运算操作。Wherein, the waveform calculation operation is a calculation operation between the second target waveform segments in at least two sequence tracks.
  29. 一种波形序列创建装置,其特征在于,包括:A device for creating a waveform sequence, characterized in that it comprises:
    波形片段显示模块,用于在显示界面所显示的序列轨道中显示至少一个波形片段;A waveform segment display module, configured to display at least one waveform segment in the sequence track displayed on the display interface;
    波形参数设置模块,用于基于用户对第一目标波形片段的参数的设置操作,对所述第一目标波形片段的所述参数进行设置,得到第二目标波形片段,其中所述第一目标波形片段为所述至少一个波形片段中用户所选中的波形片段;A waveform parameter setting module, configured to set the parameters of the first target waveform segment based on the user's setting operation on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform The segment is a waveform segment selected by a user in the at least one waveform segment;
    波形序列创建模块,用于基于用户在所述序列轨道中对所述第二目标波形片段的编辑操作,创建得到所述序列轨道所对应的波形序列。The waveform sequence creation module is configured to create a waveform sequence corresponding to the sequence track based on the user's editing operation on the second target waveform segment in the sequence track.
  30. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至8、10至14、16至21、23至28中任一项所述的波形序列发方法的步骤。An electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, when the program or instruction is executed by the processor, the invention according to claim 1 is realized Steps in any one of 8, 10 to 14, 16 to 21, 23 to 28 waveform sequence sending method.
  31. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至8、10至14、16至21、23至28中任一项所述的方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the claims 1 to 8, 10 to 14, 16 to 21, 23 to 28 are implemented. The steps of any one of the methods.
PCT/CN2021/135109 2021-10-09 2021-12-02 Waveform sequence processing method and processing apparatus, and electronic device and storage medium WO2023056697A1 (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
CN202111177972.4 2021-10-09
CN202111177962.0A CN114089808B (en) 2021-10-09 2021-10-09 Waveform sequence generating device, method, electronic device and storage medium
CN202111177972.4A CN114089809B (en) 2021-10-09 2021-10-09 Waveform sequence processing device, method, electronic equipment and storage medium
CN202111176810.9 2021-10-09
CN202111177951.2 2021-10-09
CN202111177962.0 2021-10-09
CN202111176810.9A CN114089806B (en) 2021-10-09 2021-10-09 Waveform sequence creation device, method, electronic device, and storage medium
CN202111177951.2A CN114089807B (en) 2021-10-09 2021-10-09 Waveform sequence editing device, method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2023056697A1 true WO2023056697A1 (en) 2023-04-13

Family

ID=85803143

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135109 WO2023056697A1 (en) 2021-10-09 2021-12-02 Waveform sequence processing method and processing apparatus, and electronic device and storage medium

Country Status (1)

Country Link
WO (1) WO2023056697A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907881A (en) * 2010-06-04 2010-12-08 西安电子科技大学 Programmable digital pulse generator
CN104123132A (en) * 2013-04-26 2014-10-29 特克特朗尼克公司 Novel single custom control to set various waveform parameters for generating waveforms in AWG
CN105307028A (en) * 2015-10-26 2016-02-03 新奥特(北京)视频技术有限公司 Video editing method and device specific to video materials of plurality of lenses
CN111666527A (en) * 2020-08-10 2020-09-15 北京美摄网络科技有限公司 Multimedia editing method and device based on web page
CN111757013A (en) * 2020-07-23 2020-10-09 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN113055730A (en) * 2021-02-07 2021-06-29 深圳市欢太科技有限公司 Video generation method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907881A (en) * 2010-06-04 2010-12-08 西安电子科技大学 Programmable digital pulse generator
CN104123132A (en) * 2013-04-26 2014-10-29 特克特朗尼克公司 Novel single custom control to set various waveform parameters for generating waveforms in AWG
CN105307028A (en) * 2015-10-26 2016-02-03 新奥特(北京)视频技术有限公司 Video editing method and device specific to video materials of plurality of lenses
CN111757013A (en) * 2020-07-23 2020-10-09 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN111666527A (en) * 2020-08-10 2020-09-15 北京美摄网络科技有限公司 Multimedia editing method and device based on web page
CN113055730A (en) * 2021-02-07 2021-06-29 深圳市欢太科技有限公司 Video generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP7387891B2 (en) Video file generation method, device, terminal, and storage medium
US11670339B2 (en) Video acquisition method and device, terminal and medium
US9420394B2 (en) Panning presets
US20230353844A1 (en) Video generation method and apparatus, electronic device, and storage medium
US20090183078A1 (en) Instant feedback media editing system
US20140096002A1 (en) Video clip editing system
US8332757B1 (en) Visualizing and adjusting parameters of clips in a timeline
CN114089808B (en) Waveform sequence generating device, method, electronic device and storage medium
WO2017127178A2 (en) Dynamic music authoring
US20200341718A1 (en) Control system for audio production
JP6352945B2 (en) System and method for enabling interaction with multi-channel media files
WO2022194070A1 (en) Video processing method for application, and electronic device
CN114089806A (en) Waveform sequence creating apparatus, method, electronic device, and storage medium
CN114089807B (en) Waveform sequence editing device, method, electronic device and storage medium
WO2023056697A1 (en) Waveform sequence processing method and processing apparatus, and electronic device and storage medium
US8799819B2 (en) Graphical user interface for multi-tap delay
CN114089809B (en) Waveform sequence processing device, method, electronic equipment and storage medium
WO2022194038A1 (en) Music extension method and apparatus, electronic device, and storage medium
US9705953B2 (en) Local control of digital signal processing
CN115146600A (en) Form generation method and device, storage medium and computer equipment
US8538761B1 (en) Stretching/shrinking selected portions of a signal
JP2017016275A (en) Control method
JP3972912B2 (en) Waveform editing program and waveform editing apparatus
Miyama et al. Zirkonium 3.1-a toolkit for spatial composition and performance
CN117059066A (en) Audio processing method, device, equipment and storage medium

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: 21959784

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: 21959784

Country of ref document: EP

Kind code of ref document: A1