Left identifier regulation and control method and device, computer equipment, storage medium and product
By using PCF network elements to identify and control the characters to be adjusted in the left identifier to be displayed, the problem of display length differences between different terminals is solved, and the dynamic adjustment and effective display of the left identifier are realized.
Patent Information
- Application Number
- CN202511722694.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-02-27
AI Technical Summary
Different terminals display the left indicator with varying lengths, causing the left indicator to fail to display effectively.
The PCF network element identifies the characters to be controlled in the left identifier to be displayed, and performs identifier control based on the characters to be controlled, including simplification or truncation, to obtain the target left identifier that conforms to the length that the terminal can display.
It enables dynamic adjustment of the left label length on the terminal without relying on external control, ensuring that the left label can be displayed smoothly on different terminals and improving the user's intuitive experience.
Smart Images

Figure CN121585985A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, in particular to a left mark regulation method and device, computer equipment, storage medium and product. BACKGROUND
[0002] With the rapid development of the communication industry, differentiated experience operation has gradually become mainstream. While operators provide customers with hierarchical protection of users, services, scenes, etc., they hope that users can more intuitively feel the existence of protection services through the way of marking protection services on terminals, so as to bring certain benefits. Therefore, providing protection for services through the core network has application market and prospect.
[0003] Operators will issue left marks to terminals, but different terminals have different display capabilities for supporting left marks, for example, different terminals support different lengths of displayed left marks. Therefore, how to regulate left marks on different terminals to ensure effective display of left marks has become a problem to be solved. SUMMARY
[0004] Therefore, it is necessary to provide a left mark regulation method, device, computer equipment, storage medium and product capable of ensuring the smooth display of left marks on different terminals.
[0005] In a first aspect, the present application provides a left mark regulation method applied to a PCF network element, the method comprising:
[0006] In a case where the length of a to-be-displayed left mark of a target terminal exceeds the displayable length of the target terminal, determining the to-be-displayed left mark;
[0007] Identifying a to-be-regulated character in the to-be-displayed left mark;
[0008] Regulating the to-be-displayed left mark according to the to-be-regulated character to obtain a target left mark;
[0009] Sending the target left mark to the target terminal.
[0010] In one embodiment, the to-be-regulated character includes a to-be-simplified character, and the step of regulating the to-be-displayed left mark according to the to-be-regulated character to obtain a target left mark comprises:
[0011] Determining a target character obtained by simplifying the to-be-simplified character;
[0012] Replacing the to-be-simplified character in the to-be-displayed left mark with the target character to obtain a target left mark.
[0013] In one embodiment, determining the target character after simplification of the character to be simplified includes:
[0014] Select a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively;
[0015] The second character corresponding to the reference character in the mapping relationship is used as the target character after simplification of the character to be simplified.
[0016] In one embodiment, the character to be trunculated includes a character to be truncated, and the step of adjusting the left identifier to be displayed based on the character to be trunculated to obtain the target left identifier further includes:
[0017] The characters to be truncated in the left identifier to be displayed are truncated to obtain the target left identifier.
[0018] In one embodiment, identifying the character to be controlled in the left identifier to be displayed includes:
[0019] If the length of the identifier is greater than the length threshold, the character to be controlled in the left identifier to be displayed is identified.
[0020] In one embodiment, determining that the length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal includes:
[0021] Receive a left-alignment adjustment request sent by the target terminal, wherein the left-alignment adjustment request is sent by the target terminal when it determines that the length of the indicator exceeds the length of the displayable indicator;
[0022] Based on the requested adjustment of the left identifier, it is determined that the identifier length of the left identifier to be displayed exceeds the displayable identifier length.
[0023] Secondly, this application also provides a left identifier control device, configured in a PCF network element, the device comprising:
[0024] The acquisition module is used to determine the left identifier to be displayed when it is determined that the identifier length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal;
[0025] The recognition module is used to recognize the character to be controlled in the left identifier to be displayed;
[0026] The control module is used to control the left identifier to be displayed according to the character to be controlled, so as to obtain the target left identifier;
[0027] The sending module is used to send the target left identifier to the target terminal.
[0028] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0029] If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, the left identifier to be displayed is determined.
[0030] Identify the character to be controlled in the left identifier to be displayed;
[0031] The left identifier to be displayed is adjusted according to the character to be adjusted to obtain the target left identifier;
[0032] The target left identifier is sent to the target terminal.
[0033] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0034] If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, the left identifier to be displayed is determined.
[0035] Identify the character to be controlled in the left identifier to be displayed;
[0036] The left identifier to be displayed is adjusted according to the character to be adjusted to obtain the target left identifier;
[0037] The target left identifier is sent to the target terminal.
[0038] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0039] If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, the left identifier to be displayed is determined.
[0040] Identify the character to be controlled in the left identifier to be displayed;
[0041] The left identifier to be displayed is adjusted according to the character to be adjusted to obtain the target left identifier;
[0042] The target left identifier is sent to the target terminal.
[0043] The aforementioned left identifier control method, apparatus, computer equipment, storage medium, and product determine the left identifier to be displayed when the identifier length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal. Then, they identify the character to be controlled within the left identifier to be displayed; and adjust the left identifier to be displayed based on the character to be controlled to obtain the target left identifier. Finally, the target left identifier is sent to the target terminal. As can be seen from the above, this application, during the left identifier control process, pre-identifies the character to be controlled within the left identifier to be displayed, and then adjusts the character to achieve the transformation from the left identifier to the target left identifier. This ensures that the target left identifier conforms to the displayable identifier length of the target terminal, guaranteeing that the target terminal can smoothly display the character to be controlled. It achieves dynamic adjustment of the terminal's left identifier length to accurately adapt to different terminal types without relying on external control, ensuring that users can more intuitively and effectively obtain the left identifier corresponding to the target terminal. Attached Figure Description
[0044] Figure 1 An application environment diagram of a left identifier control method provided in this application embodiment;
[0045] Figure 2 A flowchart illustrating the first left identifier control method provided in this application embodiment;
[0046] Figure 3 A flowchart illustrating the second left identifier control method provided in this application embodiment;
[0047] Figure 4 A flowchart illustrating the third left identifier control method provided in this application embodiment;
[0048] Figure 5 Signaling diagram of the first left identifier control method provided in the embodiments of this application;
[0049] Figure 6 Signaling diagram of the second left identifier control method provided in the embodiments of this application;
[0050] Figure 7 A flowchart illustrating the fourth left identifier control method provided in this application embodiment;
[0051] Figure 8 A structural block diagram of a left indicator control device provided in an embodiment of this application;
[0052] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0054] The left identifier control method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the target terminal 102 communicates with the PCF network element 104 via a network. A data storage system can store the data that the PCF network element 104 needs to process. The data storage system can be integrated into the PCF network element 104 or placed in the cloud or on another network server. The PCF network element determines the left identifier to be displayed when the identifier length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal. Then, it identifies the character to be controlled in the left identifier to be displayed; and performs identifier control on the left identifier to be displayed based on the character to be controlled, thus obtaining the target left identifier; finally, it sends the target left identifier to the target terminal. The target terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc.
[0055] In one embodiment, such as Figure 2 As shown, a left-signature control method is provided, which can be applied to... Figure 1 Taking the PCF network element as an example, the explanation includes the following steps:
[0056] S201, if it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, the left identifier to be displayed is determined.
[0057] In one embodiment of this application, when it is necessary to verify whether the identifier length of the left identifier to be displayed of the target terminal exceeds the displayable identifier length of the target terminal, the PCF network element can obtain the displayable identifier length of the target terminal in advance and send a left identifier length acquisition request to the target terminal. After receiving the left identifier length acquisition request, the target terminal sends the identifier length of the left identifier to be displayed of the target terminal to the PCF network element. The PCF network element determines whether the identifier length exceeds the displayable identifier length of the target terminal. If it exceeds, it determines that the identifier length of the left identifier to be displayed of the target terminal exceeds the displayable identifier length of the target terminal; if it does not exceed, it determines that the identifier length of the left identifier to be displayed of the target terminal does not exceed the displayable identifier length of the target terminal.
[0058] S202, identify the character to be controlled in the left identifier to be displayed.
[0059] It should be noted that when it is necessary to identify the character to be controlled in the left identifier to be displayed, the character library to be controlled can be obtained in advance; wherein, the character library to be controlled stores at least one candidate character; then, according to the character library to be controlled, the operation of identifying the character to be controlled in the left identifier to be displayed can be realized.
[0060] The candidate characters in the character library to be regulated can be set or adjusted according to the actual situation and the historical experience of the operation and maintenance personnel, Duan Lang. The specific candidate character content in the character library to be regulated is not limited here.
[0061] In one embodiment of this application, when it is necessary to identify the character to be controlled in the left identifier to be displayed, the left identifier to be displayed can be split into characters to obtain at least one sub-character; each sub-character is compared with the candidate characters contained in the character library to be controlled, and then it is determined whether there is a sub-character in each sub-character that is the same as the candidate character; if so, the sub-character that is the same as the candidate character is taken as the character to be controlled in the left identifier to be displayed.
[0062] To further explain, when it is necessary to identify the character to be controlled in the left identifier to be displayed, it is also possible to determine whether the identifier length is greater than the length threshold. If it is greater, it means that the left identifier to be displayed supports control. Therefore, when the identifier length is greater than the length threshold, the character to be controlled in the left identifier to be displayed can be identified.
[0063] S203, adjust the left identifier of the display according to the character to be adjusted, and obtain the target left identifier.
[0064] It should be noted that the labeling control of the left label to be displayed includes simplifying the character to be controlled and truncating the character to be controlled. Therefore, the target left label can be obtained by simplifying and truncating the left label to be displayed based on the character to be controlled.
[0065] S204, send the target left identifier to the target terminal.
[0066] The aforementioned left identifier control method determines the left identifier to be displayed when its length exceeds the displayable identifier length of the target terminal. Then, it identifies the character to be controlled within the left identifier and adjusts it according to this character to obtain the target left identifier. Finally, it sends the target left identifier to the target terminal. As can be seen from the above, this application pre-identifies the character to be controlled within the left identifier and then adjusts it to transform it into the target left identifier. This ensures that the target left identifier conforms to the displayable identifier length of the target terminal, guaranteeing that the target terminal can smoothly display the character to be controlled. This achieves dynamic adjustment of the terminal's left identifier length to accurately adapt to different terminal types without external control, ensuring that users can more intuitively and effectively obtain the left identifier corresponding to the target terminal.
[0067] In one embodiment, such as Figure 3 As shown, the characters to be controlled include the characters to be simplified. When it is necessary to control the left identifier of the display based on the characters to be controlled to obtain the target left identifier, the following can be included:
[0068] S301, Determine the target character after simplification of the character to be simplified.
[0069] It should be noted that when it is necessary to determine the target character after simplification of the character to be simplified, the mapping relationship between the first character and the second character can be obtained in advance, where the second character is the simplified version of the first character.
[0070] In one embodiment of this application, when it is necessary to determine the target character after simplification of the character to be simplified, the following may be included: selecting a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively; and taking the second character corresponding to the reference character in the mapping relationship as the target character after simplification of the character to be simplified.
[0071] S302, replace the simplified character in the left identifier to be displayed with the target character to obtain the target left identifier.
[0072] In one embodiment of this application, if the character to be controlled in the left identifier to be displayed is a character to be simplified, then the target character after simplification of the character to be simplified is determined; then, the character to be simplified in the left identifier to be displayed is replaced with the target character to obtain the target left identifier.
[0073] In another embodiment of this application, the character to be controlled includes a character to be truncated. If the character to be controlled in the left identifier to be displayed is a character to be truncated, then the character to be truncated in the left identifier to be displayed is truncated to obtain the target left identifier.
[0074] The aforementioned left identifier control method, by determining the target character after simplification of the character to be simplified, replacing the simplified character in the left identifier to be displayed with the target character, and truncating the character to be truncated in the left identifier to be displayed, realizes the control operation for the left identifier to be displayed. It enables dynamic adjustment of the length of the terminal's left identifier to accurately adapt to different terminal types without relying on external control; ensuring that users can more intuitively and effectively obtain the left identifier corresponding to the target terminal.
[0075] In one embodiment, such as Figure 4 As shown, when it is necessary to determine that the length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal, the following may be included:
[0076] S401, Receive the control left identifier request sent by the target terminal.
[0077] Among them, the left identifier adjustment request is sent by the target terminal when it determines that the identifier length exceeds the displayable identifier length.
[0078] S402, based on the request to control the left sign, determine that the length of the left sign to be displayed exceeds the length of the displayable sign.
[0079] In one embodiment of this application, such as Figure 5 As shown, after receiving the left identifier to be displayed, the target terminal determines that the identifier length exceeds the displayable identifier length. If the identifier length exceeds the displayable identifier length, the target terminal sends a left identifier adjustment request to the PCF network element. This request may carry the left identifier length supported by the target terminal, which is the displayable identifier length of the target terminal. Furthermore, the displayable identifier length varies for different terminals; therefore, no limitation is placed on the displayable identifier length of the target terminal here. The PCF network element verifies whether the identifier length is greater than a length threshold. If the identifier length is greater than the length threshold, it identifies the character to be adjusted in the left identifier to be displayed. The PCF network element sends a left identifier adjustment response to the target terminal. This response includes the terminal identifier and whether the left identifier to be displayed supports adjustment. The PCF network element then identifies the character to be adjusted in the left identifier to be displayed and adjusts the identifier based on this character to obtain the target left identifier.
[0080] Specifically, when it is necessary to determine whether the left identifier to be displayed supports adjustment, the PCF network element determines this based on the relationship between the minimum length of the adjusted left identifier and the length of the displayable identifier. If the minimum length of the adjusted left identifier is greater than the length of the displayable identifier, it is determined that the left identifier to be displayed cannot be displayed even after adjustment; therefore, it is determined that the left identifier to be displayed does not support adjustment. Subsequently, the PCF network element sends a default identifier to the target terminal through the adjustment of the left identifier response, so that the target terminal displays the default identifier. If the minimum length of the adjusted left identifier is not greater than the length of the displayable identifier, it is determined that the left identifier to be displayed supports adjustment. Therefore, the PCF network element performs identifier adjustment on the left identifier to be displayed based on the character to be adjusted, obtains the target left identifier, and finally sends the target left identifier to the target terminal.
[0081] It should be noted that the PCF network element can autonomously perform the operation of recognizing the character to be controlled in the left identifier to be displayed when the identifier length is greater than the length threshold. The PCF network element can also send a recognition request to the terminal so that the terminal can perform the operation of recognizing the character to be controlled in the left identifier to be displayed when the identifier length is greater than the length threshold. After recognizing the character to be controlled in the left identifier to be displayed, the terminal will feed back the character to be controlled to the PCF network element.
[0082] In summary, the operation of identifying the character to be controlled in the left identifier to be displayed can be performed through the PCF network element or through the terminal. Here, we do not limit the execution subject of identifying the character to be controlled.
[0083] To further explain, such as Figure 6 As shown, the process by which the target terminal determines the left identifier to be displayed is as follows: Different left identifier packages are configured on the PCF network element, along with the left identifier to be displayed corresponding to each left identifier package; the IT system sends the left identifier package subscribed by the user through the target terminal to the PCF network element; then, the target terminal sends a registration process to the AMF network element, and the AMF network element sends a left identifier package request corresponding to the target terminal to the PCF network element, wherein the left identifier package request contains the terminal identifier of the target terminal; upon receiving the left identifier package request, the PCF network element sends a left identifier package response to the AMF network element; wherein the left identifier package response contains the terminal identifier of the target terminal and the left identifier to be displayed of the target terminal, and the AMF network element sends the left identifier to be displayed to the target terminal so that the target terminal obtains the left identifier to be displayed.
[0084] The aforementioned left identifier control method, by receiving the left identifier control request sent by the target terminal, determines that the identifier length of the left identifier to be displayed exceeds the displayable identifier length based on the left identifier control request, thereby ensuring the smooth progress of subsequent processes.
[0085] In one embodiment, such as Figure 7As shown, when it is necessary to send the target left identifier to the target terminal, the following can be included:
[0086] S701, Receive a left identifier adjustment request sent by the target terminal, wherein the left identifier adjustment request is sent by the target terminal when it determines that the identifier length exceeds the displayable identifier length.
[0087] S702, based on the request to control the left sign, determines that the length of the left sign to be displayed exceeds the length of the displayable sign.
[0088] S703, confirm the left identifier to be displayed.
[0089] S704 identifies the character to be controlled in the left identifier to be displayed.
[0090] S705, select a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively.
[0091] S706, take the second character corresponding to the reference character in the mapping relationship as the target character after simplification of the character to be simplified.
[0092] S707, replace the simplified character in the left identifier to be displayed with the target character to obtain the target left identifier.
[0093] S708, truncates the characters to be truncated in the left identifier to be displayed, and obtains the target left identifier.
[0094] S79 sends the target left identifier to the target terminal.
[0095] The aforementioned left identifier control method determines the left identifier to be displayed when its length exceeds the displayable identifier length of the target terminal. Then, it identifies the character to be controlled within the left identifier and adjusts it according to this character to obtain the target left identifier. Finally, it sends the target left identifier to the target terminal. As can be seen from the above, this application pre-identifies the character to be controlled within the left identifier and then adjusts it to transform it into the target left identifier. This ensures that the target left identifier conforms to the displayable identifier length of the target terminal, guaranteeing that the target terminal can smoothly display the character to be controlled. This achieves dynamic adjustment of the terminal's left identifier length to accurately adapt to different terminal types without external control, ensuring that users can more intuitively and effectively obtain the left identifier corresponding to the target terminal.
[0096] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0097] Based on the same inventive concept, this application also provides a left-signature control device for implementing the left-signature control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more left-signature control device embodiments provided below can be found in the limitations of the left-signature control method described above, and will not be repeated here.
[0098] In one embodiment, such as Figure 8 As shown, a left identifier control device is provided, configured in a PCF network element, including: an acquisition module 10, an identification module 20, a control module 30, and a transmission module 40, wherein:
[0099] The acquisition module 10 is used to determine the left identifier to be displayed when it is determined that the identifier length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal.
[0100] The recognition module 20 is used to recognize the characters to be controlled in the left identifier to be displayed.
[0101] The control module 30 is used to control the left identifier of the display according to the character to be controlled, so as to obtain the target left identifier.
[0102] The sending module 40 is used to send the target left identifier to the target terminal.
[0103] In one embodiment, the target character after simplification of the character to be simplified is determined;
[0104] Replace the simplified character in the left identifier to be displayed with the target character to obtain the target left identifier.
[0105] In one embodiment, a reference character that is the same as the character to be simplified is selected from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively;
[0106] The second character corresponding to the reference character in the mapping relationship is used as the target character after simplification of the character to be simplified.
[0107] In one embodiment, the characters to be truncated in the left identifier to be displayed are truncated to obtain the target left identifier.
[0108] In one embodiment, if the identifier length is greater than a length threshold, the character to be controlled in the left identifier to be displayed is identified.
[0109] In one embodiment, a left identifier adjustment request is received from a target terminal, wherein the left identifier adjustment request is sent by the target terminal when it determines that the identifier length exceeds the displayable identifier length;
[0110] Based on the request to control the left sign, it is determined that the length of the left sign to be displayed exceeds the length of the sign that can be displayed.
[0111] The aforementioned left identifier adjustment device determines the left identifier to be displayed when the identifier length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal. It then identifies the character to be adjusted within the left identifier; adjusts the left identifier according to the character to be adjusted to obtain the target left identifier; and finally sends the target left identifier to the target terminal. As can be seen from the above, this application, during the left identifier adjustment process, pre-identifies the character to be adjusted within the left identifier to be displayed, and then adjusts the character to achieve the transformation from the left identifier to the target left identifier. This ensures that the target left identifier conforms to the displayable identifier length of the target terminal, guaranteeing that the target terminal can smoothly display the character to be adjusted. It achieves dynamic adjustment of the terminal's left identifier length to accurately adapt to different terminal types without relying on external control, ensuring that users can more intuitively and effectively obtain the left identifier corresponding to the target terminal.
[0112] Each module in the aforementioned left-side indicator control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0113] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a left-hand tag control method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0114] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0115] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0116] If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, then the left identifier to be displayed is determined.
[0117] Identify the characters to be controlled in the left identifier to be displayed;
[0118] Based on the character to be controlled, the left identifier of the display is adjusted to obtain the target left identifier;
[0119] Send the target left identifier to the target terminal.
[0120] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0121] Determine the target character after simplification of the character to be simplified;
[0122] Replace the simplified character in the left identifier to be displayed with the target character to obtain the target left identifier.
[0123] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0124] Select a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively;
[0125] The second character corresponding to the reference character in the mapping relationship is used as the target character after simplification of the character to be simplified.
[0126] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0127] The characters to be truncated in the left identifier to be displayed are truncated to obtain the target left identifier.
[0128] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0129] If the length of the identifier is greater than the length threshold, identify the character to be controlled in the left identifier to be displayed.
[0130] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0131] Receive a left identifier adjustment request sent by the target terminal, wherein the left identifier adjustment request is sent by the target terminal when it determines that the identifier length exceeds the displayable identifier length;
[0132] Based on the request to control the left sign, it is determined that the length of the left sign to be displayed exceeds the length of the sign that can be displayed.
[0133] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0134] If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, then the left identifier to be displayed is determined.
[0135] Identify the characters to be controlled in the left identifier to be displayed;
[0136] Based on the character to be controlled, the left identifier of the display is adjusted to obtain the target left identifier;
[0137] Send the target left identifier to the target terminal.
[0138] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0139] Determine the target character after simplification of the character to be simplified;
[0140] Replace the simplified character in the left identifier to be displayed with the target character to obtain the target left identifier.
[0141] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0142] Select a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively;
[0143] The second character corresponding to the reference character in the mapping relationship is used as the target character after simplification of the character to be simplified.
[0144] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0145] The characters to be truncated in the left identifier to be displayed are truncated to obtain the target left identifier.
[0146] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0147] If the length of the identifier is greater than the length threshold, identify the character to be controlled in the left identifier to be displayed.
[0148] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0149] Receive a left identifier adjustment request sent by the target terminal, wherein the left identifier adjustment request is sent by the target terminal when it determines that the identifier length exceeds the displayable identifier length;
[0150] Based on the request to control the left sign, it is determined that the length of the left sign to be displayed exceeds the length of the sign that can be displayed.
[0151] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0152] If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, then the left identifier to be displayed is determined.
[0153] Identify the characters to be controlled in the left identifier to be displayed;
[0154] Based on the character to be controlled, the left identifier of the display is adjusted to obtain the target left identifier;
[0155] Send the target left identifier to the target terminal.
[0156] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0157] Determine the target character after simplification of the character to be simplified;
[0158] Replace the simplified character in the left identifier to be displayed with the target character to obtain the target left identifier.
[0159] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0160] Select a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively;
[0161] The second character corresponding to the reference character in the mapping relationship is used as the target character after simplification of the character to be simplified.
[0162] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0163] The characters to be truncated in the left identifier to be displayed are truncated to obtain the target left identifier.
[0164] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0165] If the length of the identifier is greater than the length threshold, identify the character to be controlled in the left identifier to be displayed.
[0166] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0167] Receive a left identifier adjustment request sent by the target terminal, wherein the left identifier adjustment request is sent by the target terminal when it determines that the identifier length exceeds the displayable identifier length;
[0168] Based on the request to control the left sign, it is determined that the length of the left sign to be displayed exceeds the length of the sign that can be displayed.
[0169] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0170] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0171] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0172] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A left identifier control method, characterized in that, The method, applied to the policy control function (PCF) network element, includes: If it is determined that the length of the left identifier to be displayed on the target terminal exceeds the length of the displayable identifier on the target terminal, the left identifier to be displayed is determined. Identify the character to be controlled in the left identifier to be displayed; The left identifier to be displayed is adjusted according to the character to be adjusted to obtain the target left identifier; The target left identifier is sent to the target terminal.
2. The method according to claim 1, characterized in that, The character to be adjusted includes a character to be simplified. The step of adjusting the left identifier to be displayed based on the character to be adjusted to obtain the target left identifier includes: Determine the target character after simplification of the character to be simplified; The target left identifier is obtained by replacing the simplified character in the left identifier to be displayed with the target character.
3. The method according to claim 2, characterized in that, Determining the target character after simplification of the character to be simplified includes: Select a reference character that is the same as the character to be simplified from at least one first character contained in the mapping relationship, wherein the mapping relationship records different simplified second characters corresponding to at least one first character respectively; The second character corresponding to the reference character in the mapping relationship is used as the target character after simplification of the character to be simplified.
4. The method according to claim 1, characterized in that, The character to be adjusted includes a character to be truncated. The step of adjusting the left identifier to be displayed based on the character to be adjusted to obtain the target left identifier further includes: The characters to be truncated in the left identifier to be displayed are truncated to obtain the target left identifier.
5. The method according to any one of claims 1-4, characterized in that, The process of identifying the character to be controlled in the left identifier to be displayed includes: If the length of the identifier is greater than the length threshold, the character to be controlled in the left identifier to be displayed is identified.
6. The method according to any one of claims 1-4, characterized in that, The determination that the length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal includes: Receive a left-alignment adjustment request sent by the target terminal, wherein the left-alignment adjustment request is sent by the target terminal when it determines that the length of the indicator exceeds the length of the displayable indicator; Based on the requested adjustment of the left identifier, it is determined that the identifier length of the left identifier to be displayed exceeds the displayable identifier length.
7. A left indicator control device, characterized in that, Configured in a PCF network element, the device includes: The acquisition module is used to determine the left identifier to be displayed when it is determined that the identifier length of the left identifier to be displayed on the target terminal exceeds the displayable identifier length of the target terminal; The recognition module is used to recognize the character to be controlled in the left identifier to be displayed; The control module is used to control the left identifier to be displayed according to the character to be controlled, so as to obtain the target left identifier; The sending module is used to send the target left identifier to the target terminal.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.