A multi-language version software updating method and system

Through the collaborative work of the client and the server, the language version information is automatically compared and update requests and data packages are generated, which solves the problems of long multi-language version software update time and poor user experience in the existing technology, and realizes data diversion and user experience. improvement.

CN112114915BActive Publication Date: 2024-09-10HANGZHOU YOUXING TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010857964.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-24
Publication Date
2024-09-10
Estimated Expiration
2040-08-24

AI Technical Summary

Technical Problem

In the existing technology, multi-language software updates require users to actively switch languages, resulting in long software update times, large data traffic, and poor user experience. In addition, the update operation requires user triggering, which affects the user experience.

Method used

Through the collaborative work of the client and the server, the language version information list is obtained and compared, and a differential version information list is generated. The client generates multiple update requests, and the server sends corresponding update data packets to realize automatic language configuration of multi-language software. Update, perform data offloading, and improve user experience.

Benefits of technology

Automatic language configuration updates for multi-language versions of software are implemented, reducing update lags, improving user experience, and simplifying the update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112114915B
    Figure CN112114915B
Patent Text Reader

Abstract

The present application discloses a method and system for updating software with multiple language versions. The present application obtains a first language version information list of the software through a client, and sends the first language version information list to a server. The server obtains a second language version information list, and compares the first language version information list with the second language version information list, generates a difference version information list and sends it to the client. The client generates multiple update requests according to the difference version information list, and sends the multiple update requests to the server. The server queries corresponding update data packets based on the multiple update requests, and sends the multiple update data packets to the client. The client updates the corresponding language versions of the software based on the multiple update data packets, respectively. This can realize automatic language configuration update of software with multiple language versions, perform data diversion during update, improve user experience, and reduce update jams.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle software updating, and in particular to a multi-language version software updating method and system. Background Art

[0002] In the regular online car-hailing business, some companies have expanded their business overseas. The original software interface needs to be expanded from Chinese to multiple languages. In the process of continuous iteration of the business, multilingual resources are also increasing. Multilingual resources can export the content to be translated through the platform, translate the content to be translated into multiple languages, and then package the translated data and send it to the software for installation. In the prior art, the update of multilingual versions of software requires the user to actively switch the language type before sending an update request to the server, so that the software can be updated. When the software is updated, the packaged files required by the various languages ​​received are updated. The above scheme will result in a long software update time and large data traffic. The update operation needs to be triggered by the user, and the user experience is poor. Summary of the invention

[0003] In order to solve the above technical problems, the present invention provides a multi-language version software update method and system, which can automatically update the language configuration of multi-language versions of software, perform data diversion during update, improve user experience, and reduce update jams.

[0004] In order to achieve the purpose of the above application, the present application provides a multi-language version of software update method, the method comprising:

[0005] The client obtains a first language version information list of the software, and sends the first language version information list to the server, wherein the first language version information list includes a language name, a language identifier, and a corresponding version number of a language corresponding to each version of the software in the client;

[0006] The server obtains a second language version information list, where the second language version information list includes a language name, a language identifier, and a corresponding version number of a language corresponding to each version in the server;

[0007] The server compares the first language version information list with the second language version information list, generates a difference version information list and sends it to the client;

[0008] The client generates multiple update requests according to the difference version information list, and sends the multiple update requests to the server;

[0009] The server queries corresponding update data packets based on the multiple update requests, and sends multiple update data packets to the client;

[0010] The client updates the software of corresponding language versions respectively based on the multiple update data packets.

[0011] On the other hand, the present application also provides a multi-language software update system, the system comprising:

[0012] Client and server;

[0013] The client is used to obtain a first language version information list of the software, and send the first language version information list to the server, and generate multiple update requests according to the difference version information list, and send the multiple update requests to the server, and update the corresponding language versions of the software based on the multiple update data packets respectively;

[0014] The server is used to obtain a second language version information list, and compare the first language version information list with the second language version information list to generate a difference version information list and send it to the client, and query corresponding update data packets based on the multiple update requests, and send multiple update data packets to the client.

[0015] Implementing this application has the following beneficial effects:

[0016] The present application obtains a first language version information list of the software through a client, and sends the first language version information list to a server, the server obtains a second language version information list, the server compares the first language version information list with the second language version information list, generates a difference version information list and sends it to the client, the client generates multiple update requests according to the difference version information list, and sends multiple update requests to the server, the server queries corresponding update data packets based on the multiple update requests, and sends multiple update data packets to the client, the client updates the corresponding language versions of the software based on the multiple update data packets, and can realize automatic language update of multi-language versions of software, perform data diversion during update, improve user experience, and reduce update jams. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A flowchart of a multi-language software update method provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of a process for a client to generate multiple update requests provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram of a process of querying and updating a data packet on a server provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of a process of querying and updating a data packet on a server provided in another embodiment of the present application;

[0022] Figure 5 A flowchart of a multi-language software update method provided in another embodiment of the present application;

[0023] Figure 6 A flowchart of a multi-language software updating method provided in another embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or service end that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] In order to implement the technical solution of the present application and enable more engineering and technical workers to easily understand and apply the present application, the working principle of the present application will be further explained in combination with specific embodiments.

[0027] This application can be applied to the field of vehicle software updates, and specifically to the field of multi-language version updates for online car-hailing software. This application can provide software services for users in different countries, and can also allow users to smoothly switch to multiple languages ​​of the software when they move from one country to another with the support of multi-language version software updates.

[0028] The following describes a multi-language software update method provided by an embodiment of the present application. Figure 1 As shown, the method may include:

[0029] S101: The client obtains a first language version information list of the software, and sends the first language version information list to the server.

[0030] Specifically, the first language version information list may include the language name, language identifier, and corresponding version number of each language corresponding to each version of the software in the client. For example, the first language version information list may include Chinese, Chinese identifier 1, and versions 11 and 12 corresponding to Chinese, English, English identifier 2, and versions 21 and 22 corresponding to English, and French, French identifier 3, and versions 31 and 32 corresponding to French. In actual deployment, another method may be used to mark the language name, language identifier, and corresponding version number of each language in the first language version information list.

[0031] S103: The server obtains a second language version information list.

[0032] Specifically, the second language version information list may include the language name, language identifier, and version number of each language corresponding to each version in the server. The language name, language identifier, and identification method of each language corresponding version in the second language version information list are consistent with those in the first language version information list. For example, when the first language version information list includes Chinese, Chinese identifier 1, and versions 11 and 12 corresponding to Chinese, English, English identifier 2, and versions 21 and 22 corresponding to English, French, French identifier 3, and versions 31 and 32 corresponding to French, the second language version information list may include Chinese, Chinese identifier 1, and versions 11 and 12 corresponding to Chinese, English, English identifier 2, and versions 21 and 22 corresponding to English, French, French identifier 3, and versions 31 and 32 corresponding to French, and Dutch, Dutch identifier 4, and versions 41 and 42 corresponding to Dutch.

[0033] S105: The server compares the first language version information list with the second language version information list, generates a difference version information list, and sends it to the client.

[0034] Specifically, each piece of information in the first language version information list is compared with each piece of information in the second language version information list, and a difference version information list is generated after the comparison. The difference version information list may include a plurality of pieces of information that are more in the second language version information list than in the first language version information list.

[0035] Specifically, the difference version information list may include at least one first difference version information and / or at least one second difference version information. The first difference version information may include the language name of the newly added language, the language identifier of the newly added language, and the corresponding version number of the second language version information list corresponding to the first language version information list. For example, compared with the second language version information list, the first language version information list lacks the software language version information related to Dutch, and the language name, language identifier, and corresponding version number of the Dutch language in the software are the first difference version information. The second difference version information may include the language name of the same language with a version number difference between the second language version information list and the first language version information list, the language identifier of the same language with a version number difference, and the difference version number. For example, there are software versions in Russian in both the first language version information list and the second language version information list, but compared with the second language version information list, the first language version information list lacks the version 53 corresponding to the Russian software version, and the version 53 corresponding to the Russian software version is the second difference version information.

[0036] S107: The client generates multiple update requests according to the difference version information list, and sends the multiple update requests to the server.

[0037] Specifically, when the difference version information list includes multiple pieces of information that are more than the first language version information list, a corresponding update request is generated based on each piece of the more information, and the generated multiple update requests are sent to the server.

[0038] In another embodiment, Figure 2 As shown, the client generates multiple update requests according to the difference version information list, and sends multiple update requests to the server, which may include:

[0039] S1071: The client generates, according to the difference version information list, an update request for the versions corresponding to the multiple difference languages ​​in the difference version information list.

[0040] Specifically, the multiple different languages ​​in the difference version information list refer to multiple pieces of information that are more in the second language version information list than in the first language version information list.

[0041] S1073: The client queries a priority list of multiple difference languages ​​in the difference version information list.

[0042] Specifically, the client can pre-set the priority list of multiple languages ​​according to the order of languages ​​and user habits. For example, the users of a certain multilingual software for a car are distributed in order of population from most to least in China, Britain, France and the Netherlands. When presetting the priority list of multiple languages, the priorities can be set from high to low as Chinese, English, French and Dutch. Alternatively, the priority order can be set in advance according to user habits. For example, a user generally uses multilingual software for a car in the UK, and also travels to France and the Netherlands for business needs to use the multilingual software for a car. In this case, the priorities of multiple languages ​​can be set from high to low as English, French, Dutch and Chinese. In some embodiments, the software can also be used to obtain the country where the user is currently located, and the language of the user's country is ranked at the top of the priority list.

[0043] S1075: The client sends multiple update requests to the server in sequence based on the priority list.

[0044] S109: The server queries corresponding update data packets based on the multiple update requests, and sends the multiple update data packets to the client.

[0045] Specifically, the server receives multiple update requests, and queries the update data packets of the corresponding version of the server software based on the multiple update requests, which can make multiple tasks operate in different threads, reducing the pressure on the server when querying all update data packets based on a single update request. When the client sends multiple update requests to the server in sequence, multiple software interfaces can be used to send them, and the server can also send multiple update data packets to the client using multiple software interfaces, thereby avoiding congestion during data transmission. In addition, if the server packages all update data of the corresponding version of the software into one data packet for transmission, when an error occurs in the transmission, all update data of the corresponding version of the software needs to be resent. When the server queries the update data packets of the corresponding version of the software based on multiple update requests, and sends multiple update data packets of the corresponding version of the software to the client, when an error occurs in the transmission of one update data packet, only the update data packet that caused the error needs to be resent, thereby improving the fault tolerance rate.

[0046] Specifically, Figure 3 As shown, the server queries corresponding update data packets based on multiple update requests, and sends multiple update data packets to the client, which may include:

[0047] S1091: When the difference version information in the difference version information list is the first difference version information, the server determines the difference language between the second language version information list and the first language version information list based on the update request.

[0048] S1093: The server matches the update data package of the corresponding software version based on the difference language, and sends the update data package of the software version corresponding to the difference language to the client.

[0049] In another embodiment, Figure 4 As shown, the server queries the corresponding update data packet based on the multiple update requests, and sends the multiple update data to the client, which may also include:

[0050] S1092: When the difference version information in the difference version information list is the second difference version information, the server determines based on the update request that there is a difference in version number between the second language version information list and the first language version information list, and the difference in version number of the same language.

[0051] S1094: The server matches the update data packet of the corresponding software version based on the difference version number, and sends the update data packet of the corresponding software version to the client.

[0052] In another embodiment, Figure 5 As shown, when the difference version information in the difference version information list is the first difference version information, the server determines the difference language between the second language version list and the first language version information list based on the update request, matches the corresponding update data packet based on the difference language, and sends the update data packet corresponding to the difference language to the client, and the client performs language version updates based on multiple update data packets respectively, which may include:

[0053] S1095: The client creates a new target language file.

[0054] S1097: The client updates the update data package corresponding to the software version to the target language file.

[0055] Specifically, for an update data packet whose difference version information is the first difference version information, the client updates the update data packet into the newly created target language file to form a multi-language language-version system, which facilitates the client to update the first language version information list.

[0056] S111: The client updates the software of corresponding language versions respectively based on multiple update data packets.

[0057] Specifically, the client receives multiple update data packets, and can update the software of corresponding language versions according to the multiple update data packets. Since multiple update data packets in the client are updated separately, when one update data packet is updated, stopping subsequent updates will not affect the immediate use of the multilingual software. For example, the difference version information list includes French, French identifier 3 and version 34 corresponding to French, as well as Dutch, Dutch identifier 4 and version 41, version 42, and version 43 corresponding to Dutch. The specific multilingual software for vehicles is an online car-hailing software. When the software is updated, if the user needs to use the software in France, the client will update based on the data packet corresponding to version 34. After the update is completed, the software update status of the remaining language versions can be suspended so that the user can use the software immediately, improving the user experience. When the software is in idle state, the remaining language versions are updated.

[0058] In another embodiment, Figure 6 As shown, the method also includes:

[0059] S113: The client updates the first language version information list.

[0060] Specifically, before step S113, the client updates the corresponding language versions of the software based on multiple update data packets, and promptly updates the first language version information list after the update, so that the first language version information list remains up to date, providing a comparison basis for the next language update.

[0061] In further embodiments, the method further comprises:

[0062] The client pre-establishes a first language version information list.

[0063] Specifically, the first language version information list may include a language name, a language identifier, and a corresponding version number for each language corresponding to each version of the software in the client.

[0064] In addition, the server pre-establishes a second language version information list.

[0065] Specifically, the second language version information list may include the language name, language identifier, and version number corresponding to each language of the software in the server.

[0066] In another embodiment, the present application also provides a multi-language version software update system embodiment, which may include a client and a server, wherein the client is used to obtain a first language version information list of the software, and send the first language version information list to the server, and generate multiple update requests based on the difference version information list, and send multiple update requests to the server, and update the corresponding language versions of the software based on multiple update data packets. The server is used to obtain a second language version information list, and compare the first language version information list with the second language version information list, generate a difference version information list and send it to the client, and query the corresponding update data packet based on multiple update requests, and send multiple update data packets to the client.

[0067] In the embodiments of this specification, the server may include an independently operated server, a distributed server, or a server cluster composed of multiple servers. The server may provide background services for the client. Specifically, the server may be provided with a database storing software in multiple languages.

[0068] In the embodiments of this specification, the client may include software running in a physical device, such as applications provided by certain service providers, etc., and may also include physical devices such as smart phones, car computers, digital assistants, etc. with applications installed. The operating system running on the client in the embodiments of this specification may include, but is not limited to, Android system, IOS system, etc.

[0069] It can be seen from the above embodiments that the present application obtains a first language version information list of the software through the client, and sends the first language version information list to the server, wherein the first language version information list includes the language name, language identifier and corresponding version number of the language corresponding to each version of the software in the client; the server obtains a second language version information list, wherein the second language version information list includes the language name, language identifier and corresponding version number of the language corresponding to each version in the server; the server compares the first language version information list with the second language version information list, generates a difference version information list and sends it to the client; the client generates multiple update requests according to the difference version information list, and sends the multiple update requests to the server, the server queries the corresponding update data packets based on the multiple update requests, and sends the multiple update data packets to the client, and finally, the client updates the corresponding language versions of the software based on the multiple update data packets, respectively, so as to realize automatic language configuration update of multi-language versions of software, perform data diversion during update, improve user experience, and reduce update jams.

[0070] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0071] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims of the present invention, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0072] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0073] In addition, those skilled in the art will appreciate that, although the embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims of the present invention, any one of the claimed embodiments may be used in any combination.

[0074] The present invention may also be implemented as a device or system program (such as a computer program and a computer program product) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or may be provided on a carrier signal, or in any other form.

[0075] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps, etc., that are not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present invention may be implemented by means of hardware comprising several different elements and by means of appropriately programmed computers. In a unit claim that lists several systems, several of these systems may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order, and these words may be interpreted as names.

Claims

1. A multi-language software update method, characterized in that: The method comprises: The client obtains a first language version information list of the software, and sends the first language version information list to the server, wherein the first language version information list includes a language name, a language identifier, and a corresponding version number of a language corresponding to each version of the software in the client; The server obtains a second language version information list, where the second language version information list includes a language name, a language identifier, and a corresponding version number of a language corresponding to each version in the server; The server compares the first language version information list with the second language version information list, generates a difference version information list and sends it to the client; The client generates update requests for versions corresponding to multiple difference languages ​​in the difference version information list according to the difference version information list, sets a priority list for the multiple difference languages, and sends the multiple update requests to the server in sequence according to the priority list; The server queries corresponding update data packets based on the multiple update requests, and sends multiple update data packets to the client, so that multiple tasks are operated in different threads, and when an error occurs in the sending of any of the update data packets, the update data packet that generates the error is resent; The client updates the software of corresponding language versions respectively based on the multiple update data packets.

2. The method according to claim 1, characterized in that Before the client obtains the first language version information list of the software, the method further includes: The server obtains the language name, language identifier and corresponding version number of each version of the software in the server; The server establishes a second language version information list based on the language name, language identifier and corresponding version number of the language corresponding to each version of the software in the server; The client obtains the language name, language identifier and corresponding version number of the language corresponding to each version of the software in the client; The client creates a first language version information list based on the language name, language identifier and corresponding version number of the language corresponding to each version of the software in the client.

3. The method according to claim 1, characterized in that The client generates update requests for multiple versions corresponding to different languages ​​in the difference version information list according to the difference version information list, and sends the multiple update requests to the server, including: The client queries the priority list; The client sends the multiple update requests to the server in sequence based on the priority list.

4. The method according to claim 1, characterized in that: The method further comprises: The client sets a priority list of the multiple different languages ​​according to a preset language order and user habits.

5. The method according to claim 1, characterized in that After the client updates the software of the corresponding language version based on the multiple update data packets, the method further includes: The client updates the first language version information list.

6. The method according to claim 1, characterized in that The difference version information list includes: at least one first difference version information and / or at least one second difference version information; The first difference version information includes the language name of the new language corresponding to the second language version information list compared to the first language version information list, the language identifier of the new language and the corresponding version number; The second difference version information includes the language name of the same language with a version number difference between the second language version information list and the first language version information list, the language identifier of the same language with a version number difference, and the difference version number.

7. The method according to claim 6, characterized in that The server queries corresponding update data packets based on the multiple update requests, and sends multiple update data packets to the client, comprising: When the difference version information in the difference version information list is the first difference version information, the server determines the difference language between the second language version information list and the first language version information list based on the update request; The server matches the update data packet of the corresponding software version based on the difference language, and sends the update data packet of the corresponding software version in the difference language to the client.

8. The method according to claim 6, characterized in that The server queries corresponding update data packets based on the multiple update requests, and sends multiple update data packets to the client, further comprising: When the difference version information in the difference version information list is the second difference version information, the server determines, based on the update request, that there is a difference in version number between the second language version information list and the first language version information list, and a difference in version number of a language in the same language; The server matches the update data packet of the corresponding software version based on the difference version number, and sends the update data packet of the corresponding software version to the client.

9. The method according to claim 7, characterized in that: The client updating the software of corresponding language versions respectively based on the multiple update data packets includes: When the difference version information in the difference version information list is the first difference version information, the client creates a new target language file; The client updates the update data package corresponding to the software version to the target language file.

10. A multi-language software update system, the system being used to execute the method according to any one of claims 1 to 9, characterized in that: The system comprises: a client and a server; The client is used to obtain a first language version information list of the software, and send the first language version information list to the server, and generate update requests for multiple versions corresponding to different languages ​​in the difference version information list according to the difference version information list, and set a priority list of the multiple difference languages, and send the multiple update requests to the server in sequence according to the priority list, and update the corresponding language versions of the software respectively based on multiple update data packets; The server is used to obtain a second language version information list, and compare the first language version information list with the second language version information list to generate a difference version information list and send it to the client, and query the corresponding update data packets based on the multiple update requests, and send multiple update data packets to the client, so that multiple tasks are operated in different threads. When an error occurs in the sending of any of the update data packets, the update data packet that caused the error is resent.