Data processing method, system and device
By cache multilingual copy data on the application server and using the content distribution network, the problem of excessive loading time for multilingual websites is solved, and smaller loading time and high-performance copy data reading is achieved.
Patent Information
- Application Number
- CN202411348630.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-09-25
AI Technical Summary
When multilingual websites process data from multiple languages, they cause too long page loading time, especially for users with slow network speeds or low device performance, and there are redundant formats and script codes.
By caching page copy data on the application server, determining scene tag information in response to copy update requests, building a copy acquisition request and sending it to the content distribution network, receiving and updating multilingual copy data to the local cache, avoiding sending redundant copy data.
It realizes a smaller loading time for pages, supports the client to display page content in the specified language according to user needs, reduces the impact of network overhead on performance, and avoids the high cost of full loading and the complexity of on-demand loading.
Smart Images

Figure CN119415197A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present specification relate to the field of page processing technology, and in particular to data processing methods, systems, and devices. Background Art
[0002] With the development of computer and Internet technology, in order to support project pages to provide users with a more flexible user experience, multilingual websites have become the focus of development of various project platforms. Multilingual websites can cover users from more countries and regions, allowing users to browse page content in their own familiar language. However, this setting also brings more difficult challenges to the platform. If a page contains data in multiple languages, the amount of data on the entire web page will increase significantly, and because different page content needs to be implemented in different languages, this can easily cause redundant formats and script codes. As a result, the page loading time is too long, which brings a poor experience to users with slow Internet speeds or low device performance. Therefore, an effective solution is urgently needed to solve the above problems. Summary of the invention
[0003] In view of this, an embodiment of this specification provides a data processing method. One or more embodiments of this specification also relate to a data processing system, a data processing device, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.
[0004] According to a first aspect of an embodiment of this specification, a data processing method is provided, which is applied to an application server, including: In response to a copy update request monitored by a copy configuration server, determining scene tag information; Constructing a text acquisition request corresponding to the scene tag information, and sending the text acquisition request to a content distribution network; Receiving multilingual copy data sent by the content distribution network in response to the copy acquisition request, and updating the multilingual copy data to a local cache based on the scene tag information; When receiving a page display request submitted by a client, the target multi-language copy data corresponding to the page display request is read from the updated local cache, and the target multi-language copy data is sent to the client.
[0005] According to a second aspect of an embodiment of this specification, a data processing system is provided, the data processing system comprising a copywriting configuration server, an application server, a content distribution network and a client, including: The copy configuration server is used to receive multilingual copy data submitted by a copy editing user for a target project page; send the multilingual copy data to the content distribution network, and send a copy update request to the application server; The application server is configured to determine the scene tag information in response to the text update request; construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to the content distribution network; receive the multilingual text data sent by the content distribution network in response to the text acquisition request, and update the multilingual text data to a local cache based on the scene tag information; The client is used to send a page display request associated with the target project page to the application server, receive target multi-language copy data fed back by the application server in response to the page display request; and render and display the target project page based on the target multi-language copy data.
[0006] According to a third aspect of an embodiment of this specification, there is provided a data processing device, applied to an application server, comprising: A determination module, configured to determine scene tag information in response to a copy update request monitored by a copy configuration server; A construction module is configured to construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to a content distribution network; An updating module, configured to receive the multilingual copy data sent by the content distribution network in response to the copy acquisition request, and update the multilingual copy data to a local cache based on the scene tag information; The sending module is configured to, upon receiving a page display request submitted by a client, read the target multilingual copy data corresponding to the page display request in the updated local cache, and send the target multilingual copy data to the client.
[0007] According to a fourth aspect of an embodiment of this specification, a computing device is provided, including: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above data processing method are implemented.
[0008] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned data processing method are implemented.
[0009] According to a sixth aspect of the embodiments of this specification, a computer program product is provided, comprising a computer program or instructions, which implement the steps of the above-mentioned data processing method when executed by a processor.
[0010] The data processing method provided in this embodiment can realize smaller page loading, so as to support the client to display the page content corresponding to the specified language according to the user's needs. When the application server caches the page copy data, the application server can respond to the copy update request monitored by the copy configuration server to determine the scene tag information; at this time, a copy acquisition request corresponding to the scene tag information can be constructed, and the copy acquisition request can be sent to the content distribution network; then, the multi-language copy data issued by the content distribution network for the copy acquisition request can be received, and the multi-language copy data can be updated to the local cache based on the scene tag information; the caching of the multi-language copy data in the local cache can be completed according to the tag, so as to support that when the page display request submitted by the client is received, the target multi-language copy data corresponding to the page display request can be read in the updated local cache, thereby avoiding sending redundant copy data, and finally the target multi-language copy data can be sent to the client, so as to realize that the application server updates the multi-language copy data by dynamic monitoring, and can provide the required target multi-language copy data in response to the request of the client, thereby minimizing the loading time and achieving the purpose of high-performance reading of multi-language copy data. In addition, by combining the capabilities of the content distribution network, labeling can be performed on the copy configuration server, and copy data caching can be performed on the application server. This can effectively avoid the high cost of full loading and the complexity of on-demand loading, thereby effectively reducing the impact of network overhead on performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 is a schematic diagram of a data processing method provided by an embodiment of this specification; Figure 2 is a flow chart of a data processing method provided by an embodiment of this specification; Figure 3 is a schematic diagram of a project page in a data processing method provided in one embodiment of this specification; Figure 4 is a structural diagram of a data processing system provided by an embodiment of this specification; Figure 5 is a structural schematic diagram of a data processing device provided by an embodiment of this specification; Figure 6 is a processing flow chart of a data processing method provided by an embodiment of this specification; Figure 7It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0012] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0013] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0014] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0015] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0016] First, the terms involved in one or more embodiments of this specification are explained.
[0017] CDN: (Content Delivery Network) is a technology that optimizes content transmission in the network by deploying node servers throughout the network. The purpose of CDN is to enable users to obtain the required content nearby, improve the response speed of users accessing websites and the availability of websites. CDN uses intelligent DNS load balancing technology to direct user requests to the nearest cache node, thereby reducing the transmission distance and transmission time of data in the network.
[0018] In this specification, a data processing method is provided. This specification also relates to a data processing device, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.
[0019] In actual applications, in the design of project pages, in order to provide a cross-language user experience, developers usually embed support options for multiple languages. In a multilingual page, you may need to include different language versions of multiple elements such as text, buttons, instructions, legal terms and privacy policies. From a technical point of view, such a design choice can indeed increase the user-friendliness of the page, but it may also bring several challenges. First, once the page contains multilingual data, the amount of data on the entire web page will increase. Because each piece of content needs to be implemented in a different language, this may include redundant formatting and script code. The increase in data volume means longer loading time, which is especially obvious when the network speed is slow or the user's device performance is low. Secondly, when the server processes multilingual requests, it may increase CPU and memory usage because it needs to retrieve additional resource files, process multilingual database queries, or call external translation APIs, which will further affect system performance. Therefore, an effective solution is urgently needed to solve the above problems.
[0020] See also Figure 1As shown in the schematic diagram, the data processing method provided by this embodiment, in order to achieve smaller page loading, so as to support the client to display the page content corresponding to the specified language according to the user's needs, when the application server caches the page copy data, the application server responds to the copy update request monitored by the copy configuration server and determines the scene tag information; at this time, a copy acquisition request corresponding to the scene tag information can be constructed, and the copy acquisition request can be sent to the content distribution network; then, the multi-language copy data issued by the content distribution network for the copy acquisition request can be received, and the multi-language copy data can be updated to the local cache based on the scene tag information; the caching of the multi-language copy data in the local cache is completed according to the tag, so that when the page display request submitted by the client is received, the target multi-language copy data corresponding to the page display request can be read in the updated local cache, thereby avoiding sending redundant copy data, and finally the target multi-language copy data can be sent to the client, so that the application server updates the multi-language copy data by dynamic monitoring, and can provide the required target multi-language copy data in response to the request of the client, thereby minimizing the loading time and achieving the purpose of high-performance reading of multi-language copy data. In addition, by combining the capabilities of the content distribution network, labeling can be performed on the copy configuration server, and copy data caching can be performed on the application server. This can effectively avoid the high cost of full loading and the complexity of on-demand loading, thereby effectively reducing the impact of network overhead on performance.
[0021] See also Figure 2 , Figure 2 A flow chart of a data processing method provided according to an embodiment of the present specification is shown. The method is applied to an application server and specifically includes the following steps.
[0022] Step S202: determining scene tag information in response to a text update request monitored by the text configuration server.
[0023] The data processing method provided in this embodiment can be applied to any project page with multilingual provision requirements, such as shopping pages, news browsing pages, video playback pages, web navigation pages, etc. This embodiment does not make any limitation here. This embodiment takes the example of providing multilingual functions for shopping pages to illustrate the data processing method. The description of other scenarios can refer to the same or corresponding description in this embodiment, and this embodiment will not be repeated in detail here.
[0024] Specifically, the application server specifically refers to a server for managing page data corresponding to a project page, and the server also stores multilingual copy data that supports switching between multiple languages for the project page, wherein the multilingual copy data is edited and generated by the copy editing user on the copy configuration server; it should be noted that since users accessing the project page may be distributed in different regions, in order to be able to quickly respond to user access needs, application servers can be deployed in different regions, thereby supporting users to complete data acquisition and page rendering and display through the nearest application server. Correspondingly, the copy update request specifically refers to the request obtained by the application server when monitoring the copy configuration server, which is used by the application server to request the corresponding multilingual copy data at the content distribution network to complete the cache locally, so that when the client views the project page, the application server can provide the corresponding multilingual copy data, supporting users to switch copy content in different languages on the project page.
[0025] Correspondingly, the scene label information specifically refers to the label information used to group different multilingual copy data, which can be understood as the scene label information specifying the scenarios in which different multilingual copy data are applied. For example, the multilingual copy data includes Chinese copy, English copy, Korean copy... Russian copy, etc. Through the scene label information, it can be determined that the above copy data needs to be applied to the Add to Cart control contained in the product details page of the shopping page. That is, when the Add to Cart control is displayed on the product details page, it is necessary to read the copy data corresponding to the control in combination with the scene label information, so that the text on the control can be set to one of the Chinese copy, English copy, Korean copy... Russian copy, etc. according to the user's language setting requirements, thereby meeting shopping needs.
[0026] In other words, scene label information can be used as a basic element for reading multilingual copy data when the project page is displayed. In order to support multilingual copy data to be queried according to scene label information, when storing multilingual copy data, it is also necessary to complete caching according to scene label information, thereby supporting more fine-grained multilingual copy data queries.
[0027] Furthermore, in order to enable the application server to provide multi-language text data in response to the client's page display request and to display the page content in the language selected by the user on the client, it is necessary to store all the multi-language text data corresponding to the project page in advance at the application server, and then if the text data is updated, it can be completed by incremental update, thereby avoiding repeated configuration. In this embodiment, the specific implementation method is as follows: Receive a multilingual copy publishing message issued by the copy configuration server for a project page; construct an acquisition request according to the multilingual copy publishing message, and send the acquisition request to the content distribution network; receive global multilingual copy data issued by the content distribution network for the acquisition request; group the global multilingual copy data according to preset reference scene label information, and store the grouped global multilingual copy data in the local cache.
[0028] Specifically, the copy configuration server refers to a server that provides copy data editing functions to copy editing users. Copy editing users can configure multiple language copy on the copy configuration server according to the unique identifier key, such as configuring Chinese copy, English copy, Korean copy, Russian copy, etc. for the add shopping control, so that the control can display text content in different languages. In actual applications, the unique identifier key can be used to identify the page element position where the copy data in different languages is applied, and the scene label information can be used to identify the scene where the key corresponds to the multi-language copy data application. For example, key1 corresponds to the Chinese and English copy of {return}, key2 corresponds to the Chinese and English copy of {enter}, and key1 and key2 can correspond to a scene label information, such as the product details page identifier; so that the copy corresponding to key1 and key2 is used when displaying the product details page, and the shopping cart page can also contain key3 and key4 that are the same as key1 and key2, but key3 and key4 have different scene label information from key1 and key2. That is to say, a scene tag information can correspond to multiple key identifiers, and each key identifier can contain texts in multiple languages. With this structure, multi-language text data maintenance on the application server can minimize loading time when updating and sending.
[0029] Correspondingly, multilingual copy publishing information specifically refers to the message received by the application server when the copy configuration server publishes multilingual copy data for the project page. Correspondingly, global multilingual copy data specifically refers to a copy data set consisting of all multilingual copy data associated with all scene label information corresponding to the project page. Correspondingly, the baseline scene label information is all scene label information involved in the project page, such as product details page labels, shopping cart labels, payment page labels, personal center labels, etc. Grouping refers to the processing operation of grouping global multilingual copy data according to scene label information, and grouping multilingual copy data belonging to the same scene label information into a group, so that the client can read the corresponding multilingual copy data for use when displaying the corresponding page. Correspondingly, local cache specifically refers to the storage space for storing multilingual copy data for project pages, which is used to persist global multilingual copy data so that the corresponding copy data can be fed back to the client when the client has page display requirements.
[0030] Based on this, when the application server receives the multi-language copy publishing message issued by the copy configuration server for the project page, it can build a retrieval request based on the multi-language copy publishing message and send the retrieval request to the content distribution network; at this time, through the acceleration of the content distribution network, it can quickly receive the global multi-language copy data issued by the content distribution network for the retrieval request; thereby saving the time consumed by the application server to directly request the copy configuration server. Then, the global multi-language copy data can be grouped according to the preset benchmark scene label information, so as to realize the division of the global multi-language copy data into multi-language copy data corresponding to different scenes through different scene label information, and finally the grouped global multi-language copy data can be stored in the local cache to support the client to query the corresponding copy data according to the scene to which the corresponding page belongs when it has a page display request and feedback it to the client for use.
[0031] In actual applications, after the copy configuration server completes the scene label information assignment for the multilingual copy data submitted by the copy editing user, the copy configuration server can first send the multilingual copy data to different content distribution network nodes to support rapid layout with a wider coverage. Then, a copy publishing request can be sent to the application server, thereby supporting the project server to start the application according to the copy publishing request, so as to pull the multilingual copy data from different content distribution network nodes, and finally store it in the local cache, so that when the client uses it, the application server can distribute the multilingual copy data required by the client, so as to provide users of different languages with better page display services.
[0032] In summary, by cooperating with the copy configuration server, application server and content distribution network to send multi-language copy data, the content distribution network can be used to accelerate the speed at which the application server obtains copy data, and then quickly provide page display services to the client.
[0033] Furthermore, considering that the text data corresponding to the project page may be updated at any time according to project requirements, in order to enable the application server to quickly complete the update of the corresponding text data after the update operation occurs, the text update request can be obtained by monitoring, and on this basis, the scene label information corresponding to the multilingual text data corresponding to the text update request can be determined to complete the update of the text data corresponding to the scene label information. In this embodiment, the specific implementation method is as follows: Construct a monitoring request corresponding to multiple initial scene label information according to preset monitoring rules; send the monitoring request to the copy configuration server, and receive the monitoring information fed back by the copy configuration server for the monitoring request; when it is determined based on the monitoring information that the copy data corresponding to the multiple initial scene label information has changed, receive the copy update request issued by the copy configuration server, and determine the scene label information according to the copy update request.
[0034] Specifically, the monitoring rule refers to the rules for monitoring the multi-language copy data contained in each initial scene label information, which is used to quickly request the corresponding multi-language copy data to update the locally cached copy data when an update operation of the copy data corresponding to any scene label information is monitored. Correspondingly, the monitoring information is the information of whether the copy configuration server has a copy update operation for each scene label information fed back by the application server.
[0035] Based on this, in order to avoid causing a lag in copy updates and thus affecting the client experience, the application server can construct a plurality of monitoring requests corresponding to the initial scene label information according to the preset monitoring rules; and monitor whether the copy information corresponding to each scene label information is updated by sending a monitoring request to the copy configuration server. Afterwards, the monitoring information fed back by the copy configuration server in response to the monitoring request can be received; when it is determined based on the monitoring information that the copy data corresponding to the plurality of initial scene label information has changed, it indicates that the copy configuration server has updated the multi-language copy data corresponding to a certain scene label information. Therefore, after receiving the copy update request sent by the copy configuration server, the scene label information can be determined according to the copy update request, so that the corresponding multi-language copy data can be obtained according to the scene label information to complete the update of the copy data in the local cache.
[0036] For example, the copy configuration server updates the copy involved in the product details page of the product shopping website. Specifically, the copy corresponding to control A in the product details page is {Buy}. This update updates the copy {Buy} to {Buy Now}. The updated copy involves multiple languages, including Chinese, Korean, English... Russian and other n languages. At this time, the copy configuration platform determines that the n-language copy data of {Buy Now} is configured for the key identifier, and then sends it to the content distribution network. In this case, the application server corresponding to each region will monitor the copy configuration server, and according to the monitoring results, it will determine that the scene label is the product details page label. Subsequently, the content distribution network can be requested for relevant multi-language copy data based on the label to ensure that the page details page is displayed with the latest copy content.
[0037] In summary, by monitoring the copy update request, the application server can quickly determine the copy update status, thereby ensuring that the application server can always maintain the latest copy data for use by the client.
[0038] Step S204: construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to a content distribution network.
[0039] Step S206: receiving the multi-language copy data sent by the content distribution network in response to the copy acquisition request, and updating the multi-language copy data to a local cache based on the scene tag information.
[0040] Specifically, after obtaining the scene tag information corresponding to the copy update request, in order to speed up the application server to receive the multi-language copy data, the copy configuration server can synchronize the multi-language copy data to the content distribution network when publishing new multi-language copy data. Thus, after the application server determines the scene tag information corresponding to the copy update request, it can construct a copy acquisition request corresponding to the scene tag information, send the copy acquisition request to the content distribution network, and quickly obtain the multi-language copy data corresponding to the copy update request by requesting the content distribution network.
[0041] After the content distribution network receives the copy acquisition request submitted by the application server, it can send multi-language copy data corresponding to the scene label information to the application server according to the copy acquisition request, that is, the multi-language copy data updated by the copy configuration server this time. The application server can then update the multi-language copy data to the local cache according to the scene label information, thereby realizing the persistence of the multi-language copy data, so as to support the client's display needs when they arrive, and feedback the corresponding multi-language copy data to the client for use in rendering the page.
[0042] The copy acquisition request specifically refers to a request to the content distribution network for corresponding scene tag information and the multilingual copy data updated this time. Correspondingly, the multilingual copy data specifically refers to the copy data containing copies in multiple languages sent by the content distribution network to the application server in response to the copy acquisition request.
[0043] Further, after receiving the multilingual copy data sent by the content distribution network in response to the copy acquisition request, in order to update the multilingual copy data cached locally and avoid feeding back erroneous copy information when the client has display requirements, the update can be completed in a group-determined manner. In this embodiment, the specific implementation method is as follows: The multilingual copy data is grouped according to the scene label information, and identification information corresponding to the multilingual copy data is determined; the multilingual copy data to be updated is determined in the local cache according to the identification information, and the multilingual copy data to be updated in the local cache is updated using the grouped multilingual copy data.
[0044] Specifically, the identification information specifically refers to the unique identification key corresponding to the multilingual copy data, and different copy data in different scenarios corresponds to different keys. Correspondingly, the multilingual copy data to be updated specifically refers to the copy data in the local cache that needs to be updated using the multilingual copy data.
[0045] Based on this, after receiving the multilingual copy data sent by the content distribution network, the multilingual copy data can be grouped according to the scene label information, and the identification information corresponding to the multilingual copy data can be determined; on this basis, the multilingual copy data to be updated can be determined in the local cache according to the identification information, and then the grouped multilingual copy data can be used to update the multilingual copy data to be updated in the local cache, thereby updating the multilingual copy data corresponding to the project page to the latest state.
[0046] Using the above example, if the application server corresponding to any region determines that the copy data corresponding to the product details page tag has been updated, the application server will pull the multilingual copy data corresponding to the tag on the CDN according to the product details page tag, and the CDN will send the n-language copy data corresponding to {Buy Now} to the application server. On this basis, the original copy data corresponding to the key can be determined in the local cache of the application server, and the original copy data can be updated using the n-language copy data corresponding to {Buy Now}, so that the application server can complete the caching of the latest copy data, so that the client in this region can display the latest copy content when accessing the product details page.
[0047] In summary, by combining identification information and scene label information to complete the caching of multi-language copy data, it can be ensured that when the client accesses the project page, the corresponding copy data is quickly read from the cache for use, thereby avoiding taking up too much loading time and providing a good experience for devices with low client performance.
[0048] Step S208, when receiving a page display request submitted by the client, reading the target multi-language copy data corresponding to the page display request in the updated local cache, and sending the target multi-language copy data to the client.
[0049] Specifically, at any time when the application server receives a page display request submitted by a client in the area, the project application service can read the target multi-language copy data corresponding to the page display request in the updated local cache, and send the target multi-language copy data to the client, so that the client can complete the front-end rendering of the project page according to the target multi-language copy data. Among them, the page display request specifically refers to the page display request submitted by the client to the application server, which is used to read the target multi-language copy data of the copy data required to be displayed by the client in the updated local cache. Correspondingly, the target multi-language copy data is the copy data associated with the project page that the client currently needs to display.
[0050] Furthermore, when feeding back the target multilingual copywriting data to the client, in order to ensure the accuracy of the fed-back copywriting data, it can be accomplished by parsing the request to determine the scene tag information. In this embodiment, the specific implementation is as follows: The page display request is parsed to obtain target scene label information; the updated local cache is queried according to the target scene label information to obtain target multilingual copy data, and the target multilingual copy data is sent to the client; wherein the target multilingual copy data is used to construct a target project page on the client, and the target project page contains page content corresponding to the target multilingual copy data.
[0051] Specifically, the target scene tag information specifically refers to the scene tag information corresponding to the project page that the current client needs to display. Correspondingly, the target project page specifically refers to the project page corresponding to the target scene tag information, and the text content displayed in the page is generated by the target multilingual copy data.
[0052] Based on this, when a page display request is received from a client, the page display request can be parsed first to obtain the target scene label information corresponding to the page that the current client needs to display; thereafter, the updated local cache can be queried according to the target scene label information to obtain the target multilingual copy data corresponding to the target scene label information, and then sent to the client, so that the client can build a target project page based on the target multilingual copy data, and the target project page contains page content corresponding to the target multilingual copy data to support user use or browsing.
[0053] Using the above example, when client A in the area corresponding to the application server submits a request to start the product details page, the application server determines that the request corresponds to the product details page tag. At this time, the target multilingual copy data corresponding to the product details page tag can be queried in the local cache, and then it can be sent to client A to display the following on client A: Figure 3The product details page shown in (a) in the figure. When the user switches from Chinese to English, the following Figure 3 The product details page shown in (b) is used for users to browse products.
[0054] In summary, by reading and sending the copy data in combination with the target scene label information, it is possible to minimize the query copy data and send it to the client, thereby reducing the client data loading time and quickly displaying the project page to the user.
[0055] In addition, in order to avoid sending redundant data, the target copy data can be extracted from the target multi-language copy data for sending, thereby reducing bandwidth occupancy. In this embodiment, the specific implementation method is as follows: Based on the location information corresponding to the client or the language selection information corresponding to the page display request, the target language copy data is extracted from the target multi-language copy data; and the target language copy data is sent to the client, wherein the target language copy data is used to construct the target project page on the client, and the target project page contains page content corresponding to the target language copy data.
[0056] Specifically, the location information specifically refers to the information of the client's country and city. Different location representations may indicate that users need to browse the project page in different languages. Accordingly, the language selection information specifically refers to the language information selected by the user. Accordingly, the target language copy data specifically refers to a language copy data that matches the location information or language selection information in the target multilingual copy data, so as to construct a target project page corresponding to the target language copy data on the client.
[0057] Based on this, after obtaining the target multilingual copywriting data, considering that sending all the copywriting data may occupy more network resources, in order to save network resources, the target language copywriting data can be extracted from the target multilingual copywriting data in combination with the location information corresponding to the client or the language selection information corresponding to the page display request; to achieve targeted feedback of the target copywriting data, the target language copywriting data can be sent to the client at this time, so that the client can build a target project page based on the target language copywriting data, and the target project page contains the page content corresponding to the target language copywriting data. For example, if the client location information indicates that it is located in country A, the copywriting data corresponding to country A can be selected and sent to the client for displaying the corresponding product details page.
[0058] In summary, by combining the location information and the language selection information to determine the target language copywriting data, it is possible to occupy less network resources during data transmission.
[0059] In actual applications, considering that the copy configuration server does not necessarily cover all languages when configuring copy data for different keys, it is impossible to guarantee that the project page access event of users corresponding to the uncovered languages will occur. In order to avoid the page content being unable to be displayed, the default language copy data can be used to display the page content. In this embodiment, the specific implementation method is as follows: Performing a copy data detection on the target multilingual copy data; determining, based on the detection result, that there is copy data in a preset language not configured in the target multilingual copy data, determining copy identification information of the copy data in the preset language not configured; setting the copy data corresponding to the copy identification information as the reference copy data, and sending the target multilingual copy data to the client based on the setting result.
[0060] Specifically, the copy data monitoring specifically refers to detecting whether the target multilingual copy data is configured with the preset language copy data. The copy identification information specifically refers to the identification information of the preset language copy data not being configured. Correspondingly, the reference copy data specifically refers to the default state copy data, such as Chinese copy data.
[0061] Based on this, after obtaining the target multilingual copy data, the copy data detection can be performed on the target multilingual copy data; when it is determined according to the detection result that there is copy data in the target multilingual copy data that is not configured with the preset language, it means that there is a problem that the copy identification information in the target multilingual copy data is not configured with the preset language copy data. Therefore, the copy identification information that is not configured with the preset language copy data can be determined first; and then the copy data corresponding to the copy identification information can be set as the benchmark copy data, so that the target multilingual copy data can be sent to the client according to the setting result, so that the client can correctly display the project page.
[0062] That is to say, when a certain text key of a page does not have a text in a certain language configured, the default language text can be used to ensure that the page can be displayed normally.
[0063] The data processing method provided in this embodiment, in order to achieve smaller page loading, so as to support the client to display the page content corresponding to the specified language according to the user's needs, can determine the scene tag information in response to the text update request monitored by the text configuration server when the application server caches the page text data; at this time, a text acquisition request corresponding to the scene tag information can be constructed, and the text acquisition request can be sent to the content distribution network; then, the multi-language text data issued by the content distribution network for the text acquisition request can be received, and the multi-language text data can be updated to the local cache based on the scene tag information; the caching of the multi-language text data in the local cache can be completed according to the tag, so as to support that when a page display request submitted by the client is received, the target multi-language text data corresponding to the page display request can be read in the updated local cache, thereby avoiding sending redundant text data, and finally the target multi-language text data can be sent to the client, so that the application server updates the multi-language text data by dynamic monitoring, and can provide the required target multi-language text data in response to the request of the client, thereby minimizing the loading time and achieving the purpose of high-performance reading of multi-language text data. In addition, by combining the capabilities of the content distribution network, labeling can be performed on the copy configuration server, and copy data caching can be performed on the application server. This can effectively avoid the high cost of full loading and the complexity of on-demand loading, thereby effectively reducing the impact of network overhead on performance.
[0064] Corresponding to the above method embodiment, this specification also provides a data processing system embodiment. Figure 4 FIG. 1 shows a schematic diagram of a data processing system provided by an embodiment of the present specification. Figure 4 As shown, the data processing system 400 includes a copywriting configuration server 410, an application server 420, a content distribution network 430 and a client 440, including: The copy configuration server 410 is used to receive multilingual copy data submitted by a copy editor for a target project page; send the multilingual copy data to the content distribution network 430, and send a copy update request to the application server; The application server 420 is configured to determine the scene tag information in response to the text update request; construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to the content distribution network 430; receive the multilingual text data sent by the content distribution network in response to the text acquisition request, and update the multilingual text data to a local cache based on the scene tag information; The client 440 is used to send a page display request associated with the target project page to the application server, receive the target multi-language copy data fed back by the application server in response to the page display request; and render and display the target project page based on the target multi-language copy data.
[0065] Any content not described in detail in the data processing system provided in this embodiment can refer to the same or corresponding description in the above embodiments, and this embodiment will not be described in detail here.
[0066] When configuring multilingual copy data according to the copy editing user, the copy configuration server can group the copy data according to the scene tag information before sending it to the content distribution network in order to achieve a finer-grained division of the copy data. In this embodiment, the copy configuration server is also used to receive the multilingual copy data submitted by the copy editing user according to the copy identification information associated with the target project page, assign scene tag information to the multilingual copy data; send the multilingual copy data to the content distribution network according to the tag information assignment result, and send a copy update request associated with the scene tag information to the application server.
[0067] That is to say, the copy configuration server can identify the page element position of the copy data application in different languages through the unique identifier key, and identify the scene of the multi-language copy data application corresponding to the key through the scene label information. For example, key1 corresponds to the Chinese and English copy of {return}, key2 corresponds to the Chinese and English copy of {enter}, and key1 and key2 can correspond to a scene label information, such as the product details page identifier; so that the copy corresponding to key1 and key2 is used when displaying the product details page, and the shopping cart page can also contain the same key3 and key4 as key1 and key2, but key3 and key4 have different scene label information from key1 and key2. In other words, a scene label information can correspond to multiple key identifiers, and each key identifier can contain copy in multiple languages. With this structure, multi-language copy data maintenance on the application server can minimize loading time when updating and sending.
[0068] On this basis, the copy configuration server can send the grouped multi-language copy data to the content distribution network, and at the same time send a copy update request with associated scene label information to the application server, so that the application server can obtain the multi-language copy data by monitoring, thereby quickly completing the copy data update.
[0069] In an optional embodiment, the client is also used to send a page display request associated with the target project page to the application server; the application server is also used to receive the page display request, and parse the page display request to obtain target scene label information; query the updated local cache according to the target scene label information, obtain target multilingual copy data, and send the target multilingual copy data to the client.
[0070] That is to say, when receiving a page display request submitted by the client, the page display request can be parsed first to obtain the target scene label information corresponding to the page that the current client needs to display; thereafter, the updated local cache can be queried according to the target scene label information to obtain the target multilingual copy data corresponding to the target scene label information, and then sent to the client, so that the client can build a target project page according to the target multilingual copy data, and the target project page contains page content corresponding to the target multilingual copy data to support user use or browsing.
[0071] In summary, by reading and sending the copy data in combination with the target scene label information, it is possible to minimize the query copy data and send it to the client, thereby reducing the client data loading time and quickly displaying the project page to the user.
[0072] The data processing system provided in this embodiment can achieve smaller page loading, so as to support the client to display the page content corresponding to the specified language according to the user's needs. When the application server caches the page copy data, the application server can respond to the copy update request monitored by the copy configuration server to determine the scene tag information; at this time, a copy acquisition request corresponding to the scene tag information can be constructed, and the copy acquisition request can be sent to the content distribution network; then, the multi-language copy data issued by the content distribution network for the copy acquisition request can be received, and the multi-language copy data can be updated to the local cache based on the scene tag information; the caching of the multi-language copy data in the local cache can be completed according to the tag, so as to support that when a page display request submitted by the client is received, the target multi-language copy data corresponding to the page display request can be read in the updated local cache, thereby avoiding sending redundant copy data, and finally the target multi-language copy data can be sent to the client, so that the application server can update the multi-language copy data by dynamic monitoring, and can provide the required target multi-language copy data in response to the request of the client, thereby minimizing the loading time and achieving the purpose of high-performance reading of multi-language copy data. In addition, by combining the capabilities of the content distribution network, labeling can be performed on the copy configuration server, and copy data caching can be performed on the application server. This can effectively avoid the high cost of full loading and the complexity of on-demand loading, thereby effectively reducing the impact of network overhead on performance.
[0073] The above is a schematic scheme of a data processing system of this embodiment. It should be noted that the technical scheme of the data processing system and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the data processing system can be referred to the description of the technical scheme of the above data processing method.
[0074] Corresponding to the above method embodiment, this specification also provides a data processing device embodiment, Figure 5 FIG. 1 is a schematic diagram showing the structure of a data processing device provided by an embodiment of the present specification. Figure 5 As shown, the device is applied to an application server and includes: The determination module 502 is configured to determine the scene tag information in response to the copy update request monitored by the copy configuration server; A construction module 504 is configured to construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to a content distribution network; An updating module 506 is configured to receive the multilingual copy data sent by the content distribution network in response to the copy acquisition request, and update the multilingual copy data to a local cache based on the scene tag information; The sending module 508 is configured to, upon receiving a page display request submitted by a client, read the target multi-language copy data corresponding to the page display request from the updated local cache, and send the target multi-language copy data to the client.
[0075] In an optional embodiment, the device further comprises: The cache data module is configured to receive a multilingual copy publishing message issued by the copy configuration server for a project page; construct an acquisition request according to the multilingual copy publishing message, and send the acquisition request to the content distribution network; receive global multilingual copy data issued by the content distribution network for the acquisition request; group the global multilingual copy data according to preset reference scene label information, and store the grouped global multilingual copy data in the local cache.
[0076] In an optional embodiment, the determining module 502 is further configured to: Construct a monitoring request corresponding to multiple initial scene label information according to preset monitoring rules; send the monitoring request to the copy configuration server, and receive the monitoring information fed back by the copy configuration server for the monitoring request; when it is determined based on the monitoring information that the copy data corresponding to the multiple initial scene label information has changed, receive the copy update request issued by the copy configuration server, and determine the scene label information according to the copy update request.
[0077] In an optional embodiment, the updating module 506 is further configured to: The multilingual copy data is grouped according to the scene label information, and identification information corresponding to the multilingual copy data is determined; the multilingual copy data to be updated is determined in the local cache according to the identification information, and the multilingual copy data to be updated in the local cache is updated using the grouped multilingual copy data.
[0078] In an optional embodiment, the sending module 508 is further configured to: The page display request is parsed to obtain target scene label information; the updated local cache is queried according to the target scene label information to obtain target multilingual copy data, and the target multilingual copy data is sent to the client; wherein the target multilingual copy data is used to construct a target project page on the client, and the target project page contains page content corresponding to the target multilingual copy data.
[0079] In an optional embodiment, the device further comprises: The extraction module is configured to extract target language copy data from the target multi-language copy data based on the location information corresponding to the client or the language selection information corresponding to the page display request; and send the target language copy data to the client, wherein the target language copy data is used to construct the target project page on the client, and the target project page contains page content corresponding to the target language copy data.
[0080] In an optional embodiment, the device further comprises: The detection module is configured to perform text data detection on the target multilingual text data; determine the text identification information of the text data in the preset language that is not configured in the target multilingual text data according to the detection result; set the text data corresponding to the text identification information as the reference text data, and send the target multilingual text data to the client according to the setting result.
[0081] The data processing device provided in this embodiment can realize smaller page loading, so as to support the client to display the page content corresponding to the specified language according to the user's needs. When the application server caches the page copy data, the application server can respond to the copy update request monitored by the copy configuration server to determine the scene tag information; at this time, a copy acquisition request corresponding to the scene tag information can be constructed, and the copy acquisition request can be sent to the content distribution network; then, the multi-language copy data issued by the content distribution network for the copy acquisition request can be received, and the multi-language copy data can be updated to the local cache based on the scene tag information; the caching of the multi-language copy data in the local cache can be completed according to the tag, so as to support that when the page display request submitted by the client is received, the target multi-language copy data corresponding to the page display request can be read in the updated local cache, thereby avoiding sending redundant copy data, and finally the target multi-language copy data can be sent to the client, so as to realize that the application server updates the multi-language copy data by dynamic monitoring, and can provide the required target multi-language copy data in response to the request of the client, thereby minimizing the loading time and achieving the purpose of high-performance reading of multi-language copy data. In addition, by combining the capabilities of the content distribution network, labeling can be performed on the copy configuration server, and copy data caching can be performed on the application server. This can effectively avoid the high cost of full loading and the complexity of on-demand loading, thereby effectively reducing the impact of network overhead on performance.
[0082] The above is a schematic scheme of a data processing device of this embodiment. It should be noted that the technical scheme of the data processing device and the technical scheme of the above data processing method belong to the same concept, and the details of the technical scheme of the data processing device that are not described in detail can be referred to the description of the technical scheme of the above data processing method.
[0083] The following combination Figure 6 , taking the application of the data processing method provided in this specification in the corresponding page of the international shopping platform as an example, the data processing method is further explained. Figure 6 A processing flow chart of a data processing method provided by an embodiment of the present specification is shown, which specifically includes the following steps.
[0084] Step S602: the copy configuration server receives multilingual copy data submitted by the copy editing user according to copy identification information associated with the target project page.
[0085] Step S604: the copy configuration server allocates scene label information to the multi-language copy data.
[0086] Step S606: the copy configuration server sends the multilingual copy data to the content distribution network according to the label information allocation result, and sends a copy update request of the associated scene label information to the application server.
[0087] Step S608: The application server determines scene tag information in response to the text update request.
[0088] Step S610: The application server constructs a text acquisition request corresponding to the scene tag information, and sends the text acquisition request to the content distribution network.
[0089] Step S612: the application server receives the multilingual text data sent by the content distribution network in response to the text acquisition request.
[0090] Step S614: the application server groups the multi-language text data according to the scene tag information, and determines identification information corresponding to the multi-language text data.
[0091] Step S616: the application server determines the multilingual text data to be updated in the local cache according to the identification information, and updates the multilingual text data to be updated in the local cache using the grouped multilingual text data.
[0092] Step S618: the client sends a page display request of the associated target project page to the application server.
[0093] Step S620: The application server receives the page display request, and parses the page display request to obtain target scene tag information.
[0094] Step S622: the application server queries the updated local cache according to the target scene tag information, obtains the target multi-language copy data, and sends the target multi-language copy data to the client.
[0095] Step S624 : the client receives the target multi-language text data fed back by the application server in response to the page display request, and renders and displays the target project page based on the target multi-language text data.
[0096] In summary, in order to achieve smaller page loading, so as to support the client to display the page content corresponding to the specified language according to the user's needs, when the application server caches the page copy data, the application server can respond to the copy update request monitored by the copy configuration server to determine the scene tag information; at this time, a copy acquisition request corresponding to the scene tag information can be constructed, and the copy acquisition request can be sent to the content distribution network; then, the multi-language copy data issued by the content distribution network for the copy acquisition request can be received, and the multi-language copy data can be updated to the local cache based on the scene tag information; the caching of the multi-language copy data in the local cache is completed according to the tag, so as to support that when the page display request submitted by the client is received, the target multi-language copy data corresponding to the page display request can be read in the updated local cache, thereby avoiding sending redundant copy data, and finally the target multi-language copy data can be sent to the client, so as to update the multi-language copy data by dynamic monitoring in the application server, and provide the required target multi-language copy data in response to the client's request, thereby minimizing the loading time and achieving the purpose of high-performance reading of multi-language copy data. In addition, by combining the capabilities of the content distribution network, labeling can be performed on the copy configuration server, and copy data caching can be performed on the application server. This can effectively avoid the high cost of full loading and the complexity of on-demand loading, thereby effectively reducing the impact of network overhead on performance.
[0097] Figure 7 The block diagram of a computing device 700 according to an embodiment of the present specification is shown. The components of the computing device 700 include but are not limited to a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and the database 750 is used to store data.
[0098] The computing device 700 also includes an access device 740 that enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 740 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).
[0099] In one embodiment of the present specification, the above components of the computing device 700 and Figure 7 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 7 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0100] The computing device 700 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 700 may also be a mobile or stationary server.
[0101] The processor 720 is used to execute the following computer executable instructions, which implement the steps of the above data processing method when executed by the processor.
[0102] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above data processing method.
[0103] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which can implement the steps of the above-mentioned data processing method when executed by a processor.
[0104] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above data processing method.
[0105] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned data processing method.
[0106] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the above data processing method.
[0107] An embodiment of the present specification also provides a computer program product, including a computer program or instructions, which implement the steps of the above data processing method when executed by a processor.
[0108] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above data processing method.
[0109] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0110] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0111] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.
[0112] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0113] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.
Claims
1. A data processing method, applied to an application server, comprising: In response to a copy update request monitored by a copy configuration server, determining scene tag information; Constructing a text acquisition request corresponding to the scene tag information, and sending the text acquisition request to a content distribution network; Receiving multilingual copy data sent by the content distribution network in response to the copy acquisition request, and updating the multilingual copy data to a local cache based on the scene tag information; When receiving a page display request submitted by a client, the target multi-language copy data corresponding to the page display request is read from the updated local cache, and the target multi-language copy data is sent to the client.
2. The data processing method according to claim 1, before the step of determining the scene tag information in response to the copy update request monitored by the copy configuration server is executed, it also includes: Receiving a multilingual copy publishing message issued by the copy configuration server for the project page; Constructing an acquisition request according to the multilingual copy publishing message, and sending the acquisition request to the content distribution network; Receiving global multilingual copywriting data issued by the content distribution network in response to the acquisition request; The global multi-language copywriting data is grouped according to preset reference scene label information, and the grouped global multi-language copywriting data is stored in the local cache.
3. The data processing method according to claim 1, wherein the step of determining the scene tag information in response to the copy update request monitored by the copy configuration server comprises: Constructing a monitoring request corresponding to multiple initial scene tag information according to a preset monitoring rule; Sending the monitoring request to the copy configuration server, and receiving monitoring information fed back by the copy configuration server in response to the monitoring request; When it is determined based on the monitoring information that the text data corresponding to the multiple initial scene label information has changed, a text update request sent by the text configuration server is received, and the scene label information is determined according to the text update request.
4. The data processing method according to claim 1, wherein updating the multilingual copywriting data to a local cache based on the scene tag information comprises: Grouping the multilingual text data according to the scene label information, and determining identification information corresponding to the multilingual text data; The multilingual text data to be updated is determined in the local cache according to the identification information, and the multilingual text data to be updated in the local cache is updated using the grouped multilingual text data.
5. The data processing method according to claim 1, wherein the step of reading the target multilingual copy data corresponding to the page display request in the updated local cache and sending the target multilingual copy data to the client comprises: Parsing the page display request to obtain target scene label information; Querying the updated local cache according to the target scene label information to obtain target multilingual copy data, and sending the target multilingual copy data to the client; The target multi-language copy data is used to construct a target project page on the client, and the target project page includes page content corresponding to the target multi-language copy data.
6. The data processing method according to claim 5, after the step of querying the updated local cache according to the target scene tag information to obtain the target multilingual copywriting data is performed, it also includes: Extracting target language copy data from the target multilingual copy data based on the location information corresponding to the client or the language selection information corresponding to the page display request; The target language copy data is sent to the client, wherein the target language copy data is used to construct the target project page on the client, and the target project page includes page content corresponding to the target language copy data.
7. The data processing method according to claim 5, further comprising: Performing text data detection on the target multilingual text data; If it is determined according to the detection result that the target multilingual copy data includes copy data in a preset language that is not configured, determining copy identification information of the copy data in the preset language that is not configured; The text data corresponding to the text identification information is set as the reference text data, and the target multi-language text data is sent to the client according to the setting result.
8. A data processing system, comprising a copywriting configuration server, an application server, a content distribution network and a client, including: The copy configuration server is used to receive multilingual copy data submitted by a copy editing user for a target project page; Sending the multilingual copy data to the content distribution network, and sending a copy update request to the application server; The application server is configured to determine the scene tag information in response to the text update request; construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to the content distribution network; receive the multilingual text data sent by the content distribution network in response to the text acquisition request, and update the multilingual text data to a local cache based on the scene tag information; The client is used to send a page display request associated with the target project page to the application server, and receive the target multi-language copy data fed back by the application server in response to the page display request; The target project page is rendered and displayed based on the target multilingual copy data.
9. According to the data processing system of claim 8, the copy configuration server is also used to receive multilingual copy data submitted by the copy editing user according to the copy identification information associated with the target project page, and assign scene label information to the multilingual copy data; send the multilingual copy data to the content distribution network according to the label information assignment result, and send a copy update request associated with the scene label information to the application server.
10. The data processing system according to claim 8, wherein the client is further configured to send a page display request associated with the target project page to the application server; The application server is also used to receive the page display request, parse the page display request, and obtain target scene label information; query the updated local cache according to the target scene label information, obtain target multilingual copy data, and send the target multilingual copy data to the client.
11. A data processing device, applied to an application server, comprising: A determination module, configured to determine scene tag information in response to a copy update request monitored by a copy configuration server; A construction module is configured to construct a text acquisition request corresponding to the scene tag information, and send the text acquisition request to a content distribution network; An updating module, configured to receive the multilingual copy data sent by the content distribution network in response to the copy acquisition request, and update the multilingual copy data to a local cache based on the scene tag information; The sending module is configured to, upon receiving a page display request submitted by a client, read the target multilingual copy data corresponding to the page display request in the updated local cache, and send the target multilingual copy data to the client.
12. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method described in any one of claims 1 to 7 are implemented.
13. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 7.
14. A computer program product, comprising a computer program or instructions, which implement the steps of the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Patent Citations
Software internationalization processing method, device and system
CN106940646A
Configuration method and device for multi-language game resources
CN111273978A
Multi-language adaptation method, device and system, computer equipment and storage medium
CN111427641A
Cboth information processing method and device, storage medium and electronic equipment
CN112817655A
Method and device for loading configuration data for page and server
CN114489839A