Page development methods, display methods, devices, electronic devices and media

By setting the association between display identifiers and language content in the page configuration library and setting up access interfaces for them, the problem of low efficiency in multilingual page display is solved, and efficient development and display of multilingual pages are achieved.

CN112947926BActive Publication Date: 2026-03-13CHINA CONSTRUCTION BANK
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing technologies cannot effectively support the development and display of pages for multiple languages, time zones, and legal entities, requiring the pre-setting of multiple page development frameworks, which leads to low efficiency.

Method used

By setting up a page configuration library, the association between page display identifiers and preset language display content is established, and a content access interface is set up for the page configuration library. This is then added to the page development framework, enabling a single page framework to support multilingual display.

Benefits of technology

It improves the efficiency of page development and display, supports the page display needs of multiple languages, multiple time zones and multiple legal entities, and enhances the versatility of the page development framework.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112947926B_ABST
    Figure CN112947926B_ABST
Patent Text Reader

Abstract

This application discloses a page development method, display method, apparatus, electronic device, and medium, relating to the field of computer technology. The method includes: setting up a page configuration library and establishing associations between page display identifiers and preset language display content in the configuration library; setting up a content access interface for the page configuration library to call the preset language display content in the page configuration library through the content access interface; and adding the page configuration library to a page development framework so that the page development framework accesses the page configuration library for page development and display. This solution, by setting up a page configuration library and establishing associations between page display identifiers and preset language display content for different languages, solves the problem of needing to pre-set multiple pages for displaying pages in different languages. It enables the development and display of pages in different languages ​​based on a single page development framework, improving the efficiency of page development and display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a page development method, display method, apparatus, electronic device, and medium. Background Technology

[0002] Overseas channels are used by customers worldwide, and there are differences in languages ​​and time zones around the world, as well as different legal entities in different regions.

[0003] The current solution involves pre-setting multiple pages, meaning each page in a different language has its own development framework, and the page is specifically developed and displayed for that language. However, this approach cannot display dynamic response codes or standard code in multiple languages, nor can it simultaneously support applications with multiple languages, time zones, and legal entities. Summary of the Invention

[0004] This invention provides a page development method, display method, device, electronic device, and medium to achieve multilingual development and display through a single page.

[0005] In one embodiment, this application provides a page development method, the method comprising:

[0006] Set up a page configuration library, and set the association between the page display identifier and the preset language display content in the configuration library;

[0007] Set up a content access interface for the page configuration library so that the preset language display content in the page configuration library can be called through the content access interface;

[0008] Add the page configuration library to the page development framework so that the page development framework can access the page configuration library to develop and display the page.

[0009] In another embodiment, this application also provides a page display method, the method comprising:

[0010] From the page development framework, determine the page configuration library corresponding to the page display identifier of the content to be displayed;

[0011] Determine the language to be displayed on the page, and determine the display content in the language associated with the page display identifier of the content to be displayed from the page configuration library;

[0012] The page is displayed according to the language to be displayed.

[0013] The page development framework is determined based on the page development method in any of the above embodiments.

[0014] In one embodiment, this application also provides a page development apparatus, the apparatus comprising:

[0015] The configuration library setting module is used to set the page configuration library and set the association between the page display identifier and the preset language display content in the configuration library;

[0016] The interface setting module is used to set a content access interface for the page configuration library, so as to call the preset language display content in the page configuration library through the content access interface;

[0017] The module is used to add the page configuration library to the page development framework, so that the page development framework can access the page configuration library to develop and display the page.

[0018] In another embodiment, this application also provides a page display device, the device comprising:

[0019] The configuration library determination module is used to determine the page configuration library corresponding to the page display identifier of the content to be displayed from the page development framework;

[0020] The content display determination module is used to determine the language to be displayed on the page, and to determine the content to be displayed in the language associated with the page display identifier of the content to be displayed from the page configuration library;

[0021] The display module is used to display content according to the language to be displayed and to perform page display.

[0022] The page development framework is determined based on the page development method in any of the above embodiments.

[0023] In yet another embodiment, this application also provides an electronic device, including: one or more processors;

[0024] Memory, used to store one or more programs;

[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the page development method or the page display method described in any embodiment of this application.

[0026] In yet another embodiment, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the page development method or the page display method described in any embodiment of this application.

[0027] In this embodiment, a page configuration library is set up, and the association between page display identifiers and preset language display content is established within the configuration library. A content access interface is set up for the page configuration library to call the preset language display content in the page configuration library. The page configuration library is added to the page development framework so that the page development framework can access the page configuration library for page development and display. This solution, by setting up a page configuration library and establishing the association between page display identifiers and preset language display content for different languages, solves the problem of needing to pre-set multiple pages for different language displays. It enables the development and display of pages in different languages ​​based on a single page development framework, improving the efficiency of page development and display. Attached Figure Description

[0028] Figure 1 A flowchart illustrating a page development method provided in one embodiment of the present invention;

[0029] Figure 2 A flowchart of a page development method provided in another embodiment of the present invention;

[0030] Figure 3 A specific application system structure diagram of the page display method provided in one embodiment of the present invention;

[0031] Figure 4 A flowchart illustrating a specific application of the page display method provided in one embodiment of the present invention;

[0032] Figure 5 This is a schematic diagram of the structure of a page development apparatus provided in one embodiment of the present invention;

[0033] Figure 6 This is a schematic diagram of the structure of a page display device provided in one embodiment of the present invention;

[0034] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation

[0035] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0036] Figure 1This is a flowchart illustrating a page development method according to an embodiment of the present invention. The page development method provided in this application embodiment is applicable to situations involving the development and display of pages. Typically, this application embodiment is applicable to situations involving the development and display of pages in different languages. Specifically, this method can be executed by a page development device, which can be implemented in software and / or hardware, and can be integrated into an electronic device capable of implementing the page development method. See also... Figure 1 The method in this application embodiment specifically includes:

[0037] S110. Set up a page configuration library, and set the association between the page display identifier and the preset language display content in the configuration library.

[0038] The page configuration library is an added configuration repository. During the page development and display process, the content to be displayed is adaptively selected from the page configuration library to personalize the page development and display. The preset language can be set by the user, such as Chinese, English, French, etc. The content displayed in the preset language will be the content displayed on the page in the preset language. Page display identifiers can include the code, tags, etc. required for page display.

[0039] For example, a page configuration library can be pre-set, establishing associations between page display identifiers and preset language display content. This allows the system to invoke the associated preset language display content when a page display identifier is invoked, based on actual needs. For instance, if a page display identifier's content needs to be displayed in Chinese, the associated Chinese content is invoked. Similarly, if a page display identifier's content needs to be displayed in English, the associated English content is invoked, thus ensuring that the page display identifier is displayed in the language desired by the user.

[0040] S120. Set a content access interface for the page configuration library so as to call the preset language display content in the page configuration library through the content access interface.

[0041] For example, a content access interface can be set for a pre-configured page configuration library. One or more interfaces can be set so that during the page development and display process, the configuration information in the page configuration library can be accessed and called through the content access interface, and the page can be developed and displayed according to the configuration information.

[0042] S130. Add the page configuration library to the page development framework so that the page development framework can access the page configuration library to develop and display the page.

[0043] The page development framework can be a framework that includes development code for developing pages. For example, a page configuration library can be added to the page development framework. This allows a single page development framework to include the association between page display identifiers in the configuration library and preset language display content. Based on a single page development framework, pages can be displayed in different languages ​​without needing to create a separate framework for each language, thus improving the versatility of the page development framework and increasing the efficiency of page development.

[0044] In this embodiment, a page configuration library is set up, and the association between page display identifiers and preset language display content is established within the configuration library. A content access interface is set up for the page configuration library to call the preset language display content in the page configuration library. The page configuration library is added to the page development framework so that the page development framework can access the page configuration library for page development and display. This solution, by setting up a page configuration library and establishing the association between page display identifiers and preset language display content for different languages, solves the problem of needing to pre-set multiple pages for different language displays. It enables the development and display of pages in different languages ​​based on a single page development framework, improving the efficiency of page development and display.

[0045] Figure 2 A flowchart illustrating a page development method according to another embodiment of the present invention. This application embodiment is a further optimization of the above embodiments; details not described in detail in this application embodiment are provided in the above embodiments. See also... Figure 2 The page development method provided in this application embodiment may include:

[0046] S210. Set up the response code configuration library and set the association between the response code and the response code display content of the preset language in the response code configuration library.

[0047] Currently, different page development frameworks are set up for different languages. When it is necessary to display response codes in different languages, the association between response codes and the display content of response codes in that language must be set in advance in each page development framework. Furthermore, each page development framework can only selectively set the association between static response codes and the display content of response codes in that language, resulting in an incomplete association. In this embodiment, for the development of response code display, a response code configuration library can be specifically set up, and the association between response codes and the display content of response codes in preset languages ​​can be set in the response code configuration library. This forms an association between response codes and the display content of response codes in multiple languages. Since there is sufficient storage space to set the association in the configuration library, the association between all response codes and the display content of response codes in preset languages ​​can be set. This includes the association between static response codes and the display content of response codes in preset languages, as well as the association between dynamic response codes and the display content of response codes in preset languages. The response codes include both dynamic and static response codes, and the dynamic response codes include static response codes and parameters. The parameters can be set according to the actual situation, and the number is not specifically limited and can be any number. When it is necessary to display the response code in the target language, the response code configuration library is used to call the response code display content associated with the target language to display the response code, thereby realizing the display of the response code content in the target language.

[0048] S220. Set up the code value configuration library, and set the association between the display labels and the code display content of the preset language in the code value configuration library.

[0049] For example, when displaying a page, it's also necessary to display the actual content in different languages. Since display tags are used to show content, a code value configuration library is specifically set up. This library is then used to associate display tags with the code display content for a preset language. Therefore, during page development and display, when page content in the target language needs to be displayed, the display tag is invoked. The code value configuration library then calls the target language code display content associated with the display tag, allowing the page to be displayed according to the preset language code display content.

[0050] S230. Set up a voucher printing configuration library, and set the association between voucher printing information and the voucher printing display content in the preset language in the voucher printing configuration library.

[0051] For example, after a transaction is completed, a user may need to print a receipt, therefore the printed receipt needs to be displayed in the user's desired language. In this embodiment, a print configuration library is set up, and the association between receipt printing information and preset language receipt printing content is set in the print configuration library. So when a receipt in the target language needs to be printed, the receipt printing information is called, and the receipt printing content in the target language associated with the receipt printing information is called through the receipt printing configuration library, thereby displaying the receipt printing content in the target language.

[0052] S240. Set up a content access interface for the page configuration library to call the preset language display content in the page configuration library through the content access interface.

[0053] S250. Add the page configuration library to the page development framework so that the page development framework can access the page configuration library to develop and display the page.

[0054] S260. For a page instance, add at least two users so that at least two users can access the same page instance.

[0055] For example, since users include users in different time zones and users of different legal entities, in order to support simultaneous operation of the page by multiple legal entities in multiple time zones, a single-instance multi-user deployment can be carried out. For a page instance, at least two users are added so that at least two users can access the same page instance, thus completing the logical isolation of multiple time zones and multiple legal entities at the deployment level and realizing batch processing by time zone.

[0056] It should be noted that the execution order of S210, S220, and S230 in this embodiment is not restricted; they can be executed simultaneously or sequentially, as long as the response code configuration library, code value configuration library, and voucher printing configuration library are set. Furthermore, the execution order of S260 with other steps is not specifically restricted.

[0057] The solution in this application embodiment achieves multilingual page display through a single page development framework by setting up a response code configuration library, a code value configuration library, and a voucher printing configuration library. This solves the cumbersome problem of needing to create multiple sets of pages and improves the versatility of the page development framework and the efficiency of page development and display.

[0058] Figure 3This is a flowchart illustrating a page development method according to an embodiment of the present invention. The page development method provided in this application embodiment is applicable to situations involving page display. Typically, this application embodiment is applicable to situations involving the display of pages in different languages. Specifically, this method can be executed by a page development device, which can be implemented in software and / or hardware, and can be integrated into an electronic device capable of implementing the page development method. For detailed descriptions of the embodiments in this application, please refer to the above embodiments. See also... Figure 3 The method in this application embodiment specifically includes:

[0059] S310. From the page development framework, determine the page configuration library corresponding to the page display identifier of the content to be displayed.

[0060] The page development framework is determined based on the page development method in any of the above embodiments. For example, in the above embodiments, a page configuration library is added to the page development framework. Therefore, the corresponding page configuration library can be found based on the page display identifier of the content to be displayed, and the preset language display content can be obtained and displayed through the content access interface of the page configuration library.

[0061] In this embodiment of the application, determining the page configuration library corresponding to the page display identifier of the content to be displayed from the page development framework includes: if the content to be displayed is a page response, then determining the response code configuration library corresponding to the response code.

[0062] For example, if it is necessary to display the page response, it is necessary to determine the corresponding configuration library for the response code, and then determine the response code display content for the preset language associated with the response code through the response code configuration library, so as to display the response code display content for the preset language.

[0063] In this embodiment of the application, determining the page configuration library corresponding to the page display identifier of the content to be displayed from the page development framework includes: if the content to be displayed is page content or transaction message, then determining the code value configuration library corresponding to the display tag.

[0064] For example, if it is necessary to display page content or transaction messages, it is necessary to determine the code value configuration library corresponding to the page tag, and then determine the code display content of the preset language associated with the page tag through the code value configuration library, and then display the code display content of the preset language.

[0065] In this embodiment of the application, determining the page configuration library corresponding to the page display identifier of the content to be displayed from the page development framework includes: if the content to be displayed is a voucher, then determining the voucher printing configuration library corresponding to the voucher printing information.

[0066] For example, if it is necessary to print vouchers, it is necessary to determine the voucher printing configuration library, and then determine the voucher printing display content in the preset language corresponding to the voucher printing information through the voucher printing configuration library, so as to display the voucher printing display content.

[0067] S320. Determine the language to be displayed on the page, and determine the language to be displayed content associated with the page display identifier of the content to be displayed from the page configuration library.

[0068] For example, the language to be displayed is the language the user needs the page to display. For instance, the language the user needs to display can be determined based on the user's selection or switching actions on the page. The display content associated with the content identifier to be displayed in the desired language can be determined from the page configuration library, thus allowing for targeted display of the content in that specific language.

[0069] S330. Display the page according to the language to be displayed.

[0070] For example, the page is displayed according to the language to be displayed determined from the page configuration library, thereby displaying the content in the language that the user wants to display on the page, meeting the usage needs of multilingual users, without the need for multiple sets of pages, only one set of pages is needed to display pages in multiple languages.

[0071] The solution in this application embodiment determines the page configuration library corresponding to the page display identifier of the content to be displayed from the page development framework; determines the preset language display content associated with the page display identifier of the content to be displayed from the page configuration library according to the language of the page to be displayed; and displays the page according to the preset language display content. Thus, by using a single page development framework, the display of pages in multiple languages ​​can be achieved, improving the efficiency of page display and enhancing the user experience.

[0072] In this embodiment of the application, the method further includes: receiving a response message and determining an error log for recording the response message according to an error information configuration table. Based on the static response code in the error log, the method determines and displays the response code display content for a preset language associated with the response code from a response code configuration library; or, based on the dynamic response code in the error log, the method determines the response code display content for a preset language associated with the response code from a response code configuration library, and then assembles it with the service parameters of the response message before displaying it.

[0073] For example, such as Figure 4As shown, the page receives the server's response message, searches the error log through the error information configuration table, records the error, and displays the response result. If it's a static response, the page directly displays the response code for the preset language associated with the response code, determined from the response code configuration library. If it's a dynamic response, the page determines the response code for the preset language associated with the response code from the response code configuration library, assembles it with the business parameters of the response message, and then displays it, thus achieving the display of both static and dynamic responses.

[0074] Figure 5 This is a schematic diagram of a page development apparatus provided in one embodiment of the present invention. This apparatus is applicable to situations involving the development and display of pages. Typically, embodiments of this application are applicable to the development and display of pages in different languages. This apparatus can be implemented in software and / or hardware, and can be integrated into an electronic device. See also... Figure 5 The device specifically includes:

[0075] The configuration library setting module 410 is used to set the page configuration library and set the association between the page display identifier and the preset language display content in the configuration library;

[0076] The interface setting module 420 is used to set a content access interface for the page configuration library, so as to call the preset language display content in the page configuration library through the content access interface;

[0077] Add module 430, which is used to add the page configuration library to the page development framework so that the page development framework can access the page configuration library to develop and display the page.

[0078] In this embodiment of the application, the configuration library setting module 410 includes:

[0079] The response code configuration library setting unit is used to set the response code configuration library and set the association between the response codes and the display content of the response codes in the preset languages.

[0080] In this embodiment of the application, the response code includes a dynamic response code and a static response code, and the dynamic response code includes a static response code and parameters.

[0081] In this embodiment of the application, the configuration library setting module 410 includes:

[0082] The code value configuration library setting unit is used to set the code value configuration library and to set the association between the display labels and the code display content of the preset language in the code value configuration library.

[0083] In this embodiment of the application, the configuration library setting module 410 includes:

[0084] The voucher printing configuration library setting unit is used to set up the voucher printing configuration library and set the association between voucher printing information and voucher printing display content in a preset language within the voucher printing configuration library.

[0085] In this embodiment of the application, the device further includes:

[0086] The user addition module is used to add at least two users to a page instance so that at least two users can access the same page instance.

[0087] The page development apparatus configured in the integrated server provided in this application embodiment can execute the page development method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the execution method.

[0088] Figure 6 This is a schematic diagram of a page display device according to an embodiment of the present invention. This device is applicable to situations where pages are displayed. Typically, embodiments of this application are applicable to situations where pages in different languages ​​are displayed. See also... Figure 6 The device specifically includes:

[0089] The configuration library determination module 510 is used to determine the page configuration library corresponding to the page display identifier of the content to be displayed from the page development framework;

[0090] The display content determination module 520 is used to determine the language to be displayed on the page and to determine the display content in the language associated with the page display identifier of the content to be displayed from the page configuration library.

[0091] Display module 530 is used to display page content according to the language to be displayed;

[0092] The page development framework is determined based on the page development method in any of the above embodiments.

[0093] In this embodiment of the application, the configuration library determination module 510 includes:

[0094] The response code configuration library determination unit is used to determine the response code configuration library corresponding to the response code if the content to be displayed is a page response.

[0095] In this embodiment of the application, the configuration library determination module 510 includes:

[0096] The code value configuration library determination unit is used to determine the code value configuration library corresponding to the display label if the content to be displayed is page content or transaction message.

[0097] In this embodiment of the application, the configuration library determination module 510 includes:

[0098] The voucher printing configuration library determination unit is used to determine the voucher printing configuration library corresponding to the voucher printing information if the content to be displayed is a voucher.

[0099] In this embodiment of the application, the device further includes:

[0100] The error log determination module is used to receive response messages and determine the error log to be recorded in the response messages based on the error information configuration table.

[0101] In this embodiment of the application, the device further includes:

[0102] The static response code display module is used to determine the response code display content associated with the static response code in the error log from the response code configuration library and display it in a preset language; or...

[0103] The dynamic response code display module is used to determine the response code display content associated with the preset language from the response code configuration library based on the dynamic response code of the error log, and then display it after assembling it with the business parameters of the response message.

[0104] The page development apparatus provided in this application embodiment can execute the page development method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the execution method.

[0105] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Figure 7 A block diagram is shown that is suitable for implementing an exemplary electronic device 612 according to embodiments of this application. Figure 7 The electronic device 612 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0106] like Figure 7 As shown, the electronic device 612 may include: one or more processors 616; and a memory 628 for storing one or more programs, which, when executed by the one or more processors 616, cause the one or more processors 616 to implement the page development method provided in this application embodiment, including:

[0107] Set up a page configuration library, and set the association between the page display identifier and the preset language display content in the configuration library;

[0108] Set up a content access interface for the page configuration library so that the preset language display content in the page configuration library can be called through the content access interface;

[0109] Add the page configuration library to the page development framework so that the page development framework can access the page configuration library to develop and display the page.

[0110] Alternatively, the page display method provided in the embodiments of this application includes:

[0111] From the page development framework, determine the page configuration library corresponding to the page display identifier of the content to be displayed;

[0112] Determine the language to be displayed on the page, and determine the display content in the language associated with the page display identifier of the content to be displayed from the page configuration library;

[0113] The page is displayed according to the language to be displayed.

[0114] The page development framework is determined based on the page development method in any of the above embodiments.

[0115] The components of the electronic device 612 may include, but are not limited to: one or more processors or processor 616, memory 628, and bus 618 connecting different device components (including memory 628 and processor 616).

[0116] Bus 618 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Processor ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0117] Electronic device 612 typically includes a variety of computer-readable storage media. These storage media can be any available storage media that can be accessed by electronic device 612, including volatile and non-volatile storage media, removable and non-removable storage media.

[0118] Memory 628 may include computer device readable storage media in the form of volatile memory, such as random access memory (RAM) 630 and / or cache memory 632. Electronic device 612 may further include other removable / non-removable, volatile / non-volatile computer device storage media. By way of example only, storage system 634 may be used to read and write non-removable, non-volatile magnetic storage media (… Figure 7 Not shown; usually referred to as a "hard drive"). Although Figure 7Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a CD-ROM, DVD-ROM, or other optical storage medium) may be provided. In these cases, each drive may be connected to bus 618 via one or more data storage medium interfaces. Memory 628 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0119] A program / utility 640 having a set (at least one) of program modules 642 may be stored, for example, in memory 628. Such program modules 642 include, but are not limited to, operating devices, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 642 typically perform the functions and / or methods described in the embodiments of the present invention.

[0120] Electronic device 612 can also communicate with one or more external devices 614 (e.g., keyboard, pointing device, display 624, etc.), and with one or more devices that enable a user to interact with the electronic device 612, and / or with any device that enables the electronic device 612 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through input / output (I / O) interface 622. Furthermore, electronic device 612 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 620. Figure 7 As shown, network adapter 620 communicates with other modules of electronic device 612 via bus 618. It should be understood that, although... Figure 7 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 612, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices.

[0121] The processor 616 performs various functional applications and data processing by running at least one of the multiple programs stored in the memory 628, such as implementing a page development method provided in the embodiments of this application.

[0122] One embodiment of the present invention provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to implement the page development method provided in the embodiments of this application, including:

[0123] Set up a page configuration library, and set the association between the page display identifier and the preset language display content in the configuration library;

[0124] Set up a content access interface for the page configuration library so that the preset language display content in the page configuration library can be called through the content access interface;

[0125] Add the page configuration library to the page development framework so that the page development framework can access the page configuration library to develop and display the page.

[0126] Alternatively, the page display method provided in the embodiments of this application includes:

[0127] From the page development framework, determine the page configuration library corresponding to the page display identifier of the content to be displayed;

[0128] Determine the language to be displayed on the page, and determine the display content in the language associated with the page display identifier of the content to be displayed from the page configuration library;

[0129] The page is displayed according to the language to be displayed.

[0130] The page development framework is determined based on the page development method in any of the above embodiments.

[0131] The computer storage medium in this application embodiment can be any combination of one or more computer-readable storage media. The computer-readable storage medium can be a computer-readable signal storage medium or a computer-readable storage medium in general. For example, a computer-readable storage medium can be—but is not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application embodiment, the computer-readable storage medium can be any tangible storage medium containing or storing a program that can be used by or in conjunction with an instruction execution device, apparatus, or device.

[0132] Computer-readable signal storage media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal storage media may also be any computer-readable storage medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in connection with an instruction execution device, apparatus, or apparatus.

[0133] Program code contained on a computer-readable storage medium may be transmitted using any suitable storage medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0134] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or device. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0135] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A page development method characterized by comprising: The method comprises: setting a page configuration library and setting an association relationship between a page display identifier and preset language display content in the configuration library; setting a content access interface for the page configuration library to call the preset language display content in the page configuration library through the content access interface; adding the page configuration library to a page development framework, including the association relationship between the page display identifier and the preset language display content in the page configuration library in one page development framework, so that the page development framework accesses the page configuration library for page development display, and different language display pages can be realized based on one set of page development framework; wherein the page development framework is a development framework including development codes for developing a page; setting a page configuration library and setting an association relationship between a page display identifier and preset language display content in the configuration library, comprising: setting a response code configuration library and setting an association relationship between a response code and a response code display content of a preset language in the response code configuration library; the response code comprises a dynamic response code and a static response code, and the dynamic response code comprises a static response code and a parameter; setting a page configuration library and setting an association relationship between a page display identifier and preset language display content in the configuration library, comprising: setting a code value configuration library and setting an association relationship between a display label and a code display content of a preset language in the code value configuration library; setting a page configuration library and setting an association relationship between a page display identifier and preset language display content in the configuration library, comprising: setting a credential printing configuration library and setting an association relationship between credential printing information and a credential printing display content of a preset language in the credential printing configuration library.

2. The method of claim 1, wherein, The method further comprises: for one page instance, adding at least two users to enable at least two users to access the same page instance.

3. A page display method characterized by comprising: The method comprises: determining, from a page development framework, a page configuration library corresponding to a page display identifier of to-be-displayed content; determining a to-be-displayed language of a page, and determining, from the page configuration library, a to-be-displayed language display content associated with the page display identifier of the to-be-displayed content; performing page display according to the to-be-displayed language display content; wherein the page development framework is determined based on the page development method of claim 1 or 2.

4. The method of claim 3, wherein, determining, from a page development framework, a page configuration library corresponding to a page display identifier of to-be-displayed content, comprising: if the to-be-displayed content is a page response, determining a response code configuration library corresponding to a response code.

5. The method of claim 3, wherein, determining, from a page development framework, a page configuration library corresponding to a page display identifier of to-be-displayed content, comprising: if the to-be-displayed content is a page content or a transaction message, determining a code value configuration library corresponding to a display label.

6. The method of claim 3, wherein, determining, from a page development framework, a page configuration library corresponding to a page display identifier of to-be-displayed content, comprising: if the to-be-displayed content is a credential, determining a credential printing configuration library corresponding to credential printing information.

7. The method of claim 3, wherein, The method further comprises: receiving a response message and determining an error log recording the response message according to an error information configuration table.

8. The method of claim 7, wherein, The method further comprises: According to the static response code of the error log, response code display content of a preset language associated with the response code is determined from a response code configuration library and is displayed. According to the dynamic response code of the error log, response code display content of a preset language associated with the response code is determined from a response code configuration library, is assembled with a service parameter of a response message, and is displayed.

9. A page development apparatus characterized by comprising: The apparatus comprises: A configuration library setting module is configured to set a page configuration library and set an association between a page display identifier and preset language display content in the configuration library. An interface setting module is configured to set a content access interface for the page configuration library, so that the preset language display content in the page configuration library is called through the content access interface. An adding module is configured to add the page configuration library to a page development framework, so that the association between the page display identifier and the preset language display content in the page configuration library is included in one page development framework, so that the page development framework accesses the page configuration library to develop and display a page, and different language display pages can be realized based on one set of page development framework. The page development framework is a development framework including development codes for developing a page. The configuration library setting module comprises: A response code configuration library setting unit is configured to set a response code configuration library and set an association between a response code and response code display content of a preset language in the response code configuration library. The response code comprises a dynamic response code and a static response code, and the dynamic response code comprises a static response code and a parameter. The configuration library setting module comprises: A code value configuration library setting unit is configured to set a code value configuration library and set an association between a display label and code display content of a preset language in the code value configuration library. The configuration library setting module comprises: A credential printing configuration library setting unit is configured to set a credential printing configuration library and set an association between credential printing information and credential printing display content of a preset language in the credential printing configuration library.

10. A page display device characterized by comprising: The apparatus comprises: A configuration library determining module is configured to determine a page configuration library corresponding to a page display identifier of to-be-displayed content from a page development framework. A display content determining module is configured to determine a to-be-displayed language of a page and determine to-be-displayed language display content associated with the page display identifier of to-be-displayed content from the page configuration library. A display module is configured to display a page according to the to-be-displayed language display content. The page development framework is determined based on the page development method of claim 1 or 2.

11. An electronic device, comprising: The electronic device comprises: One or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the page development method of claim 1 or 2, or implement the page display method of any one of claims 3-8.

12. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the page development method of claim 1 or 2, or implement the page display method of any one of claims 3-8.

Citation Information

Patent Citations

  • H5 page multilingual render method and device

    CN108984170A