A method and device for processing polyphonetic characters

By identifying and processing the pinyin information of polyphonic names, different pinyin information of polyphonic characters are output for users to choose, solving the problem of inaccurate pinyin information during the ticket purchase process of polyphonic names, and improving the ticket purchase experience and information accuracy.

CN114372459BActive Publication Date: 2025-03-28TRAVELSKY TECHNOLOGY LIMITED
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210022346.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-10
Publication Date
2025-03-28
Estimated Expiration
2042-01-10

AI Technical Summary

Technical Problem

During the ticket purchase process, passengers with polyphonic names cannot display the corresponding pinyin information according to their pronunciation habits, resulting in a decline in ticket purchase experience and inaccurate pinyin information.

Method used

By identifying whether there are polyphonic characters in the name information input by the user, and using the polyphonic characters data set to identify the pinyin information corresponding to different pronunciations of polyphonic characters, output different pinyin information of polyphonic characters for users to choose, and finally, the ticket issuance process is performed based on the target pinyin information selected by the user.

Benefits of technology

It improves the ticket purchase experience of users with polyphonic names during the ticket purchase process, ensures the accuracy of the pinyin information corresponding to polyphonic characters, and meets the needs of users to choose pinyin information based on their own habits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114372459B_ABST
    Figure CN114372459B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for processing the pinyin of polyphonic characters, which identifies whether polyphonic characters exist in the name information input by the user. If polyphonic characters exist in the name information, and the multiple pronunciations of the polyphonic characters correspond to different pinyin information, the different pinyin information corresponding to the polyphonic characters is output, the target pinyin information selected by the user according to the different pinyin information corresponding to the polyphonic characters is obtained, and the ticket issuance process is performed through the target pinyin information and the preset ticket issuance information. Through the above scheme, whether before or after the ticket is issued, the pinyin information in the ticket can be adjusted according to the user's choice, thereby improving the ticket purchasing experience of users with polyphonic names during the ticket purchasing process. In addition, through the dual recognition mechanism of identifying whether polyphonic characters exist in the name information and identifying that the multiple pronunciations of the polyphonic characters correspond to different pinyin information, the accuracy of obtaining the different pinyin information corresponding to the polyphonic characters is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and more specifically, to a method and device for processing the pinyin of a polyphonetic character. Background Art

[0002] Air tickets include international air tickets and domestic air tickets. International air tickets are generally displayed in English, which is commonly used internationally, while domestic air tickets are displayed in Chinese characters and corresponding Chinese pinyin.

[0003] In the case of polyphones in Chinese characters, the current Chinese Pinyin uses a default method to display a fixed Pinyin, and there is no function to modify the Pinyin. When a passenger's name contains polyphones, since each person uses different pronunciations, when a passenger with polyphones purchases a ticket, the passenger cannot display the Pinyin information corresponding to the usual pronunciation on the ticket according to their living habits, which cannot meet the needs of passengers with polyphones in the ticket purchase process, thereby reducing the ticket purchase experience of passengers with polyphones in the ticket purchase process. Summary of the invention

[0004] In view of this, the present application discloses a method and device for processing pinyin of polyphonetic characters, aiming to improve the ticket purchasing experience of users with polyphonetic names and the accuracy of obtaining different pinyin information corresponding to polyphonetic characters during the ticket purchasing process.

[0005] In order to achieve the above purpose, the disclosed technical solution is as follows:

[0006] The first aspect of the present application discloses a method for processing the pinyin of a polyphonetic character, the method comprising:

[0007] Get the name information entered by the user;

[0008] Identify whether there is a polyphone in the name information; the polyphone is identified by a polyphone data set; the polyphone data set contains a correspondence between the polyphone and a plurality of pronunciation pinyins corresponding to the polyphone;

[0009] If there are polyphones in the name information, identifying whether multiple pronunciations of the polyphones correspond to different pinyin information;

[0010] If the multiple pronunciations of a polyphonetic character correspond to different pinyin information, then the different pinyin information corresponding to the polyphonetic character is output;

[0011] Obtain target pinyin information selected by the user according to different pinyin information corresponding to the polyphonetic character;

[0012] Ticket issuance is performed using the target pinyin information and preset ticket issuance information.

[0013] Preferably, before obtaining the name information input by the user, the method further includes:

[0014] Obtaining preset verification information; the preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information at least includes server IP information and user name information;

[0015] When the server IP information is in an authorized state and the user name information is consistent with the preset user name information, determining that the sales channel corresponding to the ticket sales is a legal channel;

[0016] When the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, it is determined that the sales channel corresponding to the ticket sales is an illegal channel.

[0017] Preferably, when the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, after determining that the sales channel corresponding to the ticket sales is an illegal channel, the method further includes:

[0018] Generate exception information; the exception information is used to prompt the exception of the preset verification information.

[0019] Preferably, the ticket issuance process is performed using the target pinyin information and preset ticket issuance information, including:

[0020] Obtain itinerary information, user information and ticket price information;

[0021] Tickets are issued based on the target pinyin information, the itinerary information, the user information and the ticket price information.

[0022] Preferably, it also includes:

[0023] Before the ticket is issued, if it is detected that the pinyin information in the ticket is inconsistent with the target pinyin information, the pinyin information in the ticket is adjusted according to the target pinyin information.

[0024] Preferably, it also includes:

[0025] After the ticket is issued, if the submitted pinyin modification information is received, the pinyin information in the ticket is adjusted according to the pinyin modification information.

[0026] The second aspect of the present application discloses a polyphonetic character pinyin processing device, the device comprising:

[0027] A first acquisition unit, used to acquire name information input by a user;

[0028] The first recognition unit is used to recognize whether there is a polyphone in the name information; the polyphone is obtained by recognizing the polyphone data set; the polyphone data set contains a correspondence between the polyphone and its corresponding multiple pronunciation pinyins;

[0029] A second recognition unit is used to recognize whether multiple pronunciations of the polyphonetic characters correspond to different pinyin information if there are polyphonetic characters in the name information;

[0030] An output unit, for outputting different pinyin information corresponding to a polyphonetic character if multiple pronunciations of the polyphonetic character correspond to different pinyin information;

[0031] The second acquisition unit is used to acquire the target pinyin information selected by the user according to the different pinyin information corresponding to the polyphonetic character;

[0032] The processing unit is used to perform ticket issuance processing according to the target pinyin information and preset ticket issuance information.

[0033] Preferably, it also includes:

[0034] A third acquisition unit is used to acquire preset verification information; the preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information at least includes server IP information and user name information;

[0035] A first determining unit is used to determine that the sales channel corresponding to the ticket sales is a legal channel when the server IP information is in an authorized state and the user name information is consistent with the preset user name information;

[0036] The second determination unit is used to determine that the sales channel corresponding to the ticket sales is an illegal channel when the server IP information is not in an authorized state or the user name information is inconsistent with the preset user name information.

[0037] Preferably, it also includes:

[0038] A generating unit is used to generate abnormal information; the abnormal information is used to indicate the abnormality of the preset verification information.

[0039] Preferably, the processing unit comprises:

[0040] The acquisition module is used to obtain itinerary information, user information and ticket price information;

[0041] The ticket issuing module is used to issue tickets according to the target pinyin information, the itinerary information, the user information and the ticket price information.

[0042] Through the above technical scheme, it can be known that the present application discloses a method and device for processing the pinyin of polyphonic characters, obtains the name information input by the user, identifies whether there is a polyphonic character in the name information, the polyphonic character is identified by a polyphonic character data set, and the polyphonic character data set has a corresponding relationship between the polyphonic character and its corresponding multiple pronunciation pinyins, if there is a polyphonic character in the name information, identifies whether the multiple pronunciations of the polyphonic character correspond to different pinyin information, if the multiple pronunciations of the polyphonic character correspond to different pinyin information, then outputs the different pinyin information corresponding to the polyphonic character, obtains the target pinyin information selected by the user according to the different pinyin information corresponding to the polyphonic character, and performs ticket issuance processing through the target pinyin information and the preset ticket issuance information. Through the above scheme, whether before or after the ticket is issued, the pinyin information in the ticket can be adjusted according to the user's choice, thereby improving the ticket purchase experience of users with polyphonic character names in the ticket purchase process. In addition, through the dual recognition mechanism of identifying whether there is a polyphonic character in the name information and identifying that the multiple pronunciations of the polyphonic character correspond to different pinyin information, the accuracy of obtaining the different pinyin information corresponding to the polyphonic character is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0044] Figure 1 This is an architecture diagram of a polyphonetic character pinyin processing system disclosed in an embodiment of the present application;

[0045] Figure 2 A flowchart of a method for processing the pinyin of a polyphonetic character disclosed in an embodiment of the present application;

[0046] Figure 3 A schematic diagram of a process for ticket issuance processing using target pinyin information and preset ticket issuance information disclosed in an embodiment of the present application;

[0047] Figure 4 A schematic diagram of the structure of a polyphonetic character pinyin processing device disclosed in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0051] From the background technology, it can be seen that when passengers with polyphonetic names purchase tickets, they cannot display the pinyin information corresponding to their usual pronunciation according to their living habits on the ticket, which makes it impossible to meet the needs of passengers with polyphonetic names during the ticket purchasing process, thereby reducing the ticket purchasing experience of passengers with polyphonetic names during the ticket purchasing process.

[0052] In order to solve the above problems, the embodiment of the present application discloses a method and device for processing the pinyin of polyphonic characters, which can adjust the pinyin information in the ticket according to the user's choice before or after the ticket is issued, thereby improving the ticket purchase experience of users with polyphonic names during the ticket purchase process. In addition, through a dual recognition mechanism of identifying whether there are polyphonic characters in the name information and identifying the different pinyin information corresponding to multiple pronunciations of the polyphonic characters, the accuracy of obtaining the different pinyin information corresponding to the polyphonic characters is improved.

[0053] The following first introduces the architecture diagram of a polyphonetic character pinyin processing system applicable to a polyphonetic character pinyin processing method / device of the present application, and specifically refers to Figure 1 As shown, the polyphonetic pinyin processing system includes an airline sales component module 11, an Internet booking business interface (E-commerce Builder Interface, IBE) module 12 and a background system 13.

[0054] The airline sales component module 11 includes sales channels and a polyphone database; the airline sales component module 11 provides sales channels for each airline to provide to users, passengers, etc., such as the airline's official website, airline APP, B2B website, WeChat applets, etc.

[0055] The IBE module 12 includes a client and a server. The IBE module 12 adopts a standard Client / Server architecture mode, and the Client / Server communicates through the Socket protocol. The network environment between the Client / Server can be the Internet public network or the China Aviation Information Network's civil aviation network; the client is a module deployed on the user's e-commerce website, responsible for organizing the website's data requests / results, and communicating with the server. The client is an intermediate component used to communicate between the e-commerce website program and the server of the IBE module 12; the server is a listening port, used to receive instructions, access the various systems of the Aviation Information Network backend in real time, execute instructions, etc.

[0056] The backend system 13 refers to the mainframe system, open system and systems related to functions such as reservation, flight and fare inquiry, refund and change involved in the ticket sales process of Air China; the backend module 13 includes the mainframe module and the open module.

[0057] The specific data interaction process between the airline sales component module 11, the IBE module 12 and the background system 13 is as follows:

[0058] The airline sales component module 11 obtains the name information input by the user.

[0059] The airline sales component module 11 identifies whether there are polyphones in the name information; the polyphones are identified through a polyphone data set; the polyphone data set contains a correspondence between the polyphones and their corresponding multiple pronunciation pinyins.

[0060] If there are polyphones in the name information, the airline sales component module 11 identifies whether the multiple pronunciations of the polyphones correspond to different pinyin information.

[0061] If the multiple pronunciations of a polyphonetic character correspond to different pinyin information, the airline sales component module 11 outputs the different pinyin information corresponding to the polyphonetic character.

[0062] The airline sales component module 11 packages (integrates) the name information, preset verification information, itinerary information and user information input by the user, and sends the integration result to the IBE module 12.

[0063] The preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information is the IBE configuration information, which includes server IP information, user name information, etc. For each sales channel connected to the IBE module 12, the IBE module 12 will allocate a set of preset verification information as a verification of the channel identity.

[0064] The IBE module 12 verifies the legitimacy of the sales channel corresponding to the ticket sales. When the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, the sales channel corresponding to the ticket sales is determined to be an illegal channel and an exception message is generated. When the server IP information is in an authorized state and the user name information is consistent with the preset user name information, the sales channel corresponding to the ticket sales is determined to be a legal channel. After verification as a legal channel, passengers with polyphone names with different pinyins can choose the polyphone pinyin information according to their own habits during the ticket purchase process.

[0065] Among them, the preset user name information is the code information, and the legitimacy of the sales channel corresponding to the ticket sales is determined by verifying whether the user name information is consistent with its corresponding code information.

[0066] Exception information is used to indicate exceptions to preset verification information.

[0067] The IBE module 12 analyzes the itinerary information and user information to obtain various node information such as itinerary information, user information, ticket price information, etc. At the same time, the IBE module 12 configures each sales channel according to the actual situation of each sales channel in the background system to decide whether to use the host system or the open system in the background system, such as a certain APP using the host system and a certain airline official website using the open system.

[0068] For polyphones, if they are not modified, the backstage system 13 will display a default pinyin when issuing tickets. If they need to be modified, the backstage system 13 will issue tickets according to the modified pinyin after receiving the pinyin modification instruction and information from the IBE module 12. For tickets that have already been issued, the pinyin on the ticket will be modified.

[0069] The background system 13 obtains the target pinyin information selected by the user according to the different pinyin information corresponding to the polyphonetic character.

[0070] Among them, during the ticket sales process, when the user (passenger) enters his or her name information, the sales end (airline APP, etc.) detects that the user's name is a polyphone name through the polyphone data set, and displays different pinyin options for the polyphone name on the sales end. The user selects his or her usual pinyin, that is, the target pinyin information selected by the user.

[0071] The backstage system 13 performs ticket issuance processing according to the target pinyin information and the preset ticket issuance information.

[0072] Among them, the preset ticketing information includes current flight segment information, user information and ticket price information.

[0073] The host system has its own default pinyin for polyphones. The polyphone information already in the ticket is the default pinyin of the host system. The default pinyin is the pinyin with the highest number of uses / frequency obtained by the host system through intelligent statistics.

[0074] Before the ticket is issued, if the host system receives the pinyin modification instruction and information, and the default pinyin is inconsistent with the target pinyin information, the pinyin information in the ticket will be adjusted according to the target pinyin information.

[0075] After the ticket is issued, if the host system receives the submitted pinyin modification information, it adjusts the pinyin information in the ticket according to the pinyin modification information.

[0076] The host system converts the pinyin information in the adjusted ticket, obtains the return message information, and returns the return message information to the sales end.

[0077] The sales end displays the modified ticket information to the user.

[0078] In the embodiment of the present application, whether before or after the ticket is issued, the pinyin information in the ticket can be adjusted according to the user's choice, thereby improving the ticket purchasing experience of users with polyphonic names during the ticket purchasing process. In addition, through the dual recognition mechanism of identifying whether there are polyphonic characters in the name information and identifying the different pinyin information corresponding to multiple pronunciations of the polyphonic characters, the accuracy of obtaining the different pinyin information corresponding to the polyphonic characters is improved.

[0079] refer to Figure 2 As shown, it is a flow chart of a method for processing the pinyin of a polyphonetic character disclosed in an embodiment of the present application, and the method for processing the pinyin of a polyphonetic character mainly comprises the following steps:

[0080] S201: Obtain the name information input by the user.

[0081] During the ticket sales process, obtain the name information entered by the user through the airline’s official website, airline app, B2B website, WeChat mini-programs and other channels.

[0082] Before obtaining the name information input by the user, obtain preset verification information; the preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information at least includes server IP information and user name information.

[0083] When the server IP information is in an authorized state and the user name information is consistent with the preset user name information, the sales channel corresponding to the ticket sales is determined to be a legal channel.

[0084] Among them, the preset user name information is the code information, and the legitimacy of the sales channel corresponding to the ticket sales is determined by verifying whether the user name information is consistent with its corresponding code information.

[0085] Only when the sales channel corresponding to the ticket sales is a legal channel can it be identified whether there are polyphones in the name information.

[0086] When the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, it is determined that the sales channel corresponding to the ticket sales is an illegal channel.

[0087] When the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, after determining that the sales channel corresponding to the ticket sales is an illegal channel, an abnormal information is generated.

[0088] Exception information is used to indicate exceptions to preset verification information.

[0089] S202: Identify whether there are polyphones in the name information; the polyphones are identified through a polyphone data set; the polyphone data set contains a correspondence between the polyphones and their corresponding multiple pronunciation pinyins. If so, execute S203; if not, execute S207.

[0090] The polyphone data set is a database that stores information on various polyphones.

[0091] In order to facilitate understanding of the correspondence between polyphonetic characters and their corresponding multiple pronunciation pinyin, an example is given here:

[0092] For example, the user name is "Shan Dan", and there is a polyphonetic character "Shan" in the user name information. The multiple pronunciation pinyins corresponding to the polyphonetic character "Shan" are: "DAN, CHAN, SHAN", and the polyphonetic character "Shan" and its corresponding multiple pronunciation pinyins "DAN, CHAN, SHAN" are in a corresponding relationship.

[0093] S203: Identify whether the multiple pronunciations of the polyphonetic character correspond to different pinyin information, if so, execute S204, if not, execute S207.

[0094] S204: Output different pinyin information corresponding to the polyphonetic character.

[0095] To make it easier to understand how multiple pronunciations of polyphonetic characters correspond to different pinyin information, here is an example:

[0096] For example, when a passenger enters his or her name "Shan Dan" when purchasing a ticket on an airline's APP, the airline's APP detects that the user's name contains the polyphonetic character "Shan", and gives the corresponding pinyins of the polyphonetic character "Shan" as: DAN, CHAN, SHAN.

[0097] S205: Obtain target pinyin information selected by the user based on different pinyin information corresponding to the polyphonetic character.

[0098] In S205, during the ticket sales process, when the user (passenger) enters his or her name information, the airline APP detects that the user's name is a polyphone name through the polyphone data set, and displays different pinyin options for the polyphone name in the airline APP, and obtains the pinyin information corresponding to the user's usual pronunciation selected by the user through the airline APP according to his or her living habits. This pinyin information is the target pinyin information.

[0099] S206: Ticket issuance is performed according to the target pinyin information and the preset ticket issuance information.

[0100] In S206, the preset ticketing information includes itinerary information, user information, ticket price information, etc., wherein the user information includes personal identity information, personal gender information, etc.

[0101] Tickets are issued based on target pinyin information, itinerary information, user information and ticket price information.

[0102] Before the ticket is issued, if it is detected that the pinyin information in the ticket is inconsistent with the target pinyin information, the pinyin information in the ticket is adjusted according to the target pinyin information.

[0103] Among them, polyphones have their own default pinyin. The polyphone information already in the ticket is the default pinyin of the host system. The default pinyin is the pinyin with the highest number of uses / frequency obtained by the host system through intelligent statistics.

[0104] The pinyin information in the ticket is adjusted according to the target pinyin information, the modified ticket is displayed, and the information corresponding to the modified ticket is converted to obtain the return message information, and the return message information is returned to the airline APP, and the airline APP displays the adjusted pinyin information in the ticket to the user.

[0105] The purpose of converting the information corresponding to the modified ticket and obtaining the return message information is to ensure that the pinyin information of the name on the ticket modified by the user according to his / her own habits is displayed on the airline APP.

[0106] After the ticket is issued, if the submitted pinyin modification information is received, the pinyin information in the ticket will be adjusted according to the pinyin modification information.

[0107] Among them, pinyin modification is supported after ticket issuance. If the pinyin information in the ticket is incorrect, the pinyin information in the ticket will be adjusted according to the pinyin modification information submitted by the user. At the same time, the pinyin adjustment will not affect the passenger's points, mileage and other functions.

[0108] Users with polyphonetic names can see or hear the same pronunciation of their names as they are used to in daily life when purchasing tickets and traveling, which helps to improve their ticket purchasing and travel experience.

[0109] S207: The polyphonetic character processing flow is not executed.

[0110] In the embodiment of the present application, whether before or after the ticket is issued, the pinyin information in the ticket can be adjusted according to the user's choice, thereby improving the ticket purchasing experience of users with polyphonic names during the ticket purchasing process. In addition, through the dual recognition mechanism of identifying whether there are polyphonic characters in the name information and identifying the different pinyin information corresponding to multiple pronunciations of the polyphonic characters, the accuracy of obtaining the different pinyin information corresponding to the polyphonic characters is improved.

[0111] refer to Figure 3 , which is the process of ticketing processing using target pinyin information and preset ticketing information in the above S206, mainly includes the following steps:

[0112] S301: Obtain itinerary information, user information and ticket price information.

[0113] S302: Tickets are issued based on the target pinyin information, itinerary information, user information and ticket price information.

[0114] The execution principle of S301-S302 is consistent with the execution principle of the above-mentioned S206, which can be used as a reference and will not be repeated here.

[0115] In the embodiment of the present application, itinerary information, user information and ticket price information are obtained, and the purpose of ticket issuance is achieved through the target pinyin information, itinerary information, user information and ticket price information.

[0116] Based on the above embodiments Figure 2 A polyphonic character pinyin processing method is disclosed, and the present application embodiment also discloses a polyphonic character pinyin processing device, referring to Figure 4 As shown, the polyphonetic pinyin processing device includes a first acquisition unit 401, a first recognition unit 402, a second recognition unit 403, an output unit 404, a second acquisition unit 405 and a processing unit 406.

[0117] The first acquisition unit 401 is used to acquire name information input by a user.

[0118] The first recognition unit 402 is used to recognize whether there are polyphones in the name information; the polyphones are recognized by using a polyphone data set; the polyphone data set contains a correspondence between the polyphones and their corresponding multiple pronunciation pinyins.

[0119] The second recognition unit 403 is used to recognize whether multiple pronunciations of the polyphonetic characters correspond to different pinyin information if there are polyphonetic characters in the name information.

[0120] The output unit 404 is used to output the different pinyin information corresponding to the polyphonetic character if the multiple pronunciations of the polyphonetic character correspond to different pinyin information.

[0121] The second acquisition unit 405 is used to acquire the target pinyin information selected by the user according to the different pinyin information corresponding to the polyphonetic character.

[0122] The processing unit 406 is used to perform ticket issuance processing according to the target pinyin information and the preset ticket issuance information.

[0123] Furthermore, the polyphonetic character pinyin processing system also includes a third acquisition unit, a first determination unit and a second determination unit.

[0124] The third acquisition unit is used to acquire preset verification information; the preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information at least includes server IP information and user name information.

[0125] The first determination unit is used to determine that the sales channel corresponding to the ticket sales is a legal channel when the server IP information is in an authorized state and the user name information is consistent with the preset user name information.

[0126] The second determination unit is used to determine that the sales channel corresponding to the ticket sales is an illegal channel when the server IP information is not in an authorized state or the user name information is inconsistent with the preset user name information.

[0127] Furthermore, the polyphonetic character pinyin processing device also includes a generation unit.

[0128] The generating unit is used to generate abnormal information; the abnormal information is used to indicate abnormalities of preset verification information.

[0129] Furthermore, the polyphone pinyin processing device also includes a processing unit, and the processing unit includes an acquisition module and a ticket issuing module.

[0130] The acquisition module is used to obtain itinerary information, user information and ticket price information;

[0131] The ticketing module is used to issue tickets based on target pinyin information, itinerary information, user information and ticket price information.

[0132] Furthermore, the polyphonetic character pinyin processing device also includes a first adjustment unit.

[0133] The first adjustment unit is used to adjust the pinyin information in the ticket according to the target pinyin information if it is detected that the pinyin information in the ticket is inconsistent with the target pinyin information before the ticket is issued.

[0134] Furthermore, the polyphonetic character pinyin processing device also includes a second adjustment unit.

[0135] The second adjustment unit is used to adjust the pinyin information in the ticket according to the pinyin modification information if the pinyin modification information submitted is received after the ticket is issued.

[0136] In the embodiment of the present application, whether before or after the ticket is issued, the pinyin information in the ticket can be adjusted according to the user's choice, thereby improving the ticket purchasing experience of users with polyphonic names during the ticket purchasing process. In addition, through the dual recognition mechanism of identifying whether there are polyphonic characters in the name information and identifying the different pinyin information corresponding to multiple pronunciations of the polyphonic characters, the accuracy of obtaining the different pinyin information corresponding to the polyphonic characters is improved.

[0137] The embodiment of the present application also provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned polyphone pinyin processing method.

[0138] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0139] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0140] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0141] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0142] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0143] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A method for processing the pinyin of a polyphonetic character, characterized in that: Applied to adjusting pinyin information in a ticket, the method comprises: Get the name information entered by the user; Identify whether there is a polyphone in the name information; the polyphone is identified by a polyphone data set; the polyphone data set contains a correspondence between the polyphone and a plurality of pronunciation pinyins corresponding to the polyphone, and the polyphone data set is a database storing various polyphone information; If there are polyphones in the name information, identifying whether multiple pronunciations of the polyphones correspond to different pinyin information; If the multiple pronunciations of a polyphonetic character correspond to different pinyin information, then the different pinyin information corresponding to the polyphonetic character is output; Obtain target pinyin information selected by the user according to different pinyin information corresponding to the polyphonetic character; Ticketing is performed using the target pinyin information and preset ticketing information, wherein the preset ticketing information includes itinerary information, user information, and ticket price information; Before obtaining the name information input by the user, the method further includes: Obtaining preset verification information; the preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information at least includes server IP information and user name information; When the server IP information is in an authorized state and the user name information is consistent with the preset user name information, determining that the sales channel corresponding to the ticket sales is a legal channel; When the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, it is determined that the sales channel corresponding to the ticket sales is an illegal channel.

2. The method according to claim 1, characterized in that When the server IP information is not in an authorized state, or the user name information is inconsistent with the preset user name information, after determining that the sales channel corresponding to the ticket sales is an illegal channel, the method further includes: Generate exception information; the exception information is used to prompt the exception of the preset verification information.

3. The method according to claim 1, characterized in that The ticket issuance process is performed using the target pinyin information and the preset ticket issuance information, including: Obtain itinerary information, user information and ticket price information; Tickets are issued based on the target pinyin information, the itinerary information, the user information and the ticket price information.

4. The method according to claim 1, characterized in that Also includes: Before the ticket is issued, if it is detected that the pinyin information in the ticket is inconsistent with the target pinyin information, the pinyin information in the ticket is adjusted according to the target pinyin information.

5. The method according to claim 1, characterized in that Also includes: After the ticket is issued, if the submitted pinyin modification information is received, the pinyin information in the ticket is adjusted according to the pinyin modification information.

6. A polyphonetic character pinyin processing device, characterized in that: Applicable to adjusting pinyin information in a ticket, the device comprises: A first acquisition unit, used to acquire name information input by a user; A first recognition unit is used to recognize whether there is a polyphone in the name information; the polyphone is obtained by recognizing the polyphone through a polyphone data set; the polyphone data set contains a correspondence between the polyphone and a plurality of pronunciation pinyins corresponding to the polyphone, and the polyphone data set is a database storing information of various polyphones; A second recognition unit is used to recognize whether multiple pronunciations of the polyphonetic characters correspond to different pinyin information if there are polyphonetic characters in the name information; An output unit, for outputting different pinyin information corresponding to a polyphonetic character if multiple pronunciations of the polyphonetic character correspond to different pinyin information; The second acquisition unit is used to acquire the target pinyin information selected by the user according to the different pinyin information corresponding to the polyphonetic character; A processing unit, used for performing ticketing processing according to the target pinyin information and preset ticketing information, wherein the preset ticketing information includes itinerary information, user information and ticket price information; A third acquisition unit is used to acquire preset verification information; the preset verification information is used to verify the legitimacy of the sales channel corresponding to the ticket sales; the preset verification information at least includes server IP information and user name information; A first determining unit is used to determine that the sales channel corresponding to the ticket sales is a legal channel when the server IP information is in an authorized state and the user name information is consistent with the preset user name information; The second determination unit is used to determine that the sales channel corresponding to the ticket sales is an illegal channel when the server IP information is not in an authorized state or the user name information is inconsistent with the preset user name information.

7. The device according to claim 6, characterized in that Also includes: A generating unit is used to generate abnormal information; the abnormal information is used to indicate the abnormality of the preset verification information.

8. The device according to claim 6, characterized in that The processing unit comprises: The acquisition module is used to obtain itinerary information, user information and ticket price information; The ticket issuing module is used to issue tickets according to the target pinyin information, the itinerary information, the user information and the ticket price information.

Citation Information

Patent Citations

  • Self-help travel itinerary universal platform system and self-help travel itinerary generation method

    CN104021591A

  • Method and device for submitting name modification application online, terminal and storage medium

    CN112291306A

  • Pinyin generation method and device and electronic equipment

    CN112395844A