Software application internationalization method, terminal device, server and storage medium
By uploading location information to the server, dynamically downloading and installing configuration information, the problem of software internationalization in the existing technology that needs to be packaged in advance and limited to interface characters and operation prompt information is solved, and flexible internationalization based on geographical location is achieved and resources are saved. And improve user experience.
Patent Information
- Application Number
- CN202011489530.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2040-12-16
AI Technical Summary
The existing software system is limited to local completion in terms of internationalization. It requires the resource files of interface characters and operation prompt information in advance. When adding countries and regions, the software must be repackaged and released, and only the interface characters, operation prompt information and table data. The internationalization cannot flexibly respond to the configuration needs of different geographical locations.
By uploading the current location information to the server, using the preset database to determine whether there is corresponding configuration and installation information, downloading and installing the corresponding configuration from the server, and dynamically adjusting the software international settings according to the geographical location.
It reduces the size of the preset resource content of the application software, saves local system resources, improves international flexibility and user experience, and can dynamically push international content according to different locations to adapt to diversified special needs.
Smart Images

Figure CN112527332B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of internationalization, and in particular to a method, terminal equipment, server and storage medium for internationalization of software applications. Background Art
[0002] The method of software system internationalization in the prior art includes the internationalization of interface characters, operation prompt information and table data. The internationalization of interface characters and operation prompt information is realized by resource files, and the internationalization of table data is realized by data translator. It can meet the requirements of internationalization at the lowest cost and has smooth scalability. The data table that needs to be internationalized can be defined according to the needs of customers. It is a comprehensive internationalization solution, which realizes the comprehensive internationalization of interface data, prompt information and database data. The mode of customer-defined resource files of the present invention can meet user needs to the greatest extent possible and improve the customer experience and satisfaction of the system. However, this technology is limited to completing the internationalization of software locally, and it is necessary to package the internationalized resource files of all interface characters and operation prompt information in advance. Each time a new country and region is added, the software needs to be repackaged and released. Moreover, this technology is limited to the internationalization of interface characters, operation prompt information and table data. Summary of the invention
[0003] The embodiment of the present invention provides a method, terminal device, server and storage medium for internationalizing software applications, which are used to download corresponding current configuration installation information from a server according to current location information, thereby installing the current configuration and saving local system resources.
[0004] In view of this, a first aspect of an embodiment of the present invention provides a method for internationalizing a software application, which may include:
[0005] Uploading the current location information to the server, wherein the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, wherein the preset database includes configuration installation information corresponding to different countries;
[0006] Receiving first indication information sent by the server, where the first indication information is used to indicate that the preset database contains the current configuration installation information;
[0007] Responding to the user's download operation according to the first indication information, generating a download request, and sending the download request to the server;
[0008] Receiving current configuration installation information downloaded by the server according to the download request;
[0009] The current configuration is installed according to the current configuration installation information.
[0010] A second aspect of an embodiment of the present invention provides a method for internationalizing a software application, which may include:
[0011] Receive current location information uploaded by the terminal device;
[0012] Determining whether there is current configuration installation information corresponding to the current location information in a preset database, wherein the preset database includes configuration installation information corresponding to different countries;
[0013] If yes, generate and send first indication information to the terminal device;
[0014] Receiving a download request sent by the terminal device;
[0015] The current configuration installation information is downloaded and obtained according to the download request, and the current configuration installation information is sent to the terminal device, where the current configuration installation information is used for the terminal device to install the current configuration.
[0016] Another aspect of the present invention provides a terminal device, which may include:
[0017] A transceiver module, configured to upload current location information to a server, wherein the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, wherein the preset database includes configuration installation information corresponding to different countries; receive first indication information sent by the server, wherein the first indication information is used to indicate that the current configuration installation information exists in the preset database; send a download request to the server; and receive the current configuration installation information downloaded by the server according to the download request;
[0018] A processing module is used to respond to the user's download operation according to the first indication information to generate the download request; and install the current configuration according to the current configuration installation information.
[0019] Another aspect of the present invention provides a server, which may include:
[0020] The transceiver module is used to receive the current location information uploaded by the terminal device;
[0021] a processing module, configured to determine whether there is current configuration installation information corresponding to the current location information in a preset database, wherein the preset database includes configuration installation information corresponding to different countries; and to obtain the current configuration installation information by downloading according to the download request;
[0022] The transceiver module is also used to generate and send a first indication message to the terminal device if any; receive a download request sent by the terminal device; and send the current configuration installation information to the terminal device, where the current configuration installation information is used by the terminal device to install the current configuration.
[0023] Another aspect of an embodiment of the present invention provides a terminal device, which may include:
[0024] A memory storing executable program code;
[0025] a processor and a transceiver coupled to the memory;
[0026] The transceiver and the processor call the executable program code stored in the memory to execute the method as described in the first aspect of the embodiment of the present invention.
[0027] Another aspect of an embodiment of the present invention provides a server, which may include:
[0028] A memory storing executable program code;
[0029] a processor and a transceiver coupled to the memory;
[0030] The transceiver and the processor call the executable program code stored in the memory to execute the method as described in the second aspect of the embodiment of the present invention.
[0031] Yet another aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in the first aspect or the second aspect of the embodiment of the present invention is implemented.
[0032] Yet another aspect of an embodiment of the present invention discloses a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the method described in the first aspect or the second aspect of the embodiment of the present invention.
[0033] Yet another aspect of an embodiment of the present invention discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect or the second aspect of the embodiment of the present invention.
[0034] It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
[0035] In an embodiment of the present invention, the current location information is uploaded to the server, and the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, and the preset database includes configuration installation information corresponding to different countries; the first indication information sent by the server is received, and the first indication information is used to indicate that the current configuration installation information is in the preset database; a download request is generated in response to the user's download operation according to the first indication information, and the download request is sent to the server; the current configuration installation information downloaded by the server according to the download request is received; and the current configuration is installed according to the current configuration installation information. Because the preset database of the server includes configuration installation information corresponding to different countries, the corresponding current configuration installation information can be downloaded from the server according to the current location information, thereby installing the current configuration. Compared with the traditional method of completing internationalized content based on geographic location locally, the size of the preset resource content of the application software is reduced, saving local system resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and other drawings can be obtained based on these drawings.
[0037] Figure 1 A schematic diagram of an embodiment of a method for internationalizing software applications in an embodiment of the present invention;
[0038] Figure 2A This is a schematic diagram of a terminal device responding to a user's downloading operation in an embodiment of the present invention;
[0039] Figure 2B A schematic diagram of the current configuration of the terminal device installed in the embodiment of the present invention;
[0040] Figure 3 A schematic diagram of an embodiment of a server in an embodiment of the present invention;
[0041] Figure 4 A schematic diagram of an embodiment of a terminal device in an embodiment of the present invention;
[0042] Figure 5 A schematic diagram of another embodiment of a server in an embodiment of the present invention;
[0043] Figure 6 FIG. 2 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The embodiment of the present invention provides a method, terminal device, server and storage medium for internationalizing software applications, which are used to download corresponding current configuration installation information from a server according to current location information, thereby installing the current configuration and saving local system resources.
[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments in the present invention, they should all fall within the scope of protection of the present invention.
[0046] It can be understood that the terminal devices involved in the embodiments of the present invention may include general handheld electronic terminals, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDA), portable multimedia players (Personal Media Player, PMP) devices, laptop computers, notebooks (NotePad), wireless broadband (Wireless Broadband, Wibro) terminals, tablet computers (personal computers, PCs), smart PCs, POS (Point of Sales, sales terminals) and vehicle-mounted computers, etc.
[0047] Terminal devices may also include wearable devices. Wearable devices are portable electronic devices that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but can also achieve powerful intelligent functions through software support, data interaction, and cloud interaction, such as: computing function, positioning function, and alarm function. They can also be connected to mobile phones and various terminals. Wearable devices may include but are not limited to watches supported by the wrist (such as watches, wrists, etc.), shoes supported by the feet (such as shoes, socks, or other products worn on the legs), Glass supported by the head (such as glasses, helmets, headbands, etc.), and various non-mainstream product forms such as smart clothing, school bags, crutches, accessories, etc.
[0048] The technical solution of the present invention is further described below by way of embodiments. Figure 1 FIG. 1 is a schematic diagram of an embodiment of a method for internationalizing software applications in an embodiment of the present invention, which may include:
[0049] 101. The terminal device obtains current location information.
[0050] Optionally, the terminal device obtains the current location information, which may include:
[0051] The terminal device determines the current location information through at least one of the Global Position System (GPS), Beidou satellite, base station positioning, Wireless Fidelity (WiFi) positioning and Bluetooth positioning; or,
[0052] The terminal device generates the current location information in response to the user's input of the current location. For example, the user can manually input the current city - Tokyo. Alternatively, the terminal device scans a landmark building or logo to determine the current location information. For example, scan the name of an airport to generate the current city.
[0053] It is understandable that the current location information may include current country information, current city information, or specific longitude and latitude information, wherein the current country information may be understood as information about the country where the current location is located, and the current city information may be understood as information about the city where the current location is located.
[0054] Below is a brief introduction to GPS positioning, Beidou satellite positioning, base station positioning, WiFi positioning and Bluetooth positioning.
[0055] 1. GPS positioning is the most common positioning technology and can be seen everywhere in life, such as Baidu Maps and Amap in mobile phones; for example, common navigation maps in cars all use GPS positioning technology.
[0056] 2. Beidou satellite positioning
[0057] BeiDou satellite positioning is independently developed by China, using geosynchronous satellites to provide users with an all-weather, regional satellite positioning system. It can quickly determine the geographical location of a target or user and provide navigation information to users and competent authorities.
[0058] 3. Base station positioning
[0059] Base station positioning is generally used for mobile phone users. Mobile base station positioning service is also called mobile location service (Location Based Service, LBS). It obtains the location information (latitude and longitude coordinates) of mobile terminal users through the network of telecommunications mobile operators (such as the Global System for Mobile Communications (GSM)). With the support of the electronic map platform, it provides users with corresponding services as a value-added service, such as the dynamic location query service currently provided by China Mobile's M-Zone.
[0060] Since GPS positioning consumes more power, base station positioning is a common function of GPS devices. However, the accuracy of base station positioning is low, and there is generally an error of 500 to 2000 meters.
[0061] 4. WiFi positioning
[0062] Each device, such as a mobile phone, contains a globally unique Media Access Control (MAC) address. As long as you can search for a WiFi signal, you can get the MAC address of the device and use it as a unique identifier. The server has the coordinate data of an access point (AP), and WiFi positioning is calculated using the coordinates of one or more AP devices.
[0063] Since GPS positioning cannot be used indoors and the error of base station positioning is too large, base station positioning is generally used for indoor positioning.
[0064] 5. Bluetooth positioning
[0065] Bluetooth Beacon – Beacon refers to a low-power device that supports Bluetooth 4.0. By broadcasting Bluetooth signals, it can be used for geo-fencing and indoor positioning functions. Beacon hardware is currently mainly used for indoor positioning because of its low cost, low power consumption, long working time and easy deployment, and has broad application prospects. The user terminal scans the signal of the positioning Beacon, and the user's current location can be calculated after processing by the positioning engine. The Bluetooth positioning algorithm has the advantages of high positioning accuracy, low positioning delay and low equipment cost. At present, in indoor scenarios, the terminal positioning accuracy can reach 60%-70% within 2 meters, more than 80% within 3 meters, and the positioning delay is 1-2s.
[0066] It should be noted that step 101 is an optional step.
[0067] 102. The terminal device uploads current location information to the server, where the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, where the preset database includes configuration installation information corresponding to different countries.
[0068] The server receives the current location information uploaded by the terminal device.
[0069] The reception and transmission between the terminal device and the server can be via Bluetooth, WiFi, or other methods, which are not limited here.
[0070] 103. The server determines whether there is current configuration and installation information corresponding to the current location information in a preset database, wherein the preset database includes configuration and installation information corresponding to different countries.
[0071] Optionally, the current configuration installation information includes at least one of communication parameters, system language, emergency dialing, time zone, and local application list.
[0072] It is understandable that in the server, an international database, also called a preset database, can be built based on the country as an index. The preset database may include but is not limited to: communication parameters, system language, emergency dialing, time zone, local application list and other special requirements. Among them, the country can be determined based on information such as city and region.
[0073] Exemplarily, if the current location information does not include the current country information, the current country information may be first determined based on the current location information, and then based on the current country information, it may be determined in a preset database whether there is current configuration installation information corresponding to the current country information.
[0074] (1) Communication parameters:
[0075] Mainly refers to the operator networks supported by different countries, such as access parameters of Access Point Network (APN), 4G / 5G and other parameters.
[0076] (2) System language:
[0077] It can support languages of different countries, such as English, Chinese, Japanese, Korean, etc.
[0078] (3) Emergency dialing:
[0079] Emergency dialing is different in different countries. In China, emergency calls refer to using a mobile phone to dial police or rescue numbers such as 112, 110, 119, and 120. The urgency of these numbers has led countries to stipulate that they can use any network available at the time.
[0080] (4) Time zone:
[0081] Since countries and regions around the world have different longitudes and local times, they are divided into different time zones.
[0082] In order to take into account the convenience of use in various regions and make it easy for people in other places to convert local time to other places, the relevant international conference decided to divide the earth's surface into regions from east to west according to the meridians, and stipulated that the time difference between adjacent regions is 1 hour. People at the east and west ends of the same region see the sun rise at most 1 hour apart. When people cross a region, they adjust their clocks by 1 hour (subtract 1 hour to the west and add 1 hour to the east), and add or subtract a few hours when crossing several regions. This makes it very convenient to use.
[0083] Today, the world is divided into 24 time zones. In fact, often a country or a province spans two or more time zones at the same time. In order to take into account administrative convenience, a country or a province is often grouped together. Therefore, time zones are not strictly divided according to the north-south straight line, but according to natural conditions. For example, China has a vast territory and spans almost 5 time zones, but for the sake of convenience and simplicity, in fact, only the standard time of the Eastern Time Zone 8, that is, Beijing Time, is used as the standard.
[0084] (5) Local application list
[0085] It can be understood as a list of applications that are frequently used in different countries. For example, in China, commonly used applications include WeChat, TikTok, Weibo, etc.
[0086] Optionally, the server updates the preset database to obtain an updated preset database.
[0087] Optionally, the server responds to an update operation of the user to update the preset database to obtain an updated preset database.
[0088] Optionally, the server receives update information sent by the terminal device, and the server updates the preset database according to the update information to obtain an updated preset database.
[0089] Optionally, the server adds the first country and the configuration installation information corresponding to the first country in the preset database to obtain an updated preset database.
[0090] Optionally, in response to the user's adding operation, the server adds the first country and the configuration installation information corresponding to the first country in the preset database to obtain an updated preset database.
[0091] Optionally, the server deletes the second country and the configuration installation information corresponding to the second country in the preset database to obtain an updated preset database.
[0092] Optionally, the server responds to a deletion operation of the user and deletes the second country and the configuration installation information corresponding to the second country in the preset database to obtain an updated preset database.
[0093] Optionally, the server determines whether there is current configuration installation information corresponding to the current location information in a preset database, which may include: the server determines current country information corresponding to the current location information, and determines whether there is current configuration installation information corresponding to the current location information in a preset database.
[0094] 104. If yes, the server generates and sends first indication information to the terminal device.
[0095] The terminal device receives first indication information sent by the server, where the first indication information is used to indicate that the current configuration installation information exists in the preset database.
[0096] Exemplarily, the terminal device reports the current location information to the server, and the server can search for the corresponding current configuration installation information in a preset database according to the current location information. If the corresponding current configuration installation information is found, it can be pushed to the user.
[0097] Optionally, if not, the server generates and sends a second indication message to the terminal device; the terminal device receives the second indication message sent by the server, and the second indication message is used to indicate that the current configuration information does not exist in the preset database; the terminal device stops the current operation according to the second indication message.
[0098] Optionally, the terminal device checks whether there is update information about the preset database based on the second indication information; if there is update information about the preset database, the terminal device sends the update information to the server, and the update information is used by the server to update the preset database.
[0099] 105. The terminal device responds to the user's download operation according to the first indication information and generates a download request.
[0100] It is understandable that if the user agrees to download the local nationalized software configuration, the user can directly enter the corresponding download operation interface to download and preview the content. Figure 2A FIG. 1 is a schematic diagram of a terminal device responding to a user's download operation in an embodiment of the present invention.
[0101] Optionally, the first indication information may also include various indication information included in the current configuration installation information; the terminal device displays the various indication information, responds to the user's download operation on the target indication information in the various indication information, and generates a target download request; the terminal device sends the target download request to the server, and the server determines the corresponding target configuration installation information based on the target download request; and sends the target configuration installation information to the terminal device.
[0102] The various indication information may include, but is not limited to: communication parameters, system language, emergency dialing, time zone, local application list, and indication information of other special needs.
[0103] For example, the user only wants to download communication parameters, system language, and time zone information. Then, the user can select these three options, and the terminal device generates a corresponding target download request. Therefore, the target configuration installation information downloaded from the server also only includes the current communication parameters, the current system language, and the current time zone information.
[0104] 106. The terminal device sends the download request to the server.
[0105] The server receives the download request sent by the terminal device.
[0106] 107. The server downloads and obtains current configuration installation information according to the download request.
[0107] Optionally, the current configuration installation information may include, but is not limited to: current communication parameters, current system language, current emergency dialing, current time zone, current local application list, and other special requirements.
[0108] 108. The server sends the current configuration installation information to the terminal device, where the current configuration installation information is used for the terminal device to install the current configuration.
[0109] The terminal device receives the current configuration installation information downloaded by the server according to the download request.
[0110] 109. The terminal device installs the current configuration according to the current configuration installation information.
[0111] Optionally, the terminal device installing the current configuration according to the current configuration installation information may include: the terminal device displays prompt installation information according to the current configuration installation information; the terminal device responds to the user's operation on the prompt installation information to install the current configuration. Exemplarily, after the terminal device completes the download, it prompts the user to install the corresponding internationalization database to complete the configuration of the current location information. Figure 2B FIG. 1 is a schematic diagram of the current configuration of the terminal device installed in an embodiment of the present invention.
[0112] Optionally, for the current local application list, the user can also download and install the required local applications according to their needs.
[0113] It should be noted that the terminal device in the embodiment of the present invention may also be other intelligent devices that need to be nationalized. The preset database in the server may be updated periodically. Moreover, terminal devices produced by different manufacturers may be supported, and terminal devices of different systems (such as Android system, Apple system, Blackberry system, etc.) may also be supported.
[0114] It is understandable that by using the server to establish a database with preset international configurations, users can obtain international customized content by reporting the current location information of the terminal device, download and install to complete the international customization. The current terminal devices are becoming more and more internationalized, and with the expansion of countries and regions, more and more special needs have led to more and more complex and redundant software. With the development of cloud technology, the maturity of content push technology is getting higher and higher, and the network speed is getting faster and faster. This technology is likely to become a new way to internationalize application software.
[0115] In an embodiment of the present invention, the current location information is uploaded to the server, and the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, and the preset database includes configuration installation information corresponding to different countries; the first indication information sent by the server is received, and the first indication information is used to indicate that the current configuration installation information exists in the preset database; the download operation of the user is responded to according to the first indication information, a download request is generated, and the download request is sent to the server; the current configuration installation information downloaded by the server according to the download request is received; and the current configuration is installed according to the current configuration installation information. The difficulty of internationalization of application software is greatly reduced, and the user experience is improved. Compared with the traditional method of accurately pushing internationalized content based on geographic location, the size of the preset resource content of the application software is reduced. It has extremely high flexibility, and new country configuration installation information can be added and modified at any time and dynamic push can be completed, which greatly improves the real-time update of the user's use process.
[0116] like Figure 3 FIG. 1 is a schematic diagram of an embodiment of a server in an embodiment of the present invention, which may include:
[0117] The transceiver module 301 is used to receive the current location information uploaded by the terminal device;
[0118] The processing module 302 is used to determine whether there is current configuration installation information corresponding to the current location information in a preset database, wherein the preset database includes configuration installation information corresponding to different countries; and download the current configuration installation information according to the download request;
[0119] The transceiver module 301 is also used to generate and send a first indication message to the terminal device if any; receive a download request sent by the terminal device; and send the current configuration installation information to the terminal device, wherein the current configuration installation information is used by the terminal device to install the current configuration.
[0120] Optionally, the processing module 302 is further configured to add the first country and the configuration installation information corresponding to the first country to the preset database to obtain an updated preset database.
[0121] Optionally, the current location information includes current country information or current city information;
[0122] The current configuration installation information includes at least one of communication parameters, system language, emergency dialing, time zone, and local application list.
[0123] like Figure 4 FIG. 1 is a schematic diagram of an embodiment of a terminal device in an embodiment of the present invention, which may include:
[0124] The transceiver module 401 is used to upload the current location information to the server, the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, and the preset database includes configuration installation information corresponding to different countries; receive first indication information sent by the server, the first indication information is used to indicate that the preset database contains the current configuration installation information; send a download request to the server; receive the current configuration installation information downloaded by the server according to the download request;
[0125] The processing module 402 is used to respond to the user's download operation according to the first indication information to generate the download request; and install the current configuration according to the current configuration installation information.
[0126] Optionally, the current location information includes current country information or current city information;
[0127] The current configuration installation information includes at least one of communication parameters, system language, emergency dialing, time zone, and local application list.
[0128] Optionally, the processing module 402 is further configured to determine the current location information through at least one of a global positioning system GPS, a Beidou satellite, a base station positioning, a wireless fidelity WiFi positioning, and a Bluetooth positioning; or,
[0129] The processing module 402 is further used to generate current location information in response to the user's input operation of the current location.
[0130] The processing module 402 is specifically configured to display prompt installation information according to the current configuration installation information; and install the current configuration in response to a user's operation on the prompt installation information.
[0131] like Figure 5 FIG. 1 is a schematic diagram of an embodiment of a server in an embodiment of the present invention, which may include:
[0132] The transceiver 501 is used to receive the current location information uploaded by the terminal device;
[0133] The processor 502 is configured to determine whether there is current configuration installation information corresponding to the current location information in a preset database, wherein the preset database includes configuration installation information corresponding to different countries; and download the current configuration installation information according to the download request;
[0134] The transceiver 501 is also used to generate and send a first indication message to the terminal device if any; receive a download request sent by the terminal device; and send the current configuration installation information to the terminal device, where the current configuration installation information is used by the terminal device to install the current configuration.
[0135] Optionally, the processor 502 is further configured to add the first country and the configuration installation information corresponding to the first country to the preset database to obtain an updated preset database.
[0136] Optionally, the current location information includes current country information or current city information;
[0137] The current configuration installation information includes at least one of communication parameters, system language, emergency dialing, time zone, and local application list.
[0138] like Figure 6 FIG. 1 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present invention, which may include:
[0139] Figure 6 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present invention. Figure 6The mobile phone includes: a radio frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a sensor 650, an audio circuit 660, a wireless fidelity (WiFi) module 670, a processor 680, and a power supply 690. Those skilled in the art will understand that Figure 6 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0140] Combine the following Figure 6 A detailed introduction to the various components of the mobile phone:
[0141] The RF circuit 610 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 680 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 610 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 610 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.
[0142] The memory 620 can be used to store software programs and modules. The processor 680 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 620. The memory 620 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 620 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0143] The input unit 630 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 631 or near the touch panel 631 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 631 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 631, the input unit 630 may also include other input devices 632. Specifically, the other input devices 632 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0144] The display unit 640 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 640 may include a display panel 641. Optionally, the display panel 641 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 631 may cover the display panel 641. When the touch panel 631 detects a touch operation on or near it, it is transmitted to the processor 680 to determine the type of touch event. Subsequently, the processor 680 provides a corresponding visual output on the display panel 641 according to the type of touch event. Although in Figure 6 In the embodiment, the touch panel 631 and the display panel 641 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 631 and the display panel 641 can be integrated to realize the input and output functions of the mobile phone.
[0145] The mobile phone may also include at least one sensor 650, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 641 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0146] The audio circuit 660, the speaker 661, and the microphone 662 can provide an audio interface between the user and the mobile phone. The audio circuit 660 can transmit the received audio data to the speaker 661 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, and then the audio data is output to the processor 680 for processing, and then sent to another mobile phone through the RF circuit 610, or the audio data is output to the memory 620 for further processing.
[0147] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 670. It provides users with wireless broadband Internet access. Figure 6A WiFi module 670 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0148] The processor 680 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 620, and calling data stored in the memory 620, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 680.
[0149] The mobile phone also includes a power supply 690 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 680 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0150] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0151] In the embodiment of the present invention, the RF circuit 610 is used to upload the current location information to the server, the current location information is used by the server to determine whether there is corresponding current configuration installation information in a preset database, the preset database includes configuration installation information corresponding to different countries; receive first indication information sent by the server, the first indication information is used to indicate that the current configuration installation information exists in the preset database; send a download request to the server; receive the current configuration installation information downloaded by the server according to the download request;
[0152] Processor 680 is used to respond to the user's download operation according to the first indication information to generate the download request; and install the current configuration according to the current configuration installation information.
[0153] Optionally, the current location information includes current country information or current city information;
[0154] The current configuration installation information includes at least one of communication parameters, system language, emergency dialing, time zone, and local application list.
[0155] Optionally, the processor 680 is further configured to determine the current location information through at least one of a global positioning system GPS, a Beidou satellite, a base station positioning, a wireless fidelity WiFi positioning, and a Bluetooth positioning; or,
[0156] The processor 680 is further configured to generate current location information in response to a user input operation of inputting a current location.
[0157] The processor 680 is specifically configured to display prompt installation information according to the current configuration installation information; and install the current configuration in response to a user's operation on the prompt installation information.
[0158] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0159] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center to another website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0161] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0162] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0165] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for internationalizing software applications, characterized in that: include: Upload the current location information to the server, the current location information is used by the server to determine whether there is corresponding current configuration installation information in the updated preset database, the updated preset database includes configuration installation information corresponding to different countries, the current location information includes current country information or current city information, the current city information is used by the server to determine the current country information, and the current configuration installation information includes at least one of communication parameters, system language, emergency dialing, and time zone; receiving first indication information sent by the server, the first indication information being used to indicate that the updated preset database contains the current configuration installation information, the first indication information including various indication information corresponding to the current configuration installation information; Displaying the various indication information, responding to the user's download operation on the target indication information in the various indication information, and generating a target download request; Sending the target download request to the server; Receiving target configuration installation information downloaded by the server according to the target download request; The target configuration is installed according to the target configuration installation information.
2. The method according to claim 1, characterized in that The method further comprises: Determine the current location information by at least one of the following: global positioning system GPS, Beidou satellite, base station positioning, wireless fidelity WiFi positioning, and Bluetooth positioning; or, In response to a user input operation of a current location, current location information is generated.
3. The method according to claim 1, characterized in that The step of installing the current configuration according to the current configuration installation information includes: Displaying prompt installation information according to the current configuration installation information; In response to the user's operation on the prompt installation information, the current configuration is installed.
4. A method for internationalizing software applications, characterized in that: include: Receiving current location information uploaded by the terminal device, the current location information including current country information or current city information, the current city information is used by the server to determine the current country information; Updating the preset database to obtain an updated preset database; Determining whether there is current configuration installation information corresponding to the current location information in the updated preset database, the updated preset database including configuration installation information corresponding to different countries, the current configuration installation information including at least one of communication parameters, system language, emergency dialing, and time zone; If yes, generate and send first indication information to the terminal device, wherein the first indication information includes each indication information corresponding to the current configuration installation information; Receiving a target download request sent by the terminal device; The target configuration installation information is downloaded according to the target download request, and the target configuration installation information is sent to the terminal device, where the target configuration installation information is used for the terminal device to install the target configuration.
5. The method according to claim 4, characterized in that The method further comprises: In the preset database, the first country and the configuration installation information corresponding to the first country are newly added to obtain an updated preset database.
6. A terminal device, characterized in that: include: a transceiver module, configured to upload current location information to a server, the current location information being used by the server to determine whether there is corresponding current configuration installation information in an updated preset database, the updated preset database including configuration installation information corresponding to different countries, the current location information including current country information or current city information, the current city information being used by the server to determine the current country information, the current configuration installation information including at least one of communication parameters, system language, emergency dialing, and time zone; and receiving first indication information sent by the server, the first indication information being used to indicate that the current configuration installation information is present in the updated preset database, the first indication information including various indication information corresponding to the current configuration installation information; A processing module, used for controlling the display module to display the various indication information, and generating a target download request in response to a user's download operation on target indication information in the various indication information; The transceiver module is used to send the target download request to the server; receive the target configuration installation information downloaded by the server according to the target download request; The processing module is used to install the target configuration according to the target configuration installation information.
7. A server, characterized in that: include: A transceiver module, used to receive current location information uploaded by a terminal device, wherein the current location information includes current country information or current city information, and the current city information is used by the server to determine the current country information; a processing module, configured to update a preset database to obtain an updated preset database; determine whether there is current configuration installation information corresponding to the current location information in the updated preset database, wherein the updated preset database includes configuration installation information corresponding to different countries; the current configuration installation information includes at least one of communication parameters, system language, emergency dialing, and time zone; The transceiver module is further configured to generate and send first indication information to the terminal device, if any, wherein the first indication information includes each indication information corresponding to the current configuration installation information; and receive a target download request sent by the terminal device; The processing module is further used to download and obtain target configuration installation information according to the target download request; The transceiver module is further used to send the target configuration installation information to the terminal device, and the target configuration installation information is used for the terminal device to install the target configuration.
8. A terminal device, characterized in that: include: A memory storing executable program code; a processor and a transceiver coupled to the memory; The transceiver and the processor call the executable program code stored in the memory to execute the method according to any one of claims 1 to 3.
9. A server, characterized in that: include: A memory storing executable program code; a processor and a transceiver coupled to the memory; The transceiver and the processor call the executable program code stored in the memory to execute the method according to any one of claims 4 to 5.
10. A computer-readable storage medium comprising instructions, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 3, or 4 to 5.
Citation Information
Patent Citations
Method, device and system for downloading application software
CN104657484A
Method for installing application, server and terminal
CN106325914A
Information pushing method and apparatus, storage medium and mobile terminal
CN107508883A
Control method and device based on application stores, storage medium, and mobile terminal
CN108712717A
Application program downloading method, device and terminal as well as storage medium
CN109495561A
