CN115113950A - Method and device for outputting prompt information of application product - Google Patents
Method and device for outputting prompt information of application product Download PDFInfo
- Publication number
- CN115113950A CN115113950A CN202210779549.XA CN202210779549A CN115113950A CN 115113950 A CN115113950 A CN 115113950A CN 202210779549 A CN202210779549 A CN 202210779549A CN 115113950 A CN115113950 A CN 115113950A
- Authority
- CN
- China
- Prior art keywords
- prompt information
- application product
- configuration file
- language
- product
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Cash Registers Or Receiving Machines (AREA)
- Machine Translation (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to an output method and device of application product prompt information, wherein the method comprises the following steps: acquiring a prompt message configuration file of an application product, wherein the prompt message configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification; acquiring a system language; and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language. By the method and the device, the problem that the application product cannot return prompt messages of different languages according to different language systems is solved, and the effect of returning the prompt messages of different languages according to different language systems is achieved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for outputting application product prompt information, a computer device, and a computer-readable storage medium.
Background
In the field of clinical research, all full-scene application products directly return corresponding prompt information according to services, and all application products can only return prompt information of specified voice and cannot return prompt information of different languages according to different language systems. And the prompt information file of the application product changes the complicated flow which needs to be coded and issued, and the prompt information of each application product cannot be flexibly configured.
At present, no effective solution is provided for the problem that the application product in the related art can not return prompt information of different languages according to different language systems.
Disclosure of Invention
The present application aims to overcome the defects in the prior art, and provides an output method, an output device, a computer device and a computer readable storage medium for application product prompt information, so as to at least solve the problem that in the related art, an application product cannot return prompt information in different languages according to different language systems.
In order to achieve the purpose, the technical scheme adopted by the application is as follows:
in a first aspect, an embodiment of the present application provides an output method for application product prompt information, including:
acquiring a prompt message configuration file of an application product, wherein the prompt message configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
acquiring a system language;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language.
In some embodiments, the prompt information in each language includes: the prompt information of at least one service, the prompt information of each service corresponding to a service identifier, wherein the obtaining and outputting the prompt information corresponding to the language identifier corresponding to the system language comprises:
acquiring the service type in the application product;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
In some embodiments, before the obtaining the prompt information configuration file of the application product, the method further includes:
adding application product data, application product prompt information data and incidence relation data of the application product data and the application product prompt information data in a page operation prompt information management system to generate a prompt information configuration file;
exporting the prompt message configuration file from the page operation prompt message management system;
the terminal equipment where the application product is located carries out system loading on the prompt information configuration file;
and changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
In some of these embodiments, further comprising at least one of:
inquiring the application product data and/or the application product prompt information data in the page operation prompt information management system;
in the page operation prompt information management system, modifying the application product data and/or the application product prompt information data;
in the page operation prompt information management system, forbidding the application product prompt information data;
and generating the prompt information enumeration file in the page operation prompt information management system, wherein the prompt information enumeration file comprises a plurality of enumeration classes, and each enumeration class is used for displaying prompt information codes of different service types of application products.
In some embodiments, the obtaining the prompt information configuration file of the application product includes:
and converting the prompt message configuration file into an object.
In a second aspect, an embodiment of the present application provides an output device for applying product prompt information, including:
the device comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a prompt message configuration file of an application product, and the prompt message configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
a second acquisition unit configured to acquire a system language;
and the output unit is used for acquiring and outputting the prompt information corresponding to the language identification corresponding to the system language.
In some embodiments, the prompt information in each language includes: the prompt message of at least one service, the prompt message of each service corresponds to a service identifier, wherein, the output unit includes:
the first acquisition module is used for acquiring the service type in the application product;
and the second acquisition module is used for acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
In some of these embodiments, the apparatus further comprises:
a first generating unit, configured to add application product data, application product prompt information data, and incidence relation data between the application product data and the application product prompt information data in a page operation prompt information management system before the prompt information configuration file of the application product is obtained, and generate the prompt information configuration file;
the exporting unit is used for exporting the prompt information configuration file from the page operation prompt information management system;
the loading unit is used for carrying out system loading on the prompt information configuration file by the terminal equipment where the application product is located;
and the changing unit is used for changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the first method described above when executing the computer program. The method for outputting the prompt message of the application product is also disclosed.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for outputting application product prompt information according to the first aspect.
By adopting the technical scheme, compared with the prior art, the method for outputting the prompt information of the application product provided by the embodiment of the application product comprises the following steps of obtaining the prompt information configuration file of the application product, wherein the prompt information configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification; acquiring a system language; and then, the prompt information corresponding to the language identification corresponding to the system language is acquired and output, so that the problem that the application product in the related technology cannot return the prompt information of different languages according to different language systems is solved, the aim of returning the prompt information of different languages according to different language systems is fulfilled, and the use experience of a user is further improved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more concise and understandable description of the application, and features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present application;
FIG. 2 is a flow chart of an output method of application product prompt information according to an embodiment of the application;
FIG. 3 is a schematic diagram of a process for returning prompt information according to an embodiment of the present application;
FIG. 4 is a block diagram of an output device for applying product prompt information according to an embodiment of the present application;
fig. 5 is a hardware structure diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the 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. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of describing the invention (including a single reference) are to be construed in a non-limiting sense as indicating either the singular or the plural. The use of the terms "including," "comprising," "having," and any variations thereof herein, is meant to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The embodiment provides a mobile terminal. Fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 1, the mobile terminal includes: a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each constituent element of the mobile terminal in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 180; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short message Service (Short Messaging Service (SMS)), and so on.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile terminal by operating 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 by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, 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 inputs related to user settings and function control of the mobile terminal. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, 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.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the mobile terminal. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although the touch panel 131 and the display panel 141 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement 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. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile terminal, further description is omitted here.
A speaker 161 and a microphone 162 in the audio circuit 160 may provide an audio interface between a user and the mobile terminal. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then transmits the audio data to, for example, another mobile terminal via the RF circuit 110, or outputs the audio data to the memory 120 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential components of the mobile terminal, and it can be omitted or replaced with other short-range wireless transmission modules, such as Zigbee module or WAPI module, etc., as required within the scope not changing the essence of the invention.
The processor 180 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile terminal. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system that may be configured to manage charging, discharging, and power consumption.
Although not shown, the mobile terminal may further include a camera, a bluetooth module, etc., which will not be described herein.
In this embodiment, the processor 180 is configured to:
acquiring a prompt message configuration file of an application product, wherein the prompt message configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
acquiring a system language;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language.
In some of these embodiments, the processor 180 is further configured to:
acquiring the service type in the application product;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
In some of these embodiments, the processor 180 is further configured to:
adding application product data, application product prompt information data and incidence relation data of the application product data and the application product prompt information data in a page operation prompt information management system to generate a prompt information configuration file;
exporting the prompt message configuration file from the page operation prompt message management system;
the terminal equipment where the application product is located carries out system loading on the prompt information configuration file;
and changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
In some of these embodiments, the processor 180 is further configured to:
inquiring the application product data and/or the application product prompt information data in the page operation prompt information management system;
in the page operation prompt information management system, modifying the application product data and/or the application product prompt information data;
in the page operation prompt information management system, forbidding the application product prompt information data;
and generating the prompt information enumeration file in the page operation prompt information management system, wherein the prompt information enumeration file comprises a plurality of enumeration classes, and each enumeration class is used for displaying prompt information codes of different service types of application products.
In some of these embodiments, the processor 180 is further configured to: and converting the prompt message configuration file into an object.
The embodiment provides an output method of application product prompt information. Fig. 2 is a flowchart of an output method of application product prompt information according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S201, obtaining a prompt information configuration file of an application product, where the prompt information configuration file includes: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
step S202, acquiring a system language;
step S203, obtaining and outputting the prompt information corresponding to the language identification corresponding to the system language.
Through the steps, the problem that the application product in the related technology cannot return prompt messages in different languages according to different language systems is solved, the purpose of returning the prompt messages in different languages according to different language systems is achieved, and the use experience of a user is improved.
In some embodiments, the prompt information in each language includes: the prompt information of at least one service, the prompt information of each service corresponding to a service identifier, wherein the obtaining and outputting the prompt information corresponding to the language identifier corresponding to the system language comprises:
acquiring the service type in the application product;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
In some embodiments, before the obtaining the prompt information configuration file of the application product, the method further includes:
adding application product data, application product prompt information data and incidence relation data of the application product data and the application product prompt information data in a page operation prompt information management system to generate a prompt information configuration file;
exporting the prompt message configuration file from the page operation prompt message management system;
the terminal equipment where the application product is located carries out system loading on the prompt information configuration file;
and changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
In some of these embodiments, the method further comprises at least one of:
inquiring the application product data and/or the application product prompt information data in the page operation prompt information management system;
in the page operation prompt information management system, modifying the application product data and/or the application product prompt information data;
in the page operation prompt information management system, forbidding the application product prompt information data;
and generating the prompt information enumeration file in the page operation prompt information management system, wherein the prompt information enumeration file comprises a plurality of enumeration classes, and each enumeration class is used for displaying prompt information codes of different service types of application products.
In some embodiments, the obtaining the prompt information configuration file of the application product includes:
and converting the prompt message configuration file into an object.
In the embodiment of the application, the application product refers to a project system; the application product prompt information refers to various prompt information returned to the page display in the project system; one application product can correspond to a plurality of prompt messages. One application product can correspond to prompt messages of various service types, and the prompt message of each service can correspond to a service identifier. An application product can correspond to prompt messages of multiple languages, and each prompt message of each language can correspond to a language identifier.
In the embodiment of the application, the prompt information of the application product is managed through the page operation prompt information management system, and the prompt information of different service types and different languages of different application products can be configured through the page operation prompt information management system. After the configured prompt message configuration file is exported, the terminal equipment can carry out system loading on the prompt message configuration file, and then the configuration file of the application product is changed, so that the prompt message configuration file can be loaded when the application product is started, and the corresponding prompt message in the prompt message configuration file can be obtained in the running process of the application product.
As shown in fig. 3, the process splitting is performed on the direct return prompt information in the embodiment of the present application, which specifically includes: the method comprises a page application product prompt information operation process, a system configuration process and a tool process for acquiring prompt information. Wherein:
the operation flow of the prompt message of the page application product comprises the following steps: adding application product data; adding application product prompt information data; inquiring and modifying application product data and/or application product prompt information data; disabling the prompt message; generating a prompt message configuration file; and generating a prompt message enumeration file.
The system configuration process comprises the following steps: adding a prompt message configuration file of an application product and modifying related configuration. The prompt message configuration file is placed in the nacos, can be changed at any time and then becomes effective, and the project does not need to be redeployed. Changing the relevant configuration refers to modifying the configuration file of the calling application product, because the prompt message configuration file is newly added, the configuration file of the calling application product is added to determine whether to start the prompt message configuration file, and whether to load the prompt message configuration file after the application product is started is controlled. The purpose of the system configuration process is to change the prompt information without encoding and deployment, and when the application product is started, the prompt information configuration file is loaded, and the configuration information can be obtained after the application product is successfully started.
Acquiring a tool type flow of prompt information: when the project is started, 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, inquires the application prompt information, acquires the system language, and finally provides a tool class to return the corresponding prompt information according to the system language. The query application prompt information is prompt information of the application products which can call tool types to query the application, and the prompt information is configuration file data loaded when the project is started. The reason for converting the content of the configuration file into the prompt message object is that a string of characters is stored in the configuration file, and the string of characters needs to be converted into the object in the program, which is beneficial to acquiring data in the program. The tool class is provided because the prompt information is convenient for each application product to acquire, and is not acquired by a single application product. All application products can inquire the prompt information of the application products only by importing the tool class package.
According to the embodiment of the application, the page operation prompt information is added, so that data can be flexibly configured. And generating a configuration file, and automatically updating the prompt information without publishing. When the project is started, the prompt information data is loaded to generate prompt information tools. The storage of the prompt information data of the application product can be defined to be in a code and message set form, the enumeration class of the application product can be generated through a prompt information management page, the prompt information codes of different types of each application product are displayed, and corresponding prompt information is obtained according to the enumeration class codes and system language calling tool classes when the prompt information is obtained.
The embodiment of the application can change the prompt message file returned by the application product only by modifying the relevant configuration without releasing; prompt information of application products can be flexibly configured; the prompt information configuration of multiple languages can be realized, and the prompt information of different languages is returned according to different language systems.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment provides an output device for applying product prompt information, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described again after the description. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of an output device for applying product prompt information according to an embodiment of the present application, and as shown in fig. 4, the device includes:
a first obtaining unit 41, configured to obtain a prompt information configuration file of an application product, where the prompt information configuration file includes: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
a second obtaining unit 42 for obtaining a system language;
and the output unit 43 is configured to acquire and output prompt information corresponding to the language identifier corresponding to the system language.
In some embodiments, the prompt information in each language includes: the service information of at least one service, where the service information of each service corresponds to a service identifier, where the output unit 43 includes:
the first acquisition module is used for acquiring the service type in the application product;
and the second acquisition module is used for acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
In some of these embodiments, the apparatus further comprises:
a first generating unit, configured to add application product data, application product prompt information data, and association relationship data between the application product data and the application product prompt information data to a page operation prompt information management system before obtaining the prompt information configuration file of the application product, and generate the prompt information configuration file;
the exporting unit is used for exporting the prompt information configuration file from the page operation prompt information management system;
the loading unit is used for carrying out system loading on the prompt information configuration file by the terminal equipment where the application product is located;
and the changing unit is used for changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
In some of these embodiments, the apparatus further comprises at least one of:
the query unit is used for querying the application product data and/or the application product prompt information data in the page operation prompt information management system;
the modification unit is used for modifying the application product data and/or the application product prompt information data in the page operation prompt information management system;
the forbidding unit is used for forbidding the application product prompting information data in the page operation prompting information management system;
and a second generating unit, configured to generate the hint information enumeration file in the page operation hint information management system, where the hint information enumeration file includes multiple enumeration classes, and each enumeration class is used to display a code of a hint information of an application product of a different service type.
In some embodiments, the first obtaining unit 41 includes:
and the conversion module is used for converting the prompt information configuration file into an object.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules may be located in different processors in any combination.
An embodiment provides a computer device. The output method for applying the product prompt information in combination with the embodiment of the application can be realized by computer equipment. Fig. 5 is a hardware structure diagram of a computer device according to an embodiment of the present application.
The computer device may comprise a processor 51 and a memory 52 in which computer program instructions are stored.
Specifically, the processor 51 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
The memory 52 may be used to store or cache various data files that need to be processed and/or used for 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 above-described embodiments of the output method of application product prompt information.
In some of these embodiments, the computer device may also include a communication interface 53 and a bus 50. As shown in fig. 5, the processor 51, the memory 52, and the communication interface 53 are connected via the bus 50 to complete mutual communication.
The communication interface 53 is used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application. The communication interface 53 may also enable communication with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
In addition, in combination with the method for outputting the application product prompt information in the foregoing embodiments, the embodiments of the present application may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any one of the above embodiments of the method for outputting application product reminder information.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. An output method for application product prompt information is characterized by comprising the following steps:
acquiring a prompt message configuration file of an application product, wherein the prompt message configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
acquiring a system language;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language.
2. The method for outputting prompt information of application products according to claim 1, wherein the prompt information of each language comprises: the prompt information of at least one service, the prompt information of each service corresponding to a service identifier, wherein the obtaining and outputting the prompt information corresponding to the language identifier corresponding to the system language comprises:
acquiring the service type in the application product;
and acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
3. The method for outputting prompt information of application products according to claim 1, further comprising, before the obtaining of the prompt information configuration file of application products:
adding application product data, application product prompt information data and incidence relation data of the application product data and the application product prompt information data in a page operation prompt information management system to generate a prompt information configuration file;
exporting the prompt message configuration file from the page operation prompt message management system;
the terminal equipment where the application product is located carries out system loading on the prompt information configuration file;
and changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
4. The method for outputting the application product prompting message according to claim 3, further comprising at least one of:
inquiring the application product data and/or the application product prompt information data in the page operation prompt information management system;
in the page operation prompt information management system, modifying the application product data and/or the application product prompt information data;
in the page operation prompt information management system, forbidding the application product prompt information data;
and generating the prompt information enumeration file in the page operation prompt information management system, wherein the prompt information enumeration file comprises a plurality of enumeration classes, and each enumeration class is used for displaying prompt information codes of different service types of application products.
5. The method for outputting the prompt message of the application product according to claim 1, wherein the obtaining the prompt message configuration file of the application product comprises:
and converting the prompt message configuration file into an object.
6. An output device for applying product prompt information, comprising:
the device comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a prompt message configuration file of an application product, and the prompt message configuration file comprises: the method comprises the following steps of applying identification information of a product and prompting information of the product, wherein the prompting information of the product comprises the following steps: the prompt information of at least one language, the prompt information of each language corresponds to a language identification;
a second acquisition unit configured to acquire a system language;
and the output unit is used for acquiring and outputting the prompt information corresponding to the language identification corresponding to the system language.
7. The output device for prompting information of application products according to claim 6, wherein the prompting information of each language comprises: the prompt message of at least one service, the prompt message of each service corresponds to a service identifier, wherein, the output unit includes:
the first acquisition module is used for acquiring the service type in the application product;
and the second acquisition module is used for acquiring and outputting prompt information corresponding to the language identification corresponding to the system language and the service identification corresponding to the service type.
8. The output device for the application product prompt message according to claim 6, further comprising:
a first generating unit, configured to add application product data, application product prompt information data, and association relationship data between the application product data and the application product prompt information data to a page operation prompt information management system before obtaining the prompt information configuration file of the application product, and generate the prompt information configuration file;
the exporting unit is used for exporting the prompt information configuration file from the page operation prompt information management system;
the loading unit is used for carrying out system loading on the prompt information configuration file by the terminal equipment where the application product is located;
and the changing unit is used for changing the configuration file of the application product, wherein the changed configuration file of the application product is used for indicating that the prompt information configuration file is allowed to be loaded when the application product is started.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of outputting application product reminder information according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the method for outputting application product reminder information according to any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210779549.XA CN115113950A (en) | 2022-07-03 | 2022-07-03 | Method and device for outputting prompt information of application product |
PCT/CN2023/099032 WO2024007809A1 (en) | 2022-07-03 | 2023-06-08 | Method and apparatus for outputting application product prompt information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210779549.XA CN115113950A (en) | 2022-07-03 | 2022-07-03 | Method and device for outputting prompt information of application product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115113950A true CN115113950A (en) | 2022-09-27 |
Family
ID=83330809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210779549.XA Pending CN115113950A (en) | 2022-07-03 | 2022-07-03 | Method and device for outputting prompt information of application product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115113950A (en) |
WO (1) | WO2024007809A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024007809A1 (en) * | 2022-07-03 | 2024-01-11 | 上海妙一生物科技有限公司 | Method and apparatus for outputting application product prompt information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109284145A (en) * | 2018-08-28 | 2019-01-29 | 北京城市网邻信息技术有限公司 | The generation of multilingual configuration file and methods of exhibiting and device, equipment and medium |
CN112685117A (en) * | 2020-12-29 | 2021-04-20 | 平安普惠企业管理有限公司 | System language internationalization maintenance method, device and computer readable storage medium |
CN112732388A (en) * | 2021-01-14 | 2021-04-30 | 广州趣丸网络科技有限公司 | Configuration method of language configuration data table, multi-language configuration method and related device |
CN112965770A (en) * | 2021-03-02 | 2021-06-15 | 杭州和利时自动化有限公司 | Multi-language resource management method, module, device, system and readable storage medium |
CN112988290A (en) * | 2019-12-12 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Multi-language configuration file generation method, page display method, device and terminal |
Family Cites Families (5)
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 |
CN109683998B (en) * | 2017-10-19 | 2022-04-26 | 北京京东尚科信息技术有限公司 | Internationalization realization method, device and system |
CN110597595B (en) * | 2019-09-30 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Method for providing multi-language information, method for configuring multi-language information, device, equipment and medium |
CN111273978A (en) * | 2020-01-14 | 2020-06-12 | 网易(杭州)网络有限公司 | Configuration method and device of multi-language game resources |
CN115113950A (en) * | 2022-07-03 | 2022-09-27 | 上海妙一生物科技有限公司 | Method and device for outputting prompt information of application product |
-
2022
- 2022-07-03 CN CN202210779549.XA patent/CN115113950A/en active Pending
-
2023
- 2023-06-08 WO PCT/CN2023/099032 patent/WO2024007809A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109284145A (en) * | 2018-08-28 | 2019-01-29 | 北京城市网邻信息技术有限公司 | The generation of multilingual configuration file and methods of exhibiting and device, equipment and medium |
CN112988290A (en) * | 2019-12-12 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Multi-language configuration file generation method, page display method, device and terminal |
CN112685117A (en) * | 2020-12-29 | 2021-04-20 | 平安普惠企业管理有限公司 | System language internationalization maintenance method, device and computer readable storage medium |
CN112732388A (en) * | 2021-01-14 | 2021-04-30 | 广州趣丸网络科技有限公司 | Configuration method of language configuration data table, multi-language configuration method and related device |
CN112965770A (en) * | 2021-03-02 | 2021-06-15 | 杭州和利时自动化有限公司 | Multi-language resource management method, module, device, system and readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024007809A1 (en) * | 2022-07-03 | 2024-01-11 | 上海妙一生物科技有限公司 | Method and apparatus for outputting application product prompt information |
Also Published As
Publication number | Publication date |
---|---|
WO2024007809A1 (en) | 2024-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107302628B (en) | Application function control method and related product | |
CN106293308B (en) | Screen unlocking method and device | |
CN107071147B (en) | Parameter adjusting method and device | |
CN107172266A (en) | Method for controlling fingerprint identification and Related product | |
CN106371964B (en) | Method and device for prompting message | |
CN103455330A (en) | Application program management method, terminal, equipment and system | |
CN104093123A (en) | Application program information pushing method, device and system and mobile terminal | |
CN106775833A (en) | device driver loading method, terminal and system | |
CN106708530A (en) | Information processing method and terminal equipment | |
CN103491240A (en) | Alarm clock sounding method, device and mobile terminal | |
CN104901992B (en) | A kind of method and apparatus of resource transfers | |
CN114999604A (en) | Visit report generation method and device for clinical research project | |
CN106682189B (en) | File name display method and device | |
CN109688611B (en) | Frequency band parameter configuration method, device, terminal and storage medium | |
CN107317828B (en) | File downloading method and device | |
WO2024007809A1 (en) | Method and apparatus for outputting application product prompt information | |
CN106934003B (en) | File processing method and mobile terminal | |
CN106713648B (en) | A kind of communication means and mobile terminal | |
CN107038414B (en) | Fingerprint template synchronization method and device | |
CN106535229B (en) | WiFi signal receiving sensitivity testing method and mobile terminal | |
CN113542884A (en) | Method for synchronizing JS patch files between smart television browser and server | |
CN106487649A (en) | The prompting control method of group message and terminal unit | |
CN108307531B (en) | Call control method, device, user terminal and computer readable storage medium | |
CN112214699A (en) | Page processing method and related device | |
CN106657278B (en) | Data transmission method and device and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |