Guqin music score input method, device and medium

By converting the guqin score encoding into numeric, letter and symbol representation, the problem of difficulty in inputting the guqin score is solved, and the convenient input and dissemination of the guqin score is achieved.

CN120371185APending Publication Date: 2025-07-25张驰
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410307307.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2025-07-25

Smart Images

  • Figure CN120371185A_ABST
    Figure CN120371185A_ABST
Patent Text Reader

Abstract

The invention discloses a Guqin music score input method and device and a medium, and relates to the technical field of computers, and the method comprises the steps: receiving an input Guqin music score code; if the seven-stringed plucked instrument music score code does not comprise the first preset code and the decimal point and the number of digits in the seven-stringed plucked instrument music score code is 4, the first code of the seven-stringed plucked instrument music score code is used as a first sub-code, the second code is used as a second sub-code, the third code is used as a third sub-code, and the fourth code and the fifth code are used as fourth sub-codes; the first sub-code represents a left-hand string pressing finger sequence, the second sub-code represents a left-hand string pressing badge, the third sub-code represents a right-hand string plucking sequence, the fourth sub-code represents a right-hand string plucking finger sequence and a right-hand string plucking direction, and determining a guqin music score sub-element corresponding to each sub-code according to a preset mapping relationship between codes and elements; and displaying the guqin music score composed of the guqin music score sub-elements. According to the method, the guqin music score can be input.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to a method, device, and medium for inputting guqin scores. Background Art

[0002] The earliest notation for guqin was the character notation, which was very cumbersome. Later, the character notation was simplified to obtain the reduced character notation. The reduced character notation is composed of parts of several Chinese characters extracted from the fingering terms in the character notation, abbreviated into a new Chinese character, that is, "reduced character". This character indicates the playing techniques of both the left and right hands, that is, which finger of the left hand presses the string at which position on the hui in what way, and at the same time which finger of the right hand presses the string in what method (direction) and plays which string.

[0003] Since the reduced character notation exists in an abbreviated form, its abbreviation is based on a guiding statement expressing the cooperation techniques of both the left and right hands. However, in the computer era, it is difficult to input guqin scores. Summary of the Invention

[0004] This application provides a method, device, and medium for inputting guqin scores, which can realize the input of guqin scores.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] In a first aspect, this application provides a method for inputting guqin scores, the method including:

[0007] Receiving an input guqin score code, the guqin score code being represented by numbers, letters, and / or symbols, the guqin score code including at least one of a first sub-code, a second sub-code, a third sub-code, and a fourth sub-code, the first sub-code being used to represent the fingering order of the left hand pressing the string, the second sub-code being used to represent the hui position of the left hand pressing the string, the third sub-code being used to represent the string order of the right hand plucking the string, and the fourth sub-code being used to represent the fingering order and plucking direction of the right hand;

[0008] If the guqin score code does not include a first preset code, the guqin score code does not include a decimal point, and the number of digits of the numbers in the guqin score code is 4, taking the first code of the guqin score code as the first sub-code, taking the second code of the guqin score code as the second sub-code, taking the third code of the guqin score code as the third sub-code, and taking the fourth and fifth codes of the guqin score code as the fourth sub-code;

[0009] Determining the corresponding guqin score sub-elements for each sub-code according to the pre-set mapping relationship between the code and the element;

[0010] Displaying the guqin score composed of the guqin score sub-elements.

[0011] In some possible implementations, the method further includes:

[0012] If the guqin score encoding does not include the first preset encoding, does not include a decimal point, and the number of digits in the guqin score encoding is greater than 4, then take the first encoding of the guqin score encoding as the first sub-encoding, take the second and third encodings of the guqin score encoding as the second sub-encoding, take the fourth encoding of the guqin score encoding as the third sub-encoding, and take the fifth and sixth encodings of the guqin score as the fourth sub-encoding.

[0013] In some possible implementations, the method further includes:

[0014] If the guqin score encoding does not include the first preset encoding and the guqin score encoding includes a decimal point, then take the first encoding of the guqin score encoding as the first sub-encoding, take the second encoding, the decimal point, and the third encoding of the guqin score encoding as the second sub-encoding, take the fourth encoding of the guqin score encoding as the third sub-encoding, and take the fifth and sixth encodings of the guqin score as the fourth sub-encoding.

[0015] In some possible implementations, the method further includes:

[0016] If the guqin score encoding includes the first preset encoding, then according to the first matching rule corresponding to the first preset encoding, determine the guqin score sub-elements corresponding to each sub-encoding in the guqin score encoding.

[0017] In some possible implementations, the method further includes:

[0018] If the guqin score encoding does not include the first preset encoding, does not include a decimal point, and the number of digits in the guqin score encoding is less than 4, then according to the second matching rule, determine the guqin score sub-elements corresponding to each sub-encoding in the guqin score encoding.

[0019] In some possible implementations, the guqin score sub-elements include reduced-character elements;

[0020] The displaying of the guqin score composed of the guqin score sub-elements includes:

[0021] Displaying a reduced-character score composed of the reduced-character elements; or,

[0022] The guqin score sub-elements include Lisa elements;

[0023] The displaying of the guqin score composed of the guqin score sub-elements includes:

[0024] Display a Lisa score composed of the said Lisa elements; or,

[0025] The guqin score sub-elements include reduced-character elements and Lisa elements;

[0026] The display of the guqin score composed of the guqin score sub-elements includes:

[0027] Display a mixed score composed of a reduced-character score and a Lisa score, where the reduced-character score is composed of the said reduced-character elements and the Lisa score is composed of the said Lisa elements.

[0028] In some possible implementation manners, the method further includes:

[0029] Receiving a switching operation for the display style of the guqin score, where the display style includes: only displaying the reduced-character score, only displaying the Lisa score, and jointly displaying the reduced-character score and the Lisa score;

[0030] According to the switching operation, switch the display style of the guqin score.

[0031] In some possible implementation manners, the guqin score includes multiple candidate options, and the method further includes:

[0032] Receiving a selection operation for a target option;

[0033] Input the guqin score corresponding to the target option into the input area.

[0034] In a second aspect, the present application provides an input device for a guqin score, and the device includes:

[0035] A receiving module, configured to receive an input guqin score encoding, where the guqin score encoding is represented by numbers, letters, and / or symbols, and the guqin score encoding includes at least one of a first sub-encoding, a second sub-encoding, a third sub-encoding, and a fourth sub-encoding. The first sub-encoding is used to represent the left-hand fingering for pressing the strings, the second sub-encoding is used to represent the left-hand position on the guqin for pressing the strings, the third sub-encoding is used to represent the right-hand string order for plucking the strings, and the fourth sub-encoding is used to represent the right-hand fingering and the right-hand plucking direction for plucking the strings;

[0036] A determining module, configured to, if the guqin score code does not include a first preset code, the guqin score code does not include a decimal point, and the number of digits of the numbers in the guqin score code is 4, use the first code of the guqin score code as the first sub-code, the second code of the guqin score code as the second sub-code, the third code of the guqin score code as the third sub-code, and the fourth and fifth codes of the guqin score as the fourth sub-code; and determine the guqin score sub-elements corresponding to each sub-code according to a pre-set mapping relationship between the codes and the elements.

[0037] A display module, configured to display the guqin score composed of the guqin score sub-elements.

[0038] In some possible implementation manners, the determining module is further configured to, if the guqin score code does not include a first preset code, the guqin score code does not include a decimal point, and the number of digits of the numbers in the guqin score code is greater than 4, use the first code of the guqin score code as the first sub-code, the second and third codes of the guqin score code as the second sub-code, the fourth code of the guqin score code as the third sub-code, and the fifth and sixth codes of the guqin score as the fourth sub-code.

[0039] In some possible implementation manners, the determining module is further configured to, if the guqin score code does not include a first preset code and the guqin score code includes a decimal point, use the first code of the guqin score code as the first sub-code, the second code, the decimal point, and the third code of the guqin score code as the second sub-code, the fourth code of the guqin score code as the third sub-code, and the fifth and sixth codes of the guqin score as the fourth sub-code.

[0040] In some possible implementation manners, the determining module is further configured to, if the guqin score code includes a first preset code, determine the guqin score sub-elements corresponding to each sub-code in the guqin score code according to a first matching rule corresponding to the first preset code.

[0041] In some possible implementation manners, the determining module is further configured to

[0042] if the guqin score code does not include a first preset code, the guqin score code does not include a decimal point, and the number of digits of the numbers in the guqin score code is less than 4, determine the guqin score sub-elements corresponding to each sub-code in the guqin score code according to a second matching rule.

[0043] In some possible implementation manners, the guqin music score sub-elements include reduced-character elements; the display module is specifically configured to display a reduced-character score composed of the reduced-character elements; or,

[0044] the guqin music score sub-elements include Lisa elements; the display module is specifically configured to display a Lisa score composed of the Lisa elements; or,

[0045] the guqin music score sub-elements include reduced-character elements and Lisa elements; the display module is specifically configured to display a mixed score composed of a reduced-character score and a Lisa score, the reduced-character score is composed of the reduced-character elements, and the Lisa score is composed of the Lisa elements.

[0046] In some possible implementation manners, the receiving module is further configured to receive a switching operation for the display style of the guqin music score, and the display styles include: only displaying the reduced-character score, only displaying the Lisa score, and jointly displaying the reduced-character score and the Lisa score;

[0047] the display module is further configured to switch the display style of the guqin music score according to the switching operation.

[0048] In some possible implementation manners, the guqin music score includes a plurality of candidate options, and the receiving module is further configured to receive a selection operation for a target option;

[0049] the display module is further configured to input the guqin music score corresponding to the target option into the input area.

[0050] In a third aspect, the present application provides a computing device, including a memory and a processor;

[0051] wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device is caused to execute the method according to any one of the first aspect.

[0052] In a fourth aspect, the present application provides a computer-readable storage medium, and the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of the first aspect.

[0053] In a fifth aspect, the present application provides a computer program product, and when the computer program product runs on a computing device, the computing device executes the method according to any one of the first aspect.

[0054] It can be seen from the above technical solutions that the present application has at least the following beneficial effects:

[0055] The present application provides a method for inputting a guqin score. The method includes receiving an input guqin score code, which is represented by numbers, letters, and / or symbols. The guqin score code includes at least one of a first sub-code, a second sub-code, a third sub-code, and a fourth sub-code. Among them, the first sub-code is used to represent the finger sequence of the left hand pressing the strings, the second sub-code is used to represent the position of the left hand pressing the strings on the hui, the third sub-code is used to represent the string sequence of the right hand plucking the strings, and the fourth sub-code is used to represent the finger sequence and the plucking direction of the right hand. Then, a logical distinction is made on the guqin score code. If the guqin score code does not include a first preset code, does not include a decimal point, and the number of digits in the guqin score code is 4, then the first code of the guqin score code is used as the first sub-code, the second code as the second sub-code, the third code as the third sub-code, and the fourth and fifth codes as the fourth sub-code. Then, according to the pre-set mapping relationship between the code and the element, the guqin score sub-elements corresponding to each sub-code are determined, and finally, the guqin score composed of the guqin score sub-elements is displayed. Through this method, the input of the guqin score can be realized by representing it with numbers, letters, and / or symbols. In this way, regardless of whether the musician can read Chinese characters, they can record the playing method of the guqin based on numbers, letters, and / or symbols, and realize the creation of the guqin score.

[0056] It should be understood that the description of technical features, technical solutions, beneficial effects, or similar languages in the present application does not imply that all features and advantages can be achieved in any single embodiment. On the contrary, it can be understood that the description of features or beneficial effects means that at least one embodiment includes specific technical features, technical solutions, or beneficial effects. Therefore, the description of technical features, technical solutions, or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any appropriate manner. Those skilled in the art will understand that an embodiment can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments. Brief Description of the Drawings

[0057] Figure 1 It is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0058] Figure 2 It is a flowchart of a method for inputting a guqin score provided by an embodiment of the present application;

[0059] Figure 3 It is a schematic diagram of a reduced character provided by an embodiment of the present application;

[0060] Figure 4ASchematic diagram of a Lisa element provided by an embodiment of the present application;

[0061] Figure 4B Schematic diagram of the corresponding relationship between the reduced character notation and the Lisa notation provided by an embodiment of the present application;

[0062] Figure 5 Schematic diagram of an input window for a guqin score provided by an embodiment of the present application;

[0063] Figure 6 Schematic diagram of an input device for a guqin score provided by an embodiment of the present application;

[0064] Figure 7 Schematic diagram of a computing device provided by an embodiment of the present application. Detailed implementation manners

[0065] Terms such as "first", "second", and "third" in the specification and drawings of the present application are used to distinguish different objects, rather than to limit a specific order.

[0066] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner.

[0067] For the sake of clear and concise description of the following embodiments, a brief introduction to the related art is given first:

[0068] The reduced character notation is a unique notation method for the guqin, which combines the fret position, string order, finger order, and fingering into one musical notation character. The reduced character notation exists in an abbreviated form, and its abbreviation is based on a guiding statement expressing the cooperation techniques of the left and right hands. It is based on Chinese characters, and musicians who do not understand Chinese characters cannot quickly understand it, which creates a cultural barrier when the guqin, as a native Chinese musical instrument, is spread to the world. Especially in the computer era, it is difficult to input guqin scores, and it is even more difficult for some musicians who do not understand Chinese characters to input guqin scores.

[0069] In view of this, the embodiments of the present application provide a method for inputting a guqin score, which can be executed by an electronic device, and the electronic device includes but is not limited to a smart phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), or a smart wearable device, etc. Specifically, the method includes:

[0070] The electronic device receives the input guqin music score encoding, which is represented by numbers, letters, and / or symbols. Among them, the guqin music score encoding includes at least one of a first sub-encoding, a second sub-encoding, a third sub-encoding, and a fourth sub-encoding. The first sub-encoding is used to represent the finger sequence of the left hand pressing the strings, the second sub-encoding is used to represent the position of the left hand pressing the strings on the hui, the third sub-encoding is used to represent the string sequence of the right hand plucking the strings, and the fourth sub-encoding is used to represent the finger sequence and the plucking direction of the right hand. If the guqin music score encoding does not include a first preset encoding, does not include a decimal point, and the number of digits in the guqin music score encoding is 4, the first encoding of the guqin music score encoding is used as the first sub-encoding, the second encoding is used as the second sub-encoding, the third encoding is used as the third sub-encoding, and the fourth and fifth encodings are used as the fourth sub-encoding. Then, according to the pre-set mapping relationship between the encoding and the element, the guqin music score sub-elements corresponding to each sub-encoding are determined, and finally, the guqin music score composed of the guqin music score sub-elements is displayed.

[0071] In this method, whether the musician knows Chinese characters or not, the input of the guqin music score can be realized through numbers, letters, and / or symbols, thus promoting the creation of the guqin music score by musicians, etc. Furthermore, the performance method of the guqin music score is represented by more understandable numbers, letters, and / or symbols, which is more convenient for learning and communication among musicians, and promotes the spread of the guqin, a native Chinese musical instrument, to the world.

[0072] In order to make the technical solution of this application clearer and easier to understand, the application scenarios of the technical solution of this application will be introduced below with reference to the accompanying drawings. As Figure 1 shown, this figure is a schematic diagram of an application scenario provided by an embodiment of this application.

[0073] In this application scenario, the electronic device can present a music score interface 101, and the music score interface 101 includes an input area 102. The electronic device can input the guqin music score into the input area 102. First, after receiving the input guqin music score encoding, the electronic device can display an input window 103 on the music score interface 101. The input window 103 can be a floating window. The input window 103 includes an encoding area 104 and a preview area 105. The encoding area 104 is used to display the guqin music score encoding, and the preview area 105 is used to display the guqin music score. For example, the preview area 105 can display multiple candidate options of the guqin music score. After receiving a selection operation for the target option, the electronic device can input the guqin music score corresponding to the target option into the input area 102.

[0074] In this application scenario, the musician only needs to know the meaning of the guqin music score encoding (the performance methods corresponding to different guqin music score encodings are different, that is, the performance techniques of both hands), and can input the guqin music score without understanding Chinese characters.

[0075] To make the technical solution of this application clearer and easier to understand, the following will introduce the technical solution of this application from the perspective of an electronic device in combination with the accompanying drawings. As Figure 2 shown, this figure is a flowchart of a method for inputting a guqin score provided by an embodiment of this application. The method includes:

[0076] S201. The electronic device receives the input guqin score encoding.

[0077] Among them, the guqin score encoding is represented by numbers, letters, and / or symbols. Exemplarily, the guqin score encoding can be composed of pure numbers, pure letters, pure symbols, numbers plus letters, numbers plus symbols, letters plus symbols, and numbers plus letters plus symbols. For example, the guqin score encoding can be "1732u", "0043d", "1@7", "4106X003", and "63U3D", etc.

[0078] It should be noted that the specific guqin score encodings introduced in the above examples are only illustrative.

[0079] The above-introduced guqin score encodings all include multiple encodings. In actual application, the guqin score encoding can include at least one encoding. Taking the above guqin score encoding "1732u" as an example, "1" is the first encoding, "7" is the second encoding, "3" is the third encoding, "2" is the fourth encoding, and "u" is the fifth encoding.

[0080] The first encoding "1" in the above guqin score encoding "1732u" can be the first sub-encoding, and "1" represents that the left hand's string-pressing finger sequence is the thumb (i.e., the big thumb, which will be simply referred to as the thumb for convenience of description hereinafter); the second encoding "7" can be the second sub-encoding, and "7" represents that the left hand's string-pressing position is the seventh fret; the third encoding "3" can be the third sub-encoding, and "3" represents that the right hand's string-plucking string sequence is the 3rd string (from top to bottom), and the fourth encoding "2" and the fifth encoding "u" can be the fourth sub-encoding, "2" represents that the right hand's string-plucking finger sequence is the index finger, and "u" represents that the right hand's string-plucking direction is upward.

[0081] In some examples, the guqin score includes at least one of the four encodings, that is, at least one of the first sub-encoding, the second sub-encoding, the third sub-encoding, and the fourth sub-encoding, where the first sub-encoding is used to represent the left hand's string-pressing finger sequence, the second sub-encoding is used to represent the left hand's string-pressing position, the third sub-encoding is used to represent the right hand's string-plucking string sequence, and the fourth sub-encoding is used to represent the right hand's string-plucking finger sequence and the right hand's string-plucking direction.

[0082] S202. Determine whether the guqin score encoding includes a first preset encoding.

[0083] If the guqin score code does not include the first preset code, execute S203; if the guqin score code includes the first preset code, execute S210.

[0084] The first preset code refers to a preset code. In some examples, the first preset code can be "X", "M", "W", etc.

[0085] S203. Determine whether the guqin score code includes a decimal point.

[0086] If the guqin score code does not include a decimal point, execute S204; if the guqin score code includes a decimal point, execute S208.

[0087] S204. Determine whether the number of digits in the guqin score code is 4.

[0088] If the number of digits in the guqin score code is 4, execute S205. If the number of digits in the guqin score code is not 4, execute S206.

[0089] S205. Take the first code of the guqin score code as the first sub-code, the second code of the guqin score code as the second sub-code, the third code of the guqin score code as the third sub-code, and the fourth and fifth codes of the guqin score code as the fourth sub-code.

[0090] In some examples, the guqin score code is "1732u". This guqin score code does not include the first preset code, does not include a decimal point, and the number of digits in the guqin score code is 4. The electronic device can take the first code "1" in this guqin score code as the first sub-code, the second code "7" as the second sub-code, the third code "3" as the third sub-code, and the fourth code "2" and the fifth code "u" as the fourth sub-code.

[0091] The interpretation of this guqin score code "1732u" is: the left-hand finger sequence for pressing the string is the thumb ("1"), the left-hand fret position for pressing the string is the seventh fret ("7"), the right-hand string sequence for plucking the string is the three strings from top to bottom ("3"), the right-hand finger sequence for plucking the string is the index finger ("2"), and the right-hand plucking direction is upward ("u").

[0092] S206. Determine whether the number of digits in the guqin score code is greater than 4 or less than 4.

[0093] If the number of digits in the guqin score code is greater than 4, execute S207. If the number of digits in the guqin score code is less than 4, execute S211.

[0094] It should be noted that in some other embodiments, the electronic device may also first determine the number of digits of the numbers in the guqin score code. If the number of digits is 4, then S205 is executed; if the number of digits is less than 4, then S211 is executed; if the number of digits is greater than 4, then S207 is executed.

[0095] S207: The electronic device takes the first code of the guqin score code as the first sub-code, the second and third codes of the guqin score code as the second sub-code, the fourth code of the guqin score code as the third sub-code, and the fifth and sixth codes of the guqin score as the fourth sub-code.

[0096] In some examples, the guqin score code is "21034u". This guqin score code does not include the first preset code and does not include a decimal point, and the number of digits in the guqin score code is greater than 4. The electronic device can take the first code "2" in this guqin score code as the first sub-code, the second code "1" and the third code "0" as the second sub-code, the fourth code "3" as the third sub-code, and the fifth code "4" and the sixth code "u" as the fourth sub-code.

[0097] The interpretation of this guqin score code "21034u" is: the left-hand fingering for pressing the string is the index finger ("2"), the left-hand position for pressing the string is the tenth fret ("1" and "0"), the right-hand string order for plucking the string is the three strings from top to bottom ("3"), the right-hand fingering for plucking the string is the ring finger ("4"), and the right-hand plucking direction is upward ("u").

[0098] S208: The electronic device takes the first code of the guqin score code as the first sub-code, the second code, the decimal point, and the third code of the guqin score code as the second sub-code, the fourth code of the guqin score code as the third sub-code, and the fifth and sixth codes of the guqin score as the fourth sub-code.

[0099] In some examples, the guqin score code is "17.342d". This guqin score code does not include the first preset code but includes a decimal point. The electronic device can take the first code "1" in this guqin score code as the first sub-code, the second code "7", the decimal point ".", and the third code "3" as the second sub-code, the fourth code "4" as the third sub-code, and the fifth code "2" and the sixth code "d" as the fourth sub-code.

[0100] The interpretation of this guqin score code "17.342d" is: the left-hand fingering for pressing the string is the thumb ("1"), the left-hand position for pressing the string is the seventh fret and three-tenths of a fret ("7.3"), the right-hand string order for plucking the string is the four strings from top to bottom ("4"), the right-hand fingering for plucking the string is the index finger ("2"), and the right-hand plucking direction is downward ("d").

[0101] S209: The electronic device determines the Guqin music score sub-element corresponding to each sub-code according to a preset mapping relationship between the code and the element.

[0102] Elements can be visual representations of codes, for example, elements can be patterns, icons, Chinese characters, symbols, numbers, letters, etc. Each Guqin music score sub-code has its corresponding Guqin music score sub-element. Exemplarily, the sub-element can be a Jianzi element, a Lisa element, or a combination of a Jianzi element and a Lisa element.

[0103] When the guqin score sub-element is a Jian character element, the pre-set mapping relationship may be a mapping relationship between the guqin score sub-code and the Jian character element, wherein the Jian character element refers to an element constituting the Jian character.

[0104] like Figure 3 As shown, the figure is a schematic diagram of a reduction character provided by an embodiment of the present application. The reduction character 300 is composed of a first reduction character element 301, a second reduction character element 302, a third reduction character element 303 and a fourth reduction character element 304. The first reduction character element 301 is "中", indicating that the left hand presses the string finger sequence as the middle finger; the second reduction character element 302 is "七", indicating that the left hand presses the string fret position as the seventh fret; the third reduction character element 303 is "二", indicating that the right hand plucks the string sequence as the second string (from top to bottom); the fourth reduction character element 304 is "勹", indicating that the right hand plucks the string finger sequence as the middle finger, and the right hand plucks the string in a downward direction.

[0105] In some examples, the mapping relationship between the encoding and the subtraction element is shown in the following table.

[0106] Table 1:

[0107]

[0108]

[0109] As shown in Table 1, subcodes can be divided into 4 categories. The mapping relationship between the subcode in the first subcode and the reduction element can be the first mapping relationship, the mapping relationship between the subcode in the second subcode and the reduction element can be the second mapping relationship, the mapping relationship between the subcode in the third subcode and the reduction element can be the third mapping relationship, and the mapping relationship between the subcode in the fourth subcode and the reduction element can be the fourth mapping relationship. The above mapping relationships can all be pre-set. And, for the same code "1", if "1" is the first subcode, it means that the left hand presses the string finger sequence is the thumb; if "1" is the second subcode, it means that the string fret position is the first fret.

[0110] When the sub - element of the guqin score is a Lisa element, the pre - set mapping relationship can be the mapping relationship between the guqin score sub - code and the Lisa element. Among them, the Lisa element refers to the element that makes up the Lisa score.

[0111] The Lisa score is composed of Lisa sub - elements. The Lisa sub - elements can be characterized by numbers, deformed numbers, letters, deformed letters, symbols, etc. The name of the Lisa score can be obtained by transliterating "LESR". Further, the Lisa score can be divided into four sections: the L section, the E section, the S section, and the R section. Among them, the elements in the L section are used to represent the finger sequence of the left hand pressing the strings, the E section is used to represent the position of the left hand pressing the strings on the hui, the S section is used to represent the string sequence of the right hand plucking the strings, and the R section is used to represent the finger sequence of the right hand plucking the strings and the plucking direction of the right hand.

[0112] Among them, the L section can be divided into multiple elements, and the meaning of each element is shown in the following table.

[0113] Table 2:

[0114] Left-hand digital finger order Substitute finger Corresponding reduced character 1 Thumb Large 2 Index finger Single-person radical 3 Middle finger Middle 4 Ring finger Evening radical J Kneeling finger Foot / Danger

[0115] The E section can be divided into multiple elements, and the meaning of each element is shown in the following table.

[0116] Table 3:

[0117]

[0118]

[0119] Among them, the elements in the E section indicate the position of the left hand pressing the strings on the hui: using integers from 1 to 13 to respectively indicate the 13 reference hui positions from right to left on the guqin, and the number 15 specifically refers to the position outside the hui. After the decimal point, it indicates the fractional position between this hui position and the next hui position. For example, when the Lisa score is a decimal, "5.9" means five hui and nine fen, and similarly, "4.8" means four hui and eight fen; when the Lisa score is an integer, "6" means six hui.

[0120] The S section can be divided into multiple elements, and the meaning of each element is shown in the following table.

[0121] Table 4:

[0122]

[0123] The elements in the S section indicate the string sequence of the right hand plucking the strings. Using numbers from 1 to 7 to respectively represent the seven strings of the guqin from top to bottom (that is: the strings are from thick to thin, and the tones are from low to high). For example, 1 means the right hand needs to pluck the thickest, lowest - pitched string at the top, which is the first string; 4 means the right hand needs to pluck the fourth string from top to bottom; 7 means the right hand needs to pluck the thinnest, highest - pitched string at the bottom, which is the seventh string.

[0124] The R segment can be divided into multiple elements. For the meaning of each element, please refer to the following table.

[0125] Table 5:

[0126]

[0127] It should be noted that the above representation of the Lissajous score is only an exemplary introduction. Those skilled in the art can also choose other letters, symbols or patterns for representation based on actual needs, for example, for ease of understanding or aesthetics. This application does not limit this.

[0128] As Figure 4A shown, this figure is a schematic diagram of a Lissajous element provided by an embodiment of this application. The Lissajous element 400 includes an L segment element 401, an E segment element 402, an S segment element 403, and an R segment element 404. Among them, the L segment element 401 is "3", indicating that the left - hand fingering for pressing the string is the middle finger; the E segment element 402 is " 7 ", indicating that the left - hand fingering for pressing the string at the fret position is the seventh fret; the S segment element 403 is "2", indicating that the right - hand string - plucking order is the second string (from top to bottom); the R segment element 404 is "3", indicating that the right - hand fingering for plucking the string is the middle finger, and the right - hand plucking direction is downward.

[0129] Exemplarily, the display style of the E segment element 402 is the superscript style, and the display style of the R segment element 404 is the subscript style. Among them, the superscript style is higher than the normal style (the display style of the L segment element 401), and the subscript style is lower than the normal style. In this way, musicians can determine that the element "3" in the Lissajous score is the L segment element, the element " 7 " is the E segment element, the element "2" is the S segment element, and the element "3" is the R segment element, and then determine the corresponding playing method of this Lissajous score.

[0130] In some examples, the mapping relationship between the encoding and the Lissajous element is shown in the following table.

[0131] Table 6:

[0132]

[0133] Among them, the sub - encoding can be divided into 4 categories. The mapping relationship between the sub - encoding in the first sub - encoding and the L segment element can be the first mapping relationship, the mapping relationship between the sub - encoding in the second sub - encoding and the E segment element can be the second mapping relationship, the mapping relationship between the sub - encoding in the third sub - encoding and the S segment element can be the third mapping relationship, and the mapping relationship between the sub - encoding in the fourth sub - encoding and the R segment element can be the fourth mapping relationship. The above - mentioned mapping relationships can all be preset.

[0134] In some other embodiments, the Guqin score subelement can be a combination of the reduced-character element and the Lisa element. For the specific mapping relationship between the encoding and the reduced-character element, please refer to the following table.

[0135] Table 7:

[0136]

[0137]

[0138] The electronic device can determine the Guqin score subelement (reduced-character element and / or Lisa element) corresponding to each sub-encoding based on the mapping relationships shown in Table 1 and Tables 6 - 7 above.

[0139] It should be noted that the above is only an introduction taking the Lisa score including the L segment, E segment, S segment, and R segment as an example. In some other examples, the Lisa score may only include some of the above four segments.

[0140] In some examples, the style of the Lisa score is the same as the style of the above Guqin score encoding. For example, the Lisa score corresponding to the Guqin score encoding "3723d" is "3723d". In some other examples, the style of the Lisa score can also be different from the style of the above Guqin score encoding. For example, the Lisa score shown above Figure 4A shown Lisa score.

[0141] It should be noted that the embodiments of the present application also provide some corresponding relationships between the reduced-character score and the Lisa score, which will be introduced below. Among them, the specific meaning of the Lisa score can refer to the corresponding reduced-character score.

[0142] As Figure 4B shown, this figure is a schematic diagram of the corresponding relationship between a reduced-character score and a Lisa score provided by the embodiments of the present application. Among them, the reduced-character and the Lisa with the same corner mark in the upper left corner correspond to each other. For example, "Y" with the corner mark "20" corresponds to corresponds to.

[0143] S210. The electronic device determines the Guqin score subelement corresponding to each sub-encoding in the Guqin score encoding according to the first matching rule corresponding to the first preset encoding.

[0144] The first matching rule corresponding to the first preset encoding can be that the electronic device takes the encodings on the left side of the first preset encoding as the first sub-encoding, the second sub-encoding, and the third sub-encoding respectively, and takes the encodings on the right side as the first sub-encoding, the second sub-encoding, and the third sub-encoding respectively. For the specific first matching rule, please refer to the following table.

[0145] Table 8:

[0146]

[0147] Among them, the guqin score code is "426X003". The electronic device can use the first code as the first sub-code and determine the corresponding interpretation. For example, "4" corresponds to the name finger as the left hand finger pressing the string, and so on.

[0148] In the example shown in Table 8, there is no decimal point on either side of the first preset code, and the number of digits is 3. Similar to the above example in the embodiment of the present application, taking the left side of the first preset code as an example to introduce other situations, the right side is similar to the left side and will not be elaborated.

[0149] For example, if the left side of the first preset code is "4106", that is, without a decimal point and the number of digits is 4, the electronic device takes the first code "4" as the first sub-code, the second code "1" and the third code "0" as the second sub-code, and the fourth code "6" as the third sub-code; for another example, if the left side of the first preset code is "47.36", that is, including a decimal point, the electronic device takes the first code "4" as the first sub-code, the second code "7", the decimal point "." and the third code "3" as the second sub-code, and the fourth code "6" as the third sub-code.

[0150] After the electronic device determines the sub-code, it can determine the guqin score sub-element corresponding to the sub-code based on the above mapping relationship between the code and the element.

[0151] S211. The electronic device determines the guqin score sub-element corresponding to each sub-code in the guqin score code according to the second matching rule.

[0152] Among them, the second matching rule includes the mapping relationship between multiple special codes and sub-codes; the special code here can be denoted as the second preset code. For example, the second preset code combined with the second sub-code is interpreted as the combination of the playing technique and the position of the fret. Exemplarily, the guqin score code is ">9", and the second preset code is ">", then the electronic device takes the first code "9" on the right side of the second preset code as the second sub-code, and the interpretation is playing on the ninth fret.

[0153] After the electronic device determines the sub-code, it can determine the guqin score sub-element corresponding to the sub-code based on the above mapping relationship between the code and the element.

[0154] S212. The electronic device displays the guqin score composed of guqin score sub-elements.

[0155] After obtaining the guqin score sub-elements, the electronic device can combine the guqin score sub-elements into a guqin score, and then display the guqin score.

[0156] In some embodiments, when the guqin score sub-elements only include reduced-character elements, the electronic device displays a reduced-character score composed of reduced-character elements; in some other embodiments, when the guqin score sub-elements only include Lisa elements, the electronic device displays a Lisa score composed of Lisa elements; in some other embodiments, when the guqin score sub-elements include both Lisa elements and reduced-character elements, the electronic device can combine the Lisa elements into a Lisa score, combine the reduced-character elements into a reduced-character score, then combine the reduced-character score and the Lisa score into a guqin score, and then display the guqin score.

[0157] In some embodiments, the electronic device can also switch the display style of the guqin score, and the display styles include only displaying the reduced-character score, only displaying the Lisa score, and jointly displaying the reduced-character score and the Lisa score. The electronic device can receive a switching operation for the display style of the guqin score, and then, based on this switching operation, switch the display style of the guqin score.

[0158] As Figure 5 shown, this figure is a schematic diagram of an input window of a guqin score provided by an embodiment of the present application. The input window includes a first switching control 501, a second switching control 502, and a third switching control 503. The first switching control 501 is used to trigger a switching operation to switch the display style of the guqin score to only display the reduced-character score, the second switching control 502 is used to trigger a switching operation to switch the display style of the guqin score to only display the Lisa score, and the third switching control 503 is used to trigger a switching operation to switch the display style of the guqin score to jointly display the reduced-character score and the Lisa score. The electronic device can respond to the switching operation triggered by the above switching controls, and then switch the display style of the guqin score.

[0159] Exemplarily, the electronic device can receive a switching operation of a musician on the first switching control 501 and switch the display style of the guqin score to only display the reduced-character score; the electronic device can also receive a switching operation of the musician on the second switching control 502 and switch the display style of the guqin score to only display the Lisa score.

[0160] It should be noted that the interface of the above input window is only an exemplary introduction. In some other examples, when the current display style of the guqin score is to only display the reduced-character score, the input window only includes the second switching control and the third switching control, so as to beautify the input window.

[0161] In some embodiments, the guqin score in the preview area includes multiple candidate options, and the electronic device can also receive a selection operation of a musician for a target option and input the guqin score corresponding to the target option into the input area.

[0162] Exemplarily, during the process of a musician inputting the guqin score encoding, the electronic device will, based on the pre-set mapping relationship between the encoding and the elements, determine the guqin score sub-elements corresponding to each of the input sub-encodings, and then display the guqin score formed by these guqin score sub-elements in the preview area. When the preview area only supports displaying a partial guqin score, a page-turning function can be added to the preview area. For example, when there are 8 guqin scores formed by the guqin score sub-elements, the first page displays 5 candidate options of guqin scores, and the second page displays the remaining 3 candidate options of guqin scores.

[0163] Based on the above description, an embodiment of the present application provides a method for inputting a guqin score. In this method, the electronic device receives the input guqin score encoding, which is represented by numbers, letters, and / or symbols, and the guqin score encoding includes at least one sub-encoding; then, according to the pre-set mapping relationship between the encoding and the elements, it determines the guqin score sub-elements corresponding to each sub-encoding, and finally displays the guqin score formed by the guqin score sub-elements. In this method, regardless of whether the musician knows Chinese characters, they can input the guqin score through numbers, letters, and / or symbols, thereby facilitating the musician's creation of guqin scores, etc. Furthermore, by using more understandable numbers, letters, and / or symbols to represent the playing methods of guqin scores, it is more convenient for musicians to learn and communicate with each other, and promotes the spread of guqin, a native Chinese musical instrument, to the world.

[0164] As described above in conjunction with Figures 1 to 5 the method for inputting a guqin score provided by the embodiment of the present application has been introduced in detail. Next, the devices and equipment provided by the embodiments of the present application will be introduced in conjunction with the accompanying drawings.

[0165] As Figure 6 shown, this figure is a schematic diagram of an input device for a guqin score provided by an embodiment of the present application. The input device 600 for the guqin score includes:

[0166] A receiving module 601, configured to receive the input guqin score encoding, where the guqin score encoding is represented by numbers, letters, and / or symbols, and the guqin score encoding includes at least one sub-encoding;

[0167] A determining module 602, configured to determine the guqin score sub-elements corresponding to each sub-encoding according to the pre-set mapping relationship between the encoding and the elements;

[0168] A display module 603, configured to display the guqin score formed by the guqin score sub-elements.

[0169] In some possible implementations, the guqin score encoding includes at least one of a first sub-encoding, a second sub-encoding, a third sub-encoding, and a fourth sub-encoding. The first sub-encoding is used to represent the left-hand finger sequence for pressing the strings, the second sub-encoding is used to represent the left-hand fret position for pressing the strings, the third sub-encoding is used to represent the right-hand string sequence for plucking the strings, and the fourth sub-encoding is used to represent the right-hand finger sequence and the right-hand plucking direction for plucking the strings.

[0170] In some possible implementations, the guqin score sub-elements include reduced-character elements; the display module 603 is specifically configured to display a reduced-character score composed of the reduced-character elements.

[0171] In some possible implementations, the guqin score sub-elements include Lisa elements; the display module 603 is specifically configured to display a Lisa score composed of the Lisa elements.

[0172] In some possible implementations, the guqin score sub-elements include reduced-character elements and Lisa elements; the display module 603 is specifically configured to display a mixed score composed of a reduced-character score and a Lisa score. The reduced-character score is composed of the reduced-character elements, and the Lisa score is composed of the Lisa elements.

[0173] In some possible implementations, the receiving module 601 is further configured to receive a switching operation for the display style of the guqin score. The display styles include: only displaying the reduced-character score, only displaying the Lisa score, and jointly displaying the reduced-character score and the Lisa score;

[0174] The display module 603 is further configured to switch the display style of the guqin score according to the switching operation.

[0175] In some possible implementations, the guqin score includes a plurality of candidate options. The receiving module 601 is further configured to receive a selection operation for a target option;

[0176] The display module 603 is further configured to input the guqin score corresponding to the target option into the input area.

[0177] The input device 600 of the guqin score according to the embodiment of the present application can correspondingly execute the method described in the embodiment of the present application. And the above other operations and / or functions of each module / unit of the input device 600 of the guqin score are respectively for implementing Figure 2 the corresponding processes of the methods in the illustrated embodiments. For the sake of brevity, they are not described herein again.

[0178] The embodiment of the present application further provides a computing device. This computing device is specifically configured to implement the functions of the input device 600 of the guqin score in the illustrated embodiment as Figure 6 described.

[0179] As Figure 7As shown in the figure, this is a schematic diagram of a computing device 700 provided by an embodiment of the present application. The computing device 700 includes a bus 701, a processor 702, a communication interface 703, and a memory 704. The processor 702, the memory 704, and the communication interface 703 communicate with each other through the bus 701.

[0180] The bus 701 can be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 7 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0181] The processor 702 can be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0182] The communication interface 703 is used for external communication.

[0183] The memory 704 can include volatile memory, such as random access memory (RAM). The memory 704 can also include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0184] The memory 704 stores executable code, and the processor 702 executes the executable code to perform the aforementioned method for inputting guqin scores.

[0185] Specifically, in the case of implementing Figure 6 the embodiment shown, and Figure 6 when each module or unit of the guqin score input device 600 described in the embodiment is implemented by software, execute Figure 6The software or program code required for the functions of each module / unit in [it] can be partially or entirely stored in the memory 704. The processor 702 executes the program code corresponding to each unit stored in the memory 704 to execute the aforementioned method for inputting guqin scores.

[0186] An embodiment of this application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive), etc. The computer-readable storage medium includes instructions that instruct the computing device to execute the aforementioned method for inputting guqin scores.

[0187] An embodiment of this application also provides a computer program product that includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the processes or functions described in the embodiments of this application are fully or partially generated.

[0188] The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, computer, or data center to another website, computer, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.).

[0189] When the computer program product is executed by a computer, the computer executes any of the aforementioned methods for inputting guqin scores. The computer program product can be a software installation package. In the case where any of the aforementioned methods for inputting guqin scores are needed, the computer program product can be downloaded and executed on the computer.

[0190] The descriptions of the processes or structures corresponding to the above respective drawings each have their own focuses. For parts not detailed in a certain process or structure, reference can be made to the relevant descriptions of other processes or structures.

[0191] As described above, the above are only the specific implementation manners of this application, but the protection scope of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered by the protection scope of this application.

Claims

1. A method for inputting a guqin score, characterized in that, The method includes: Receiving an input guqin score encoding, where the guqin score encoding is represented by numbers, letters, and / or symbols, and the guqin score encoding includes at least one of a first sub-encoding, a second sub-encoding, a third sub-encoding, and a fourth sub-encoding. The first sub-encoding is used to represent the left-hand fingering for pressing the strings, the second sub-encoding is used to represent the left-hand pressing position on the hui position of the strings, the third sub-encoding is used to represent the right-hand plucking string order, and the fourth sub-encoding is used to represent the right-hand plucking fingering and the right-hand plucking direction; If the guqin score encoding does not include a first preset encoding, does not include a decimal point, and the number of digits in the guqin score encoding is 4, taking the first encoding of the guqin score encoding as the first sub-encoding, taking the second encoding of the guqin score encoding as the second sub-encoding, taking the third encoding of the guqin score encoding as the third sub-encoding, and taking the fourth and fifth encodings of the guqin score as the fourth sub-encoding; Determining the corresponding guqin score sub-elements for each sub-encoding according to a pre-set mapping relationship between the encoding and the elements; Displaying a guqin score composed of the guqin score sub-elements.

2. The method according to claim 1, characterized in that, The method further includes: If the guqin score encoding does not include a first preset encoding, does not include a decimal point, and the number of digits in the guqin score encoding is greater than 4, taking the first encoding of the guqin score encoding as the first sub-encoding, taking the second and third encodings of the guqin score encoding as the second sub-encoding, taking the fourth encoding of the guqin score encoding as the third sub-encoding, and taking the fifth and sixth encodings of the guqin score as the fourth sub-encoding.

3. The method according to claim 1 or 2, characterized in that, The method further includes: If the guqin score encoding does not include a first preset encoding and the guqin score encoding includes a decimal point, taking the first encoding of the guqin score encoding as the first sub-encoding, taking the second encoding, the decimal point, and the third encoding of the guqin score encoding as the second sub-encoding, taking the fourth encoding of the guqin score encoding as the third sub-encoding, and taking the fifth and sixth encodings of the guqin score as the fourth sub-encoding.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the guqin score encoding includes a first preset encoding, determining the corresponding guqin score sub-elements for each sub-encoding in the guqin score encoding according to a first matching rule corresponding to the first preset encoding.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: If the guqin score encoding does not include a first preset encoding, does not include a decimal point, and the number of digits in the guqin score encoding is less than 4, determining the corresponding guqin score sub-elements for each sub-encoding in the guqin score encoding according to a second matching rule.

6. The method according to any one of claims 1-5, characterized in that The guqin score sub-elements include reduced-character elements; The displaying of the guqin score composed of the guqin score sub-elements includes: Displaying a reduced-character score composed of the reduced-character elements; or, The guqin score sub-elements include Lisa elements; The displaying of the guqin score composed of the guqin score sub-elements includes: Displaying a Lisa score composed of the Lisa elements; or, The guqin music score sub-elements include reduced-character elements and Lisa elements; The display of the guqin music score composed of the guqin music score sub-elements includes: Displaying a mixed score composed of a reduced-character score and a Lisa score, where the reduced-character score is composed of the reduced-character elements and the Lisa score is composed of the Lisa elements.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: Receiving a switching operation for the display style of the guqin music score, where the display styles include: only displaying the reduced-character score, only displaying the Lisa score, and jointly displaying the reduced-character score and the Lisa score; Switching the display style of the guqin music score according to the switching operation.

8. The method according to any one of claims 1 to 7, characterized in that The guqin music score includes multiple candidate options, and the method further includes: Receiving a selection operation for a target option; Inputting the guqin music score corresponding to the target option into the input area.

9. A computing device, characterized in that, Including a memory and a processor; Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device is caused to execute the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 8.