WO2024007809A1 - 一种应用产品提示信息的输出方法和装置 - Google Patents

一种应用产品提示信息的输出方法和装置 Download PDF

Info

Publication number
WO2024007809A1
WO2024007809A1 PCT/CN2023/099032 CN2023099032W WO2024007809A1 WO 2024007809 A1 WO2024007809 A1 WO 2024007809A1 CN 2023099032 W CN2023099032 W CN 2023099032W WO 2024007809 A1 WO2024007809 A1 WO 2024007809A1
Authority
WO
WIPO (PCT)
Prior art keywords
prompt information
application product
configuration file
language
application
Prior art date
Application number
PCT/CN2023/099032
Other languages
English (en)
French (fr)
Inventor
燕娜
Original Assignee
上海妙一生物科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海妙一生物科技有限公司 filed Critical 上海妙一生物科技有限公司
Publication of WO2024007809A1 publication Critical patent/WO2024007809A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Definitions

  • the present invention relates to the field of computer technology, and in particular to a method, device, computer equipment and computer-readable storage medium for outputting application product prompt information.
  • the purpose of this application is to provide a method, device, computer equipment and computer-readable storage medium for outputting application product prompt information in order to at least solve the problem in related technologies that application products cannot return different messages according to different language systems.
  • Language prompt information issue is to provide a method, device, computer equipment and computer-readable storage medium for outputting application product prompt information in order to at least solve the problem in related technologies that application products cannot return different messages according to different language systems.
  • embodiments of the present application provide a method for outputting application product prompt information, including:
  • the prompt information configuration file includes: identification information of the application product, prompt information of the application product, and the prompt information of the application product includes: prompt information in at least one language, each The prompt information in each language corresponds to a language identifier;
  • the prompt information of each language includes: prompt information of at least one service, and the prompt information of each service corresponds to a service identifier, wherein the obtaining and outputting the prompt information corresponding to the system language
  • the prompt information corresponding to the language identifier includes:
  • the method before obtaining the prompt information configuration file of the application product, the method further includes:
  • the terminal device where the application product is located performs system loading of the prompt information configuration file
  • Modify the configuration file of the application product wherein the modified configuration file of the application product is used to indicate that the prompt information configuration file is allowed to be loaded when the application product is started.
  • At least one of the following is also included:
  • the prompt information enumeration file is generated, wherein the prompt information enumeration file includes multiple enumeration classes, and each of the enumeration classes is used to display different application products.
  • the code of the business type prompt information is generated, wherein the prompt information enumeration file includes multiple enumeration classes, and each of the enumeration classes is used to display different application products.
  • obtaining the prompt information configuration file of the application product includes:
  • embodiments of the present application provide an output device for application product prompt information, including:
  • the first obtaining unit is used to obtain the prompt information configuration file of the application product, wherein the prompt information configuration file includes: the identification information of the application product, the prompt information of the application product, and the prompt information of the application product includes: at least one Prompt information in each language, each language prompt information corresponds to a language identifier;
  • the second acquisition unit is used to acquire the system language
  • An output unit is used to obtain and output prompt information corresponding to the language identifier corresponding to the system language.
  • the prompt information of each language includes: prompt information of at least one service, and the prompt information of each service corresponds to a service identifier, wherein the output unit includes:
  • the first acquisition module is used to acquire the business type in the application product
  • the second acquisition module is used to acquire and output the information corresponding to the language identifier corresponding to the system language and the business type. Prompt information corresponding to the business ID.
  • the device further includes:
  • the first generation unit is configured to add application product data, application product prompt information data, and association between application product data and application product prompt information data in the page operation prompt information management system before obtaining the application product prompt information configuration file. Relational data to generate the prompt information configuration file;
  • An export unit configured to export the prompt information configuration file from the page operation prompt information management system
  • a loading unit used for the terminal device where the application product is located to system load the prompt information configuration file
  • a changing unit configured to change the configuration file of the application product, wherein the modified configuration file of the application product is used to indicate that the prompt information configuration file is allowed to be loaded when the application product is started.
  • embodiments of the present application provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program Implementation is as above first.
  • embodiments of the present application provide a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method for outputting application product prompt information as described in the first aspect is implemented.
  • the application product prompt information output method obtains the prompt information configuration file of the application product, wherein the prompt information configuration file includes: application The identification information of the product and the prompt information of the application product.
  • the prompt information of the application product includes: prompt information in at least one language, and each language prompt information corresponds to a language identifier; obtain the system language; and then obtain and output the said
  • the prompt information corresponding to the language identifier corresponding to the system language solves the problem in related technologies that application products cannot return prompt information in different languages according to different language systems, and achieves the purpose of returning prompt information in different languages according to different language systems, thereby improving improve user experience.
  • Figure 1 is a structural block diagram of a mobile terminal according to an embodiment of the present application.
  • Figure 2 is a flow chart of a method for outputting application product prompt information according to an embodiment of the present application
  • Figure 3 is a schematic diagram of the process of returning prompt information according to an embodiment of the present application.
  • Figure 4 is a structural block diagram of an output device for application product prompt information according to an embodiment of the present application
  • Figure 5 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present application.
  • an embodiment means that a particular feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the application.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
  • Words such as “connected”, “connected”, “coupled” and the like mentioned in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
  • the "plurality” mentioned in this application refers to two or more than two.
  • “And/or” describes the relationship between related objects, indicating that three relationships can exist. For example, “A and/or B” can mean: A alone exists, A and B exist simultaneously, and B exists alone.
  • the character “/” generally indicates that the related objects are in an “or” relationship.
  • the terms “first”, “second”, “third”, etc. used in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
  • FIG. 1 is a structural block diagram of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal includes: a radio frequency (Radio Frequency, RF for short) circuit 110, a memory 120, an input unit 130, a display The display unit 140, the sensor 150, the audio circuit 160, the wireless fidelity (WiFi) module 170, the processor 180, the power supply 190 and other components.
  • RF Radio Frequency
  • the structure of the mobile terminal shown in Figure 1 does not constitute a limitation on the mobile terminal, and may include more or fewer components than shown, or combine certain components, or arrange different components.
  • the RF circuit 110 can be used to receive and transmit information or signals during a call. In particular, after receiving downlink information from the base station, it is processed by the processor 180; in addition, the designed uplink data is sent to the base station.
  • RF circuits include, but are not limited to, antennas, at least one amplifier, transceiver, coupler, low noise amplifier (LNA), duplexer, etc. Additionally, RF circuitry 110 may communicate with networks and other devices through wireless communications.
  • the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), code division multiple Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (abbreviated as SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 120 can be used to store software programs and modules.
  • the processor 180 executes various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory 120 .
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store a program according to Data created by the use of mobile terminals (such as audio data, phone books, etc.), etc.
  • the memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • the input unit 130 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile terminal.
  • the input unit 130 may include a touch panel 131 and other input devices 132 .
  • the touch panel 131 also known as a touch screen, can collect the user's touch operations on or near the touch panel 131 (for example, the user uses a finger, stylus, or any suitable object or accessory on or near the touch panel 131 operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller. to the processor 180, and can receive commands sent by the processor 180 and execute them.
  • the touch panel 131 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 130 may also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, etc.
  • the display unit 140 may be used to display information input by the user or information provided to the user and various menus of the mobile terminal.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of a Liquid Crystal Display (Liquid Crystal Display, LCD for short), Organic Light-Emitting Diode (OLED for short), etc.
  • the touch panel 131 can cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it is sent to the processor 180 to determine the type of the touch event. The processor 180 then determines the type of the touch event. Type provides corresponding visual output on display panel 141.
  • the touch panel 131 and the display panel 141 are used as two independent components to implement the input and input functions of the mobile terminal, in some embodiments, the touch panel 131 and the display panel 141 can be integrated. And realize the input and output functions of the mobile terminal.
  • the mobile terminal may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light.
  • the proximity sensor may close the display panel 141 when the mobile terminal moves to the ear. /or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes).
  • It can detect the magnitude and direction of gravity when stationary, and can be used to identify applications such as mobile terminal posture (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, knock), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. that can be configured on the mobile terminal, here No longer.
  • mobile terminal posture such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, knock
  • sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. that can be configured on the mobile terminal, here No longer.
  • the speaker 161 and the microphone 162 in the audio circuit 160 can provide an audio interface between the user and the mobile terminal.
  • the audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, and the speaker 161 converts it into a sound signal for output; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the audio circuit 160 After being received, it is converted into audio data, and then processed by the audio data output processor 180, and then sent to, for example, another mobile terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • WiFi is a short-distance wireless transmission technology.
  • the mobile terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access.
  • FIG. 1 shows the WiFi module 170, it can be understood that it is not a necessary component of the mobile terminal and can be omitted or replaced with other short-range wireless modules as needed without changing the essence of the invention.
  • Transmission module such as Zigbee module, or WAPI module, etc.
  • the processor 180 is the control center of the mobile terminal, using various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120 , execute various functions of the mobile terminal and process data, thereby overall monitoring the mobile terminal.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180 .
  • the mobile terminal also includes a power supply 190 (such as a battery) that supplies power to various components.
  • a power supply 190 such as a battery
  • the power supply can be logically connected to the processor 180 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system.
  • the mobile terminal may also include a camera, a Bluetooth module, etc., which will not be described again here.
  • the processor 180 is configured to:
  • the prompt information configuration file includes: identification information of the application product, prompt information of the application product, and the prompt information of the application product includes: prompt information in at least one language, each The prompt information in each language corresponds to a language identifier;
  • processor 180 is further configured to:
  • processor 180 is further configured to:
  • the terminal device where the application product is located performs system loading of the prompt information configuration file
  • Modify the configuration file of the application product wherein the modified configuration file of the application product is used to indicate that the prompt information configuration file is allowed to be loaded when the application product is started.
  • processor 180 is further configured to:
  • the prompt information enumeration file is generated, wherein the prompt information enumeration file includes multiple enumeration classes, and each of the enumeration classes is used to display different application products.
  • the code of the business type prompt information is generated, wherein the prompt information enumeration file includes multiple enumeration classes, and each of the enumeration classes is used to display different application products.
  • the processor 180 is further configured to convert the prompt information configuration file into an object.
  • FIG. 2 is a flow chart of a method for outputting application product prompt information according to an embodiment of the present application. As shown in Figure 2, the process includes the following steps:
  • Step S201 Obtain the prompt information configuration file of the application product.
  • the prompt information configuration file includes: the identification information of the application product and the prompt information of the application product.
  • the prompt information of the application product includes: prompts in at least one language. Information, each language prompt information corresponds to a language identifier;
  • Step S202 obtain the system language
  • Step S203 Obtain and output prompt information corresponding to the language identifier corresponding to the system language.
  • the prompt information of each language includes: prompt information of at least one service, and the prompt information of each service corresponds to a service identifier, wherein the obtaining and outputting the prompt information corresponding to the system language
  • the prompt information corresponding to the language identifier includes:
  • the method before obtaining the prompt information configuration file of the application product, the method further includes:
  • the terminal device where the application product is located performs system loading of the prompt information configuration file
  • Modify the configuration file of the application product wherein the modified configuration file of the application product is used to indicate that the prompt information configuration file is allowed to be loaded when the application product is started.
  • the method further includes at least one of the following:
  • the prompt information enumeration file is generated, wherein the prompt information enumeration file
  • the file includes multiple enumeration classes, each of which is used to display code for prompt information of different business types of the application product.
  • obtaining the prompt information configuration file of the application product includes:
  • application product refers to a project system
  • application product prompt information refers to various prompt information returned to the page display in the project system
  • one application product can correspond to multiple prompt information.
  • An application product can correspond to prompt information of multiple business types, and the prompt information of each business can correspond to a business identifier.
  • An application product can correspond to prompt information in multiple languages, and each language prompt information can correspond to a language identifier.
  • the prompt information of application products is managed through the page operation prompt information management system, and the prompt information of different business types and different languages of different application products can be configured through the page operation prompt information management system.
  • the terminal device can load the prompt information configuration file into the system, and then change the configuration file of the application product so that the prompt information configuration file can be loaded when the application product starts, so as to facilitate the operation of the application product.
  • you can obtain the corresponding prompt information in the prompt information configuration file.
  • the embodiment of this application splits the process of directly returning prompt information, which specifically includes: page application product prompt information operation process, system configuration process, and tool process for obtaining prompt information. in:
  • the page application product prompt information operation process includes: adding application product data; adding application product prompt information data; querying and modifying application product data and/or application product prompt information data; disabling prompt information; generating prompt information configuration files; generating prompt information enumeration Lift the file.
  • the system configuration process includes: adding application product prompt information configuration files and modifying related configurations.
  • the prompt information configuration file is placed in nacos and can be changed at any time to take effect without redeploying the project. Changing the relevant configuration means modifying the configuration file of the calling application product. Because a prompt information configuration file is newly added, the configuration file of the calling application product must add whether to start the prompt information configuration file. In order to control whether the application product is loaded after startup Prompt information configuration file.
  • the purpose of the system configuration process is to change the prompt information without coding and deployment. When the application product starts, the prompt information configuration file will be loaded. After the startup is successful, the configuration information can be obtained.
  • Tool flow for obtaining prompt information When the project starts, the system loads the prompt information configuration file, finds the corresponding prompt information configuration file according to the application name, converts the content of the configuration file into a prompt information object, and then queries the application prompt information to obtain the system language. Finally, a tool class is provided to return corresponding prompt information according to the system language.
  • Querying application prompt information means that each application product can call the tool class to query application prompt information.
  • This prompt information is the configuration file data loaded when the project is started.
  • the configuration file content is converted into a prompt information object because the configuration file stores a string of characters. These strings must be converted into objects in the program, which is beneficial to obtaining data in the program.
  • the tool class is provided to facilitate each application product to obtain prompt information, rather than a single application product. All application products only need to import the tool class package to query the application product prompt information.
  • the embodiment of this application adds page operation prompt information, allowing flexible configuration of data. Generate the configuration file and automatically update the prompt information without publishing it.
  • the prompt information data will be loaded and the prompt information tool class will be generated.
  • the storage of application product prompt information data will be defined in the form of code and message collections.
  • the enumeration class of the application product can be generated to display different types of prompt information codes for each application product.
  • the enumeration Use the class code and system language to call the tool class to obtain the corresponding prompt information.
  • the embodiment of this application can realize changing the copy of the prompt information returned by the application product, and only needs to modify the relevant configuration without publishing; it can realize the flexible configuration of the prompt information of the application product; it can realize the configuration of prompt information in multiple languages, according to different language systems Return prompt information in different languages.
  • This embodiment provides an output device for application product prompt information.
  • the device is used to implement the above embodiments and preferred implementations. What has already been explained will not be described again.
  • the terms “module”, “unit”, “sub-unit”, etc. may be a combination of software and/or hardware that implements a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG 4 is a structural block diagram of an output device for application product prompt information according to an embodiment of the present application. As shown in Figure 4, the device includes:
  • the first obtaining unit 41 is used to obtain the prompt information configuration file of the application product, wherein the prompt information configuration file includes: the identification information of the application product, the prompt information of the application product, and the prompt information of the application product includes: at least Prompt information in one language, each language prompt information corresponds to a language identifier;
  • the second acquisition unit 42 is used to acquire the system language
  • the output unit 43 is used to obtain and output the prompt information corresponding to the language identifier corresponding to the system language.
  • the prompt information of each language includes: prompt information of at least one service, and the prompt information of each service corresponds to a service identifier, wherein the output unit 43 includes:
  • the first acquisition module is used to acquire the business type in the application product
  • the second acquisition module is used to acquire and output prompt information corresponding to the language identifier corresponding to the system language and the service identifier corresponding to the service type.
  • the device further includes:
  • the first generation unit is configured to add application product data, application product prompt information data, and the relationship between the application product data and the application product prompt information data in the page operation prompt information management system before obtaining the application product prompt information configuration file. Associating relational data to generate the prompt information configuration file;
  • An export unit configured to export the prompt information configuration file from the page operation prompt information management system
  • a loading unit used for the terminal device where the application product is located to system load the prompt information configuration file
  • a changing unit configured to change the configuration file of the application product, wherein the modified configuration file of the application product is used to indicate that the prompt information configuration file is allowed to be loaded when the application product is started.
  • the device further includes at least one of the following:
  • a query unit configured to query the application product data and/or the application product prompt information data in the page operation prompt information management system
  • a modification unit configured to modify the application product data and/or the application product prompt information data in the page operation prompt information management system
  • a disabling unit configured to disable the application product prompt information data in the page operation prompt information management system
  • the second generation unit is configured to generate the prompt information enumeration file in the page operation prompt information management system, wherein the prompt information enumeration file includes a plurality of enumeration classes, each of the enumeration classes This class is used to display the code for prompt information of different business types of application products.
  • the first acquisition unit 41 includes:
  • a conversion module used to convert the prompt information configuration file into an object.
  • each of the above modules can be a functional module or a program module, and can be implemented by software or hardware.
  • each of the above-mentioned modules can be located in the same processor; or each of the above-mentioned modules can also be located in different processors in any combination.
  • Embodiments provide a computer device.
  • the method for outputting application product prompt information in conjunction with the embodiments of the present application can be implemented by a computer device.
  • Figure 5 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present application.
  • the computer device may include a processor 51 and a memory 52 storing computer program instructions.
  • the above-mentioned processor 51 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits according to the embodiments of the present application.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • memory 52 may include mass storage for data or instructions.
  • the memory 52 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial drive. Universal Serial Bus (USB) driver or a combination of two or more of these.
  • Memory 52 may include removable or non-removable (or fixed) media, where appropriate. Where appropriate, memory 52 may be internal or external to the data processing device. In certain embodiments, memory 52 is Non-Volatile memory.
  • memory 52 includes read-only memory (Read-Only Memory, referred to as ROM) and random access memory (Random Access Memory, referred to as RAM).
  • ROM read-only memory
  • RAM Random Access Memory
  • the ROM can be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, referred to as PROM), an erasable PROM (Erasable Programmable Read-Only Memory, referred to as EPROM), or an electrically removable ROM.
  • Erase PROM Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM
  • electrically rewritable ROM Electrically Alterable Read-Only Memory, referred to as EAROM
  • flash memory FLASH or a combination of two or more of these.
  • the RAM can be static random access memory (Static Random-Access Memory, referred to as SRAM) or dynamic random access memory (Dynamic Random Access Memory, referred to as DRAM), wherein the DRAM can be a fast page Fast Page Mode Dynamic Random Access Memory (FPMDRAM for short), Extended Date Out Dynamic Random Access Memory (EDODRAM for short), Synchronous Dynamic Random Access Memory (Synchronous Dynamic Random-Access Memory (SDRAM for short), etc.
  • SRAM static random access memory
  • DRAM Dynamic Random Access Memory
  • FPMDRAM fast page Fast Page Mode Dynamic Random Access Memory
  • EDODRAM Extended Date Out Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • the memory 52 may be used to store or cache various data files required for processing and/or communication, as well as possible computer program instructions executed by the processor 51 .
  • the processor 51 reads and executes the computer program instructions stored in the memory 52 to implement any one of the application product prompt information output methods in the above embodiments.
  • the computer device may also include a communication interface 53 and a bus 50 .
  • the processor 51, the memory 52, and the communication interface 53 are connected through the bus 50 and complete communication with each other.
  • the communication interface 53 is used to implement communication between modules, devices, units and/or equipment in the embodiments of the present application.
  • the communication interface 53 can also implement data communication with other components such as: external devices, image/data acquisition equipment, databases, external storage, image/data processing workstations, etc.
  • Bus 50 includes hardware, software, or both, coupling components of the computer equipment to one another.
  • the bus 50 includes, but is not limited to, at least one of the following: Data Bus, Address Bus, Control Bus, Expansion Bus, and Local Bus.
  • the bus 50 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, or a Front Side Bus.
  • AGP Accelerated Graphics Port
  • EISA Extended Industry Standard Architecture
  • bus 50 may include one or more buses. Although the embodiments of this application describe and illustrate a specific bus, this application contemplates any suitable bus or interconnection.
  • embodiments of the present application may provide a computer-readable storage medium for implementation.
  • Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by the processor, the method for outputting application product prompt information in any of the above embodiments is implemented.

Abstract

本发明涉及一种应用产品提示信息的输出方法和装置,其中,该方法包括:获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;获取系统语言;获取并输出所述系统语言对应的语言标识所对应的提示信息。通过本申请,解决了应用产品不能根据不同语言系统返回不同语言的提示信息的问题,实现了根据不同语言系统返回不同语言的提示信息的效果。

Description

一种应用产品提示信息的输出方法和装置 技术领域
本发明涉及计算机技术领域,尤其涉及一种应用产品提示信息的输出方法、装置、计算机设备和计算机可读存储介质。
背景技术
在临床研究领域,所有全场景应用产品根据业务直接返回对应的提示信息,所有应用产品只能返回指定语音的提示信息,不能根据不同语言系统返回不同语言的提示信息。而且应用产品的提示信息文案更改需要编码、发布的繁琐流程,不能灵活配置各个应用产品的提示信息。
目前,针对相关技术中应用产品不能根据不同语言系统返回不同语言的提示信息的问题,尚未提出有效的解决方案。
发明内容
本申请的目的是针对现有技术中的不足,提供一种应用产品提示信息的输出方法、装置、计算机设备和计算机可读存储介质,以至少解决相关技术中应用产品不能根据不同语言系统返回不同语言的提示信息的问题。
为实现上述目的,本申请采取的技术方案是:
第一方面,本申请实施例提供了一种应用产品提示信息的输出方法,包括:
获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
获取系统语言;
获取并输出所述系统语言对应的语言标识所对应的提示信息。
在其中一些实施例中,所述每种语言的提示信息包括:至少一种业务的提示信息,每种业务的提示信息对应有一个业务标识,其中,所述获取并输出所述系统语言对应的语言标识所对应的提示信息包括:
获取所述应用产品中的业务类型;
获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的业务标识所对应的提示信息。
在其中一些实施例中,在所述获取应用产品的提示信息配置文件之前,还包括:
在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关联关系数据,生成所述提示信息配置文件;
从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
在其中一些实施例中,还包括以下至少之一:
在所述页面操作提示信息管理系统中,查询所述应用产品数据和/或所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,修改所述应用产品数据和/或所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,禁用所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,生成所述提示信息枚举文件,其中,所述提示信息枚举文件中包括多个枚举类,每个所述枚举类用于展示应用产品不同业务类型的提示信息的代码。
在其中一些实施例中,所述获取应用产品的提示信息配置文件,包括:
将所述提示信息配置文件转换为对象。
第二方面,本申请实施例提供了一种应用产品提示信息的输出装置,包括:
第一获取单元,用于获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
第二获取单元,用于获取系统语言;
输出单元,用于获取并输出所述系统语言对应的语言标识所对应的提示信息。
在其中一些实施例中,所述每种语言的提示信息包括:至少一种业务的提示信息,每种业务的提示信息对应有一个业务标识,其中,所述输出单元包括:
第一获取模块,用于获取所述应用产品中的业务类型;
第二获取模块,用于获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的 业务标识所对应的提示信息。
在其中一些实施例中,所述装置还包括:
第一生成单元,用于在所述获取应用产品的提示信息配置文件之前,在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关联关系数据,生成所述提示信息配置文件;
导出单元,用于从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
加载单元,用于所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
更改单元,用于更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
第三方面,本申请实施例提供了一种计算机设备,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一。方面所述的应用产品提示信息的输出方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述第一方面所述的应用产品提示信息的输出方法。
本申请采用以上技术方案,与现有技术相比,本申请实施例提供的应用产品提示信息的输出方法,通过获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;获取系统语言;然后获取并输出所述系统语言对应的语言标识所对应的提示信息,解决了相关技术中应用产品不能根据不同语言系统返回不同语言的提示信息的问题,实现了根据不同语言系统返回不同语言的提示信息的目的,进而提升了用户使用体验。
本申请的一个或多个实施例的细节在以下附图和描述中提出,以使本申请的其他特征、目的和优点更加简明易懂。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例的移动终端的结构框图;
图2是根据本申请实施例的应用产品提示信息的输出方法的流程图;
图3是根据本申请实施例的返回提示信息流程的示意图;
图4是根据本申请实施例的应用产品提示信息的输出装置的结构框图;
图5为根据本申请实施例的计算机设备的硬件结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行描述和说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。基于本申请提供的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其他类似情景。此外,还可以理解的是,虽然这种开发过程中所作出的努力可能是复杂并且冗长的,然而对于与本申请公开的内容相关的本领域的普通技术人员而言,在本申请揭露的技术内容的基础上进行的一些设计,制造或者生产等变更只是常规的技术手段,不应当理解为本申请公开的内容不充分。
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域普通技术人员显式地和隐式地理解的是,本申请所描述的实施例在不冲突的情况下,可以与其它实施例相结合。
除非另作定义,本申请所涉及的技术术语或者科学术语应当为本申请所属技术领域内具有一般技能的人士所理解的通常意义。本申请所涉及的“一”、“一个”、“一种”、“该”等类似词语并不表示数量限制,可表示单数或复数。本申请所涉及的术语“包括”、“包含”、“具有”以及它们任何变形,意图在于覆盖不排他的包含;例如包含了一系列步骤或模块(单元)的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可以还包括没有列出的步骤或单元,或可以还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。本申请所涉及的“连接”、“相连”、“耦接”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电气的连接,不管是直接的还是间接的。本申请所涉及的“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。本申请所涉及的术语“第一”、“第二”、“第三”等仅仅是区别类似的对象,不代表针对对象的特定排序。
本实施例提供了一种移动终端。图1是根据本申请实施例的移动终端的结构框图。如图1所示,该移动终端包括:射频(Radio Frequency,简称为RF)电路110、存储器120、输入单元130、显 示单元140、传感器150、音频电路160、无线保真(wireless fidelity,简称为WiFi)模块170、处理器180、以及电源190等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图1对移动终端的各个构成部件进行具体的介绍:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,简称为LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,简称为GSM)、通用分组无线服务(General Packet Radio Service,简称为GPRS)、码分多址(Code Division Multiple Access,简称为CDMA)、宽带码分多址(Wideband Code Division Multiple Access,简称为WCDMA)、长期演进(Long Term Evolution,简称为LTE)、电子邮件、短消息服务(Short Messaging Service,简称为SMS)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行移动终端的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元130可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触控面板131以及其他输入设备132。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板131。除了触控面板131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种菜单。显示单元140可包括显示面板141,可选的,可以采用液晶显示器(Liquid Crystal Display,简称为LCD)、有机发光二极管(Organic Light-Emitting Diode,简称为OLED)等形式来配置显示面板141。进一步的,触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图1中,触控面板131与显示面板141是作为两个独立的部件来实现移动终端的输入和输入功能,但是在某些实施例中,可以将触控面板131与显示面板141集成而实现移动终端的输入和输出功能。
移动终端还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于移动终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160中的扬声器161,传声器162可提供用户与移动终端之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一移动终端,或者将音频数据输出至存储器120以便进一步处理。
WiFi属于短距离无线传输技术,移动终端通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块170,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略,或者替换为其他的短距离无线传输模块,例如Zigbee模块、或者WAPI模块等。
处理器180是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
移动终端还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。
在本实施例中,处理器180被配置为:
获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
获取系统语言;
获取并输出所述系统语言对应的语言标识所对应的提示信息。
在其中一些实施例中,处理器180还被配置为:
获取所述应用产品中的业务类型;
获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的业务标识所对应的提示信息。
在其中一些实施例中,处理器180还被配置为:
在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关联关系数据,生成所述提示信息配置文件;
从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
在其中一些实施例中,处理器180还被配置为:
在所述页面操作提示信息管理系统中,查询所述应用产品数据和/或所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,修改所述应用产品数据和/或所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,禁用所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,生成所述提示信息枚举文件,其中,所述提示信息枚举文件中包括多个枚举类,每个所述枚举类用于展示应用产品不同业务类型的提示信息的代码。
在其中一些实施例中,处理器180还被配置为:将所述提示信息配置文件转换为对象。
本实施例提供了一种应用产品提示信息的输出方法。图2是根据本申请实施例的应用产品提示信息的输出方法的流程图,如图2所示,该流程包括如下步骤:
步骤S201,获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
步骤S202,获取系统语言;
步骤S203,获取并输出所述系统语言对应的语言标识所对应的提示信息。
通过上述步骤,解决了相关技术中应用产品不能根据不同语言系统返回不同语言的提示信息的问题,实现了根据不同语言系统返回不同语言的提示信息的目的,进而提升了用户使用体验。
在其中一些实施例中,所述每种语言的提示信息包括:至少一种业务的提示信息,每种业务的提示信息对应有一个业务标识,其中,所述获取并输出所述系统语言对应的语言标识所对应的提示信息包括:
获取所述应用产品中的业务类型;
获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的业务标识所对应的提示信息。
在其中一些实施例中,在所述获取应用产品的提示信息配置文件之前,还包括:
在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关联关系数据,生成所述提示信息配置文件;
从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
在其中一些实施例中,所述方法还包括以下至少之一:
在所述页面操作提示信息管理系统中,查询所述应用产品数据和/或所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,修改所述应用产品数据和/或所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,禁用所述应用产品提示信息数据;
在所述页面操作提示信息管理系统中,生成所述提示信息枚举文件,其中,所述提示信息枚举 文件中包括多个枚举类,每个所述枚举类用于展示应用产品不同业务类型的提示信息的代码。
在其中一些实施例中,所述获取应用产品的提示信息配置文件,包括:
将所述提示信息配置文件转换为对象。
本申请实施例中,应用产品是指一个项目系统;应用产品提示信息是指项目系统中返回给页面展示的各种提示信息;一个应用产品可以对应多个提示信息。一个应用产品可以对应多种业务类型的提示信息,每种业务的提示信息可以对应有一个业务标识。一个应用产品可以对应多种语言的提示信息,每种语言的提示信息可以对应有一个语言标识。
本申请实施例中,通过页面操作提示信息管理系统对应用产品的提示信息进行管理,通过页面操作提示信息管理系统可以实现对不同应用产品的不同业务类型、不同语言的提示信息进行配置。将配置好的提示信息配置文件导出之后,终端设备可以对提示信息配置文件进行系统加载,然后通过更改应用产品的配置文件,使得应用产品启动时可以加载该提示信息配置文件,以便于应用产品运行过程中可以获取提示信息配置文件中对应的提示信息。
如图3所示,本申请实施例对直接返回提示信息进行了流程拆分,具体包括:页面应用产品提示信息操作流程、系统配置流程、获取提示信息的工具类流程。其中:
页面应用产品提示信息操作流程包括:添加应用产品数据;添加应用产品提示信息数据;查询、修改应用产品数据和/或应用产品提示信息数据;禁用提示信息;生成提示信息配置文件;生成提示信息枚举文件。
系统配置流程包括:添加应用产品提示信息配置文件、修改相关配置。提示信息配置文件是放在nacos的,可以随时更改后生效,不用重新部署项目。更改相关配置是指修改调用方应用产品的配置文件,因为新增加了提示信息配置文件,那调用方应用产品的配置文件就要添加是否启动该提示信息配置文件,为了控制应用产品启动后是否加载提示信息配置文件。系统配置流程的目的就是实现无需编码和部署就可以更改提示信息,应用产品启动时会加载提示信息配置文件,启动成功后就可以获取配置信息了。
获取提示信息的工具类流程:项目启动时,系统加载提示信息配置文件,根据应用名找到对应的提示信息配置文件,将配置文件内容转换成提示信息对象,然后查询应用提示信息,获取系统语言,最后提供工具类根据系统语言返回对应的提示信息。查询应用提示信息就是各自应用产品可以调用工具类查询应用提示信息,这个提示信息是项目启动时加载的配置文件数据。将配置文件内容转换成提示信息对象是因为配置文件中保存的是一串字符,在程序中就要将这些字符串转换成对象,有利于程序中获取数据。提供工具类是因为方便各个应用产品获取提示信息,而不是单独一个应用产品获取。所有应用产品只需要导入工具类的包就可以查询应用产品提示信息。
本申请实施例添加了页面操作提示信息,可以灵活配置数据。生成配置文件,无需发布就会自动更新提示信息。在项目启动时就会加载提示信息数据,生成提示信息工具类。应用产品提示信息数据的保存会定义成code、message集合形式,通过提示信息管理页面可以生成应用产品的枚举类,展示每个应用产品不同类型的提示信息code,在获取提示信息的时候根据枚举类code和系统语言调用工具类获取对应的提示信息。
本申请实施例可以实现更改应用产品返回的提示信息文案只需要修改相关配置即可,无需发布;可以实现灵活配置应用产品的提示信息;可以实现多种语言的提示信息配置,根据根据不同语言系统返回不同语言的提示信息。
需要说明的是,在上述流程中或者附图的流程图中示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本实施例提供了一种应用产品提示信息的输出装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”、“单元”、“子单元”等可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图4是根据本申请实施例的应用产品提示信息的输出装置的结构框图,如图4所示,该装置包括:
第一获取单元41,用于获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
第二获取单元42,用于获取系统语言;
输出单元43,用于获取并输出所述系统语言对应的语言标识所对应的提示信息。
在其中一些实施例中,所述每种语言的提示信息包括:至少一种业务的提示信息,每种业务的提示信息对应有一个业务标识,其中,所述输出单元43包括:
第一获取模块,用于获取所述应用产品中的业务类型;
第二获取模块,用于获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的业务标识所对应的提示信息。
在其中一些实施例中,所述装置还包括:
第一生成单元,用于在所述获取应用产品的提示信息配置文件之前,在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关 联关系数据,生成所述提示信息配置文件;
导出单元,用于从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
加载单元,用于所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
更改单元,用于更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
在其中一些实施例中,所述装置还包括以下至少之一:
查询单元,用于在所述页面操作提示信息管理系统中,查询所述应用产品数据和/或所述应用产品提示信息数据;
修改单元,用于在所述页面操作提示信息管理系统中,修改所述应用产品数据和/或所述应用产品提示信息数据;
禁用单元,用于在所述页面操作提示信息管理系统中,禁用所述应用产品提示信息数据;
第二生成单元,用于在所述页面操作提示信息管理系统中,生成所述提示信息枚举文件,其中,所述提示信息枚举文件中包括多个枚举类,每个所述枚举类用于展示应用产品不同业务类型的提示信息的代码。
在其中一些实施例中,所述第一获取单元41包括:
转换模块,用于将所述提示信息配置文件转换为对象。
需要说明的是,上述各个模块可以是功能模块也可以是程序模块,既可以通过软件来实现,也可以通过硬件来实现。对于通过硬件来实现的模块而言,上述各个模块可以位于同一处理器中;或者上述各个模块还可以按照任意组合的形式分别位于不同的处理器中。
实施例提供了一种计算机设备。结合本申请实施例应用产品提示信息的输出方法可以由计算机设备来实现。图5为根据本申请实施例的计算机设备的硬件结构示意图。
计算机设备可以包括处理器51以及存储有计算机程序指令的存储器52。
具体地,上述处理器51可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。
其中,存储器52可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器52可包括硬盘驱动器(Hard Disk Drive,简称为HDD)、软盘驱动器、固态驱动器(Solid State Drive,简称为SSD)、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,简称为USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器52可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器52可在数据处理装置的内部或外部。在特定实施例中,存储器52是非易失性(Non-Volatile)存储器。在特定实施例中,存储器52包括只读存储器 (Read-Only Memory,简称为ROM)和随机存取存储器(Random Access Memory,简称为RAM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(Programmable Read-Only Memory,简称为PROM)、可擦除PROM(Erasable Programmable Read-Only Memory,简称为EPROM)、电可擦除PROM(Electrically Erasable Programmable Read-Only Memory,简称为EEPROM)、电可改写ROM(Electrically Alterable Read-Only Memory,简称为EAROM)或闪存(FLASH)或者两个或更多个以上这些的组合。在合适的情况下,该RAM可以是静态随机存取存储器(Static Random-Access Memory,简称为SRAM)或动态随机存取存储器(Dynamic Random Access Memory,简称为DRAM),其中,DRAM可以是快速页模式动态随机存取存储器(Fast Page Mode Dynamic Random Access Memory,简称为FPMDRAM)、扩展数据输出动态随机存取存储器(Extended Date Out Dynamic Random Access Memory,简称为EDODRAM)、同步动态随机存取内存(Synchronous Dynamic Random-Access Memory,简称SDRAM)等。
存储器52可以用来存储或者缓存需要处理和/或通信使用的各种数据文件,以及处理器51所执行的可能的计算机程序指令。
处理器51通过读取并执行存储器52中存储的计算机程序指令,以实现上述实施例中的任意一种应用产品提示信息的输出方法。
在其中一些实施例中,计算机设备还可包括通信接口53和总线50。其中,如图5所示,处理器51、存储器52、通信接口53通过总线50连接并完成相互间的通信。
通信接口53用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。通信接口53还可以实现与其他部件例如:外接设备、图像/数据采集设备、数据库、外部存储以及图像/数据处理工作站等之间进行数据通信。
总线50包括硬件、软件或两者,将计算机设备的部件彼此耦接在一起。总线50包括但不限于以下至少之一:数据总线(Data Bus)、地址总线(Address Bus)、控制总线(Control Bus)、扩展总线(Expansion Bus)、局部总线(Local Bus)。举例来说而非限制,总线50可包括图形加速接口(Accelerated Graphics Port,简称为AGP)或其他图形总线、增强工业标准架构(Extended Industry Standard Architecture,简称为EISA)总线、前端总线(Front Side Bus,简称为FSB)、超传输(Hyper Transport,简称为HT)互连、工业标准架构(Industry Standard Architecture,简称为ISA)总线、无线带宽(InfiniBand)互连、低引脚数(Low Pin Count,简称为LPC)总线、存储器总线、微信道架构(Micro Channel Architecture,简称为MCA)总线、外围组件互连(Peripheral Component Interconnect,简称为PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(Serial Advanced Technology Attachment,简称为SATA)总线、视频电子标准协会局部(Video Electronics  Standards Association Local Bus,简称为VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线50可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。
另外,结合上述实施例中的应用产品提示信息的输出方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种应用产品提示信息的输出方法。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种应用产品提示信息的输出方法,其特征在于,包括:
    获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
    获取系统语言;
    获取并输出所述系统语言对应的语言标识所对应的提示信息。
  2. 根据权利要求1所述的应用产品提示信息的输出方法,其特征在于,所述每种语言的提示信息包括:至少一种业务的提示信息,每种业务的提示信息对应有一个业务标识,其中,所述获取并输出所述系统语言对应的语言标识所对应的提示信息包括:
    获取所述应用产品中的业务类型;
    获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的业务标识所对应的提示信息。
  3. 根据权利要求1所述的应用产品提示信息的输出方法,其特征在于,在所述获取应用产品的提示信息配置文件之前,还包括:
    在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关联关系数据,生成所述提示信息配置文件;
    从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
    所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
    更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
  4. 根据权利要求3所述的应用产品提示信息的输出方法,其特征在于,还包括以下至少之一:
    在所述页面操作提示信息管理系统中,查询所述应用产品数据和/或所述应用产品提示信息数据;
    在所述页面操作提示信息管理系统中,修改所述应用产品数据和/或所述应用产品提示信息数据;
    在所述页面操作提示信息管理系统中,禁用所述应用产品提示信息数据;
    在所述页面操作提示信息管理系统中,生成所述提示信息枚举文件,其中,所述提示信息枚举文件中包括多个枚举类,每个所述枚举类用于展示应用产品不同业务类型的提示信息的代码。
  5. 根据权利要求1所述的应用产品提示信息的输出方法,其特征在于,所述获取应用产品的提 示信息配置文件,包括:
    将所述提示信息配置文件转换为对象。
  6. 一种应用产品提示信息的输出装置,其特征在于,包括:
    第一获取单元,用于获取应用产品的提示信息配置文件,其中,所述提示信息配置文件中包括:应用产品的标识信息、应用产品的提示信息,所述应用产品的提示信息包括:至少一种语言的提示信息,每种语言的提示信息对应有一个语言标识;
    第二获取单元,用于获取系统语言;
    输出单元,用于获取并输出所述系统语言对应的语言标识所对应的提示信息。
  7. 根据权利要求6所述的应用产品提示信息的输出装置,其特征在于,所述每种语言的提示信息包括:至少一种业务的提示信息,每种业务的提示信息对应有一个业务标识,其中,所述输出单元包括:
    第一获取模块,用于获取所述应用产品中的业务类型;
    第二获取模块,用于获取并输出所述系统语言对应的语言标识所对应的、所述业务类型对应的业务标识所对应的提示信息。
  8. 根据权利要求6所述的应用产品提示信息的输出装置,其特征在于,还包括:
    第一生成单元,用于在所述获取应用产品的提示信息配置文件之前,在页面操作提示信息管理系统中添加应用产品数据、应用产品提示信息数据以及应用产品数据与应用产品提示信息数据的关联关系数据,生成所述提示信息配置文件;
    导出单元,用于从所述页面操作提示信息管理系统中导出所述提示信息配置文件;
    加载单元,用于所述应用产品所在的终端设备对所述提示信息配置文件进行系统加载;
    更改单元,用于更改所述应用产品的配置文件,其中,所述应用产品的配置文件更改后用于指示所述应用产品启动时允许加载所述提示信息配置文件。
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5中任一项所述的应用产品提示信息的输出方法。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至5中任一项所述的应用产品提示信息的输出方法。
PCT/CN2023/099032 2022-07-03 2023-06-08 一种应用产品提示信息的输出方法和装置 WO2024007809A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210779549.XA CN115113950A (zh) 2022-07-03 2022-07-03 一种应用产品提示信息的输出方法和装置
CN202210779549.X 2022-07-03

Publications (1)

Publication Number Publication Date
WO2024007809A1 true WO2024007809A1 (zh) 2024-01-11

Family

ID=83330809

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/099032 WO2024007809A1 (zh) 2022-07-03 2023-06-08 一种应用产品提示信息的输出方法和装置

Country Status (2)

Country Link
CN (1) CN115113950A (zh)
WO (1) WO2024007809A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115113950A (zh) * 2022-07-03 2022-09-27 上海妙一生物科技有限公司 一种应用产品提示信息的输出方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8806425B1 (en) * 2012-05-25 2014-08-12 The Boeing Company Method and apparatus for generating infrastructure code
CN109683998A (zh) * 2017-10-19 2019-04-26 北京京东尚科信息技术有限公司 国际化实现方法、装置和系统
CN110597595A (zh) * 2019-09-30 2019-12-20 腾讯科技(深圳)有限公司 多语言信息的提供方法、配置方法、装置、设备和介质
CN111273978A (zh) * 2020-01-14 2020-06-12 网易(杭州)网络有限公司 一种多语言游戏资源的配置方法及装置
CN112988290A (zh) * 2019-12-12 2021-06-18 腾讯科技(深圳)有限公司 多语言配置文件的生成方法、页面显示方法、装置及终端
CN115113950A (zh) * 2022-07-03 2022-09-27 上海妙一生物科技有限公司 一种应用产品提示信息的输出方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8806425B1 (en) * 2012-05-25 2014-08-12 The Boeing Company Method and apparatus for generating infrastructure code
CN109683998A (zh) * 2017-10-19 2019-04-26 北京京东尚科信息技术有限公司 国际化实现方法、装置和系统
CN110597595A (zh) * 2019-09-30 2019-12-20 腾讯科技(深圳)有限公司 多语言信息的提供方法、配置方法、装置、设备和介质
CN112988290A (zh) * 2019-12-12 2021-06-18 腾讯科技(深圳)有限公司 多语言配置文件的生成方法、页面显示方法、装置及终端
CN111273978A (zh) * 2020-01-14 2020-06-12 网易(杭州)网络有限公司 一种多语言游戏资源的配置方法及装置
CN115113950A (zh) * 2022-07-03 2022-09-27 上海妙一生物科技有限公司 一种应用产品提示信息的输出方法和装置

Also Published As

Publication number Publication date
CN115113950A (zh) 2022-09-27

Similar Documents

Publication Publication Date Title
US10649720B2 (en) Sound effect configuration method and system and related device
CN105632491B (zh) 用于语音识别的方法和电子装置
US10880728B2 (en) Method for data migration and terminal device
US10552178B2 (en) Method for controlling startup of application and terminal device
US20160266948A1 (en) Queued Messages Processing Method and Apparatus, Method and Apparatus for Controlling Messages to be Enqueued
WO2018049935A1 (zh) 一种数据迁移的方法及终端
WO2023246516A1 (zh) 一种临床研究项目的访视报告生成方法和装置
CN106484326B (zh) 一种数据传输处理方法及移动终端
US10687207B2 (en) Method for data migration and terminal
WO2018049885A1 (zh) 一种数据迁移方法及装置
WO2019011324A1 (zh) 确定移动终端接入方式的方法、存储介质及移动终端
US20200019441A1 (en) Method for Allocating Memory Resources and Terminal Device
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
WO2024007809A1 (zh) 一种应用产品提示信息的输出方法和装置
WO2019011297A1 (zh) 查找和搜索fm频道的方法、移动终端及存储装置
WO2015067206A1 (zh) 一种文件查找的方法及终端
WO2018219117A1 (zh) 组件显示方法及相关产品
CN106933626B (zh) 应用关联方法及装置
CN106155733B (zh) 一种运行应用程序的方法和装置
US10664326B2 (en) Method for communication in operating system and related products
CN108307531B (zh) 通话控制方法、装置、用户终端及计算机可读存储介质
CN106358070B (zh) 多媒体文件上传方法及装置
WO2019166004A1 (zh) 智能终端及其文件管理方法、具有存储功能的装置
CN106294025B (zh) 一种终端软体的下载方法和装置
CN105278967B (zh) 一种移动终端的系统更新方法、装置和系统

Legal Events

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

Ref document number: 23834583

Country of ref document: EP

Kind code of ref document: A1