CN109901859A - Dynamic configuration official documents and correspondence method, electronic device and storage medium - Google Patents

Dynamic configuration official documents and correspondence method, electronic device and storage medium Download PDF

Info

Publication number
CN109901859A
CN109901859A CN201910053818.2A CN201910053818A CN109901859A CN 109901859 A CN109901859 A CN 109901859A CN 201910053818 A CN201910053818 A CN 201910053818A CN 109901859 A CN109901859 A CN 109901859A
Authority
CN
China
Prior art keywords
key
character string
correspondence
official documents
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910053818.2A
Other languages
Chinese (zh)
Other versions
CN109901859B (en
Inventor
陈颖聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910053818.2A priority Critical patent/CN109901859B/en
Publication of CN109901859A publication Critical patent/CN109901859A/en
Priority to PCT/CN2019/118282 priority patent/WO2020151331A1/en
Application granted granted Critical
Publication of CN109901859B publication Critical patent/CN109901859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The present invention relates to cloud transmission technologys, provide a kind of dynamic configuration official documents and correspondence method, comprising: in the official documents and correspondence on front end and backstage, a Key is arranged in each character string;On backstage, the corresponding character string of Key is modified, Key is fixed, and only modifies character string, the character string for having modification and its Key are bundled to a file, and modify using corresponding official documents and correspondence version number;In front end, when detecting user starts application, the file is downloaded, when user's operation calls the Key in the file, shows the character string in the file.The present invention also provides a kind of electronic device and storage mediums.The present invention modifies on backstage official documents and correspondence at any time, and front end immediately perceives official documents and correspondence variation.

Description

Dynamic configuration official documents and correspondence method, electronic device and storage medium
Technical field
The present invention relates to cloud transmission technique fields, more specifically, are related to a kind of dynamic configuration official documents and correspondence method, electronic device And storage medium.
Background technique
In the prior art, in the application of exploitation, the official documents and correspondence much applied be it is fixed, pass through program and realize that character string is repaired Change, need to modify entire program, by multiple programs such as research staff, product manager, environment publishers, is opened in front end user In application, usual step is: there is new version in display application, if more new version, if user selects more new version, from Entire application program is downloaded on backstage, is installed after having downloaded application program, needs to read entire old application program to there is change The part of change carries out after accordingly modifying, and repacks modified application program in front end, version is carried out between front end and backstage When this update, flow and time are expended, in addition, the user of front end can not immediately perceive the variation of official documents and correspondence.
Summary of the invention
In view of the above problems, the object of the present invention is to provide a kind of backstages to modify official documents and correspondence at any time, and front end immediately perceives official documents and correspondence Dynamic configuration official documents and correspondence method, electronic device and the storage medium of variation.
To achieve the goals above, the present invention provides a kind of electronic device, and the electronic device includes memory and processing Device includes dynamic configuration official documents and correspondence program in the memory, reality when the dynamic configuration official documents and correspondence program is executed by the processor Existing following steps:
In the official documents and correspondence on front end and backstage, a Key is arranged in each character string;
On backstage, the corresponding character string of Key is modified, Key fixes, only modify character string, by the character string for having modification and Its Key is bundled to a file, and modifies using corresponding official documents and correspondence version number;
In front end, when detecting user starts application, the file is downloaded, when user's operation is called in the file When Key, the character string in the file is shown.
In addition, to achieve the goals above, the present invention also provides a kind of dynamic configuration official documents and correspondence methods, comprising:
In the official documents and correspondence on front end and backstage, a Key is arranged in each character string;
On backstage, the corresponding character string of Key is modified, Key fixes, only modify character string, by the character string for having modification and Its Key is bundled to a file, and modifies using corresponding official documents and correspondence version number;
In front end, when detecting user starts application, the file is downloaded, when user's operation is called in the file When Key, the character string in the file is shown.
Preferably, described in front end, when detecting user starts application, the method for downloading the file includes:
In frontal startup application;
Request the official documents and correspondence version number on backstage;
After the official documents and correspondence version number for obtaining backstage, the official documents and correspondence version of the official documents and correspondence version number of the application on backstage and the application of front end is judged Whether this number consistent;
When the official documents and correspondence version number on backstage and the inconsistent official documents and correspondence version number of front end, downloading backstage have modification character string and its The file that Key is packaged.
Moreover it is preferred that showing the character in the file when Key called in the file when user's operation The method of string includes:
Read the Key in the official documents and correspondence version number of the application of front end;
It is searched in the file of the packing on the backstage of front end downloading, judges whether there is the corresponding character string of key;
If there is the corresponding character string of key, shows in file and correspond to character string;
When the corresponding character string of key is not present, show that null character, the null character indicate that the corresponding character string of key does not have Modification.
Moreover it is preferred that described on backstage, the method to the modification of Key corresponding character string further includes the same Key root According to the different modified character string of user authority setting, so that different user sees different-effect.
Moreover it is preferred that it is described on backstage, to the method for Key corresponding character string modification further include: backstage modification Key Preference when corresponding character string according to front end user generates the step of different character strings, and the step includes:
Front end user is acquired to the operation data of key, the operation data includes browsing data, using data, downloading number According to modification one of data or a variety of;
Each user is clustered according to the operation data, obtains the user group of different operation preference;
The different editions of modification character string are generated according to the different operation preference of each user group;
When user's operation calls the Key in the file, the modified word for belonging to user group belonging to the user is shown Symbol string version.
Further, it is preferable that it is described on backstage, to the method for Key corresponding character string modification further include: obtain each The user characteristics of user group, the user characteristics include one or more of age, gender, native place, occupation and level of consumption;
New user and user group are matched according to user characteristics, obtain the user group of new user attaching, by affiliated use The modified character string version of family group is sent to new user.
Moreover it is preferred that it is described on backstage, to the method for Key corresponding character string modification further include:
When modifying multiple character strings in advance, judge the dependence between the corresponding multiple key of the multiple character string, when with When the one of Key of family operation calls, dependence or big setting number other Key of dependence are shown in front end.
Further, it is preferable that the step that dependence between the multiple key determines includes:
The key set being completely dependent on is filtered out, when the corresponding character string modification of a key is so that the corresponding word of another key When symbol string afunction or function conflict, one key is completely dependent on another key;
It is true according to the similarity between its corresponding character string when the dependence being completely dependent on is not present between key Determine the dependence between key, similarity is bigger, and dependence is bigger.
In addition, to achieve the goals above, the present invention also provides a kind of computer readable storage medium, the computer can It reads in storage medium to include dynamic configuration official documents and correspondence program, when the dynamic configuration official documents and correspondence program is executed by processor, realize above-mentioned Dynamic configuration official documents and correspondence method the step of.
Dynamic configuration official documents and correspondence method, electronic device and computer readable storage medium background update application of the present invention When, without modifying in the program entirely applied to modification place, without repacking, it is only necessary to it is corresponding to modify key Character string is saved by multiple programs such as research staff, product manager, environment publishers, facilitates the modification of official documents and correspondence, saves people Power material resources;Front end update in application, do not need yet download and open application program, do not become in front end and background application Change, only had more modified configuration file, front end is opened in application, only needing the word with correlation Key in new configuration file Symbol string, that is to say, that flow is saved in the downloading and update (installation) that the application does not apply entirely, and transmission speed is fast, therefore, this Application can modify official documents and correspondence at any time, and key is fixed, and official documents and correspondence variation, then the regarded text of user also changes therewith.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram of dynamic configuration official documents and correspondence method preferred embodiment of the present invention;
Fig. 2 is the module diagram of dynamic configuration official documents and correspondence program preferred embodiment in Fig. 1;
Fig. 3 is the flow chart of dynamic configuration official documents and correspondence method preferred embodiment of the present invention;
Fig. 4 is the flow chart that front end of the present invention updates file;
Fig. 5 is the flow chart that character string is read in front end of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The present invention provides a kind of dynamic configuration official documents and correspondence method, is applied to a kind of electronic device 1.It is this hair shown in referring to Fig.1 The application environment schematic diagram of bright dynamic configuration official documents and correspondence method preferred embodiment.
In the present embodiment, electronic device 1 can be server, mobile phone, tablet computer, portable computer, desktop meter Calculation machine etc. has the client terminals of calculation function.
Memory 11 includes the readable storage medium storing program for executing of at least one type.The readable storage medium storing program for executing of at least one type It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory 11.In some embodiments, described Readable storage medium storing program for executing can be the internal storage unit of the electronic device 1, such as the hard disk of the electronic device 1.At other In embodiment, the readable storage medium storing program for executing is also possible to the external memory 11 of the electronic device 1, such as the electronic device The plug-in type hard disk being equipped on 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card) etc..
In the present embodiment, the readable storage medium storing program for executing of the memory 11 is installed on the electronic device commonly used in storage 1 dynamic configuration official documents and correspondence program 10 etc..The memory 11, which can be also used for temporarily storing, have been exported or will export Data.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 11, example Such as execute dynamic configuration official documents and correspondence program 10.
Network interface 13 optionally may include standard wireline interface and wireless interface (such as WI-FI interface), be commonly used in Communication connection is established between the electronic device 1 and other electronic clients.
Communication bus 14 is for realizing the connection communication between these components.
Fig. 1 illustrates only the electronic device 1 with component 11-14, it should be understood that being not required for implementing all show Component out, the implementation that can be substituted is more or less component.
Optionally, which can also include user interface, and user interface may include input unit such as keyboard (Keyboard), speech input device such as microphone (microphone) etc. has the client of speech identifying function, voice Output device such as sound equipment, earphone etc., optionally user interface can also include standard wireline interface and wireless interface.
Optionally, which can also include display, and display is referred to as display screen or display unit.
It can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and organic light emission in some embodiments Diode (Organic Light-Emitting Diode, OLED) touches device etc..Display is for showing in the electronic apparatus 1 The information of processing and for showing visual user interface.
Optionally, which further includes touch sensor.It is touched provided by the touch sensor for user The region for touching operation is known as touch area.In addition, touch sensor described here can be resistive touch sensor, capacitor Formula touch sensor etc..Moreover, the touch sensor not only includes the touch sensor of contact, proximity may also comprise Touch sensor etc..In addition, the touch sensor can be single sensor, or such as multiple biographies of array arrangement Sensor.
Optionally, which can also include logic gates, and sensor, voicefrequency circuit etc. are no longer superfluous herein It states.
In Installation practice shown in Fig. 1, as may include in a kind of memory 11 of computer storage medium behaviour Make system and dynamic configuration official documents and correspondence program 10;When processor 12 executes the dynamic configuration official documents and correspondence program 10 stored in memory 11 Realize following steps:
In the official documents and correspondence on front end and backstage, a Key is arranged in each character string;
On backstage, the corresponding character string of Key is modified, Key fixes, only modify character string, by the character string for having modification and Its Key is bundled to a file, and modifies using corresponding official documents and correspondence version number;
In front end, when detecting user starts application, the file is downloaded, when user's operation is called in the file When Key, the character string in the file is shown.
Preferably, the step of front end downloading file includes:
In frontal startup application;
Request the official documents and correspondence version on backstage;
After the official documents and correspondence version for obtaining backstage, the official documents and correspondence version of the official documents and correspondence version number of the application on backstage and the application on foreground is judged It is number whether consistent;
When the official documents and correspondence version number on backstage and the inconsistent official documents and correspondence version number on foreground, downloading backstage have modification character string and its The file that Key is packaged.
Moreover it is preferred that the front end shows that the step of character string in the file includes:
Read the Key in the official documents and correspondence version number of the application of front end;
It is searched in the file of the packing on the backstage of front end downloading, judges whether there is the corresponding character string of key;
If there is the corresponding character string of key, shows in file and correspond to character string;
When the corresponding character string of key is not present, show that null character null character, the null character indicate the corresponding character of key String is not modified.
In other embodiments, the dynamic configuration official documents and correspondence program 10 can also be divided into one or more module, One or more module is stored in memory 11, and is executed by processor 12, to complete the present invention.The present invention is so-called Module is the series of computation machine program instruction section for referring to complete specific function.It is dynamic configuration in Fig. 1 referring to shown in Fig. 2 The functional block diagram of 10 preferred embodiment of official documents and correspondence program.The dynamic configuration official documents and correspondence program 10 is according to the application program on backstage preceding End carries out the dynamic configuration of official documents and correspondence, can be divided into:
Setup module 110, in the official documents and correspondence on front end and backstage, the corresponding Key of each character string;
Modified module 120, when the corresponding character string of Key has modification, Key is fixed, and only modifies character string, will there is modification Character string and its Key are bundled to a file, and modify using corresponding official documents and correspondence version number;
Request module 130, when user starts application, after the official documents and correspondence version number for requesting backstage;Judge the application on backstage Whether official documents and correspondence version number and the official documents and correspondence version number of the application of front end are consistent, when inconsistent, the file of downloading backstage packing;
Display module 140 when Key in the file described in the operation calls of user, shows the character string in the file, I.e. updated character string.
Preferably, the dynamic configuration official documents and correspondence program 10 further include:
Registration module, user register the application in front end, obtain user information
User authority setting module different user is arranged different permissions according to user information.
In addition, the present invention also provides a kind of dynamic configuration official documents and correspondence methods.Referring to shown in Fig. 3, for dynamic configuration text of the present invention The flow chart of case method preferred embodiment.This method can be executed by a device, which can be by software and/or hardware reality It is existing.
In the present embodiment, dynamic configuration official documents and correspondence method carries out the dynamic of official documents and correspondence in front end according to the application program on backstage Configuration, comprising:
Step S1, in the official documents and correspondence on front end and backstage, a Key is arranged in each character string, and the character string includes letter Breath prompt, interface layout (such as different coordinate positions of different display content, different-style etc.) and text formatting (color, greatly Small, font etc.) etc.;
Step S2 modifies the corresponding character string of Key on backstage, and Key is fixed, and only modifies character string, will there is the word of modification Symbol string and its Key are bundled to a file, and modify using corresponding official documents and correspondence version number;
Step S3, when detecting user starts application, downloads the file in front end, described in user's operation calling When Key in file, the character string in the file, i.e., updated character string are shown.
The step of step S3 includes: the step of front end updates file and front end reading character string, in which:
As shown in figure 4, the step of front end update file, includes:
Step S311 in frontal startup application, such as is opened and is applied corresponding APP;
Step S312 requests the official documents and correspondence version number on backstage;
After the official documents and correspondence version number for obtaining backstage, in step S313, official documents and correspondence version number and the front end of the application on backstage are judged Application official documents and correspondence version number it is whether consistent;
When the official documents and correspondence version number on backstage and the inconsistent official documents and correspondence version number of front end, in step S314, downloading backstage is repaired The file that the character string and its Key changed is packaged.
As shown in figure 5, the step of front end reading character string, includes:
Step S321 reads the Key in the official documents and correspondence version number of the application of front end;
Step S322 searches in the file of the packing on the backstage of front end downloading, judges whether there is the corresponding character of key String;
If there is the corresponding character string of key, step S323 shows in file and corresponds to character string;
When the corresponding character string of key is not present, step S324 shows that null character, the null character indicate the corresponding word of key Symbol string is not modified.
In a specific embodiment:
"20107":{
" respMsg ": " sorry, Android camera goes wrong.You may need restarting equipment."
}
" 20107 " are Key, and { " respMsg ": " is sorry, and Android camera goes wrong.You may need to restart to set It is standby." it is the corresponding character string of Key, and above-mentioned Key and character are bundled in a file, it is assumed that filename string.json,
Official documents and correspondence can configure, with increase, when what deletion, modification function, such as Key were mapped to is the modification in applying, User clicks " modification " in application, directly displays modified character string in front end.
In one embodiment of the invention, described on backstage, to the method for Key corresponding character string modification further include: In the file that the character string and its Key of modification are packaged, the same Key can be according to different modified of user authority setting Character string, so that different user sees different-effect, for example, font, color, display position of display etc. are different, or even aobvious The string content shown can also be different.
In one embodiment of the invention, described on backstage, to the method for Key corresponding character string modification further include: The step of different character strings are generated according to the preference of front end user when the modification corresponding character string of Key of backstage, the step packet It includes:
Front end user is acquired to the operation data of key, the operation data includes browsing data, using data, downloading number According to modification one of data or a variety of;
Each user is clustered according to the operation data, obtains the user group of different operation preference;
The different editions that modification character string is generated according to the different operation preference of each user group, for example, in some game In operation, different user has different selections to different keypress functions, preference can modify key function depending on the user's operation The character string of the corresponding key of energy;
When user's operation calls the Key in the file, the modified word for belonging to user group belonging to the user is shown Symbol string version.
Above-mentioned dynamic configuration official documents and correspondence method is according to the different operation preference of different user in the corresponding character of backstage modification key String is packaged into file, and user only needs to download the file in front end, and the official documents and correspondence version of oneself preference can be obtained.
In one alternate embodiment, the method packet that each user is clustered according to the operation data It includes:
Using user key unit time out of period that be published to pre- modification number of operations as preference index, structure Each user is built to the preference matrix of the key, the number of operations includes browsing time, access times, download time and modification One of number is a variety of;
By above-mentioned preference matrix, is clustered using hierarchy clustering method, K-means clustering method, obtain user group.
In another alternative embodiment, the method packet that each user is clustered according to the operation data It includes:
The time series that building user changes over time the operation data of the key;
It is clustered according to the similarity between different sequences, to obtain the cluster of user, the similarity includes Europe Formula distance and dynamic bending distance.
It in one alternate embodiment, can be using the method in the various embodiments described above when the character string of modification has multiple Different character strings is successively generated according to the preference of front end user, in a preferred embodiment, can use front end user pair The operation data of the corresponding multiple key of multiple character strings carries out a point group, modifies the multiple character string according to grouping result.
In one alternate embodiment, described on backstage, to the method for Key corresponding character string modification further include:
The user characteristics of each user group are obtained, the user characteristics include age, gender, native place, occupation and consumption One or more of level;
New user and user group are matched according to user characteristics, obtain the user group of new user attaching, by affiliated use The modified character string version of family group is sent to new user.
In one embodiment of the invention, described on backstage, to the method for Key corresponding character string modification further include::
When modifying multiple character strings in advance, judge the dependence between the corresponding multiple key of the multiple character string, when with When the one of Key of family operation calls, dependence or big other Key of setting number of dependence are shown in front end, In, the dependence is that the variation of a Key influences whether another Key.
Preferably, can also judge to work as user with the presence or absence of incidence relation or/and syntagmatic between above-mentioned multiple key When the one of Key of operation calls, relevant or/and syntagmatic is shown in front end or incidence relation is big or/and group Big other Key of setting number of conjunction relationship, further, it is preferable that according to the sequence of syntagmatic, incidence relation and dependence It is optionally shown, wherein the syntagmatic refers to that two key are whole and part relationships, and whole and part is not It can divide;The incidence relation association key refers to the global variable of associated key.
Preferably, the determining step of the dependence between the multiple key includes:
The key set being completely dependent on is filtered out, when the corresponding character string modification of a key is so that the corresponding word of another key When symbol string afunction or function conflict, one key is completely dependent on another key;
When the dependence being completely dependent on is not present between key, according to the similarity (example between its corresponding character string Such as, the similarity of character string is obtained according to editing distance algorithm) determine dependence between key, similarity is bigger, relies on and closes It is bigger.
Above-mentioned dynamic configuration official documents and correspondence method passes through the judgement of relationship between key, so that front end user passes through one key of downloading Packaging file after modifying character string, can reality and the character string of other related key of the key, can understand in time The variation of entire function.
In one embodiment of the invention, dynamic configuration official documents and correspondence method includes:
The relationship between each key is being set from the background, and the relationship includes irrelevant, dependence, incidence relation, polymerization pass System and syntagmatic, the paradigmatic relation refer to that two key are whole and part relationships, and whole and part can be divided;
As one key of variation in advance, screening has dependence, incidence relation, paradigmatic relation or/and group for the key Other key of conjunction relationship;
Acquiring user, there are other key operation datas of above-mentioned relation, the operation data packets to the key and with it The operation data for including application of the user to the corresponding front end in backstage, further includes the operation of the similar key from network or other APP Data
U=[U1,...,Um]
K=[k1,...,kn]
Wherein, U is user's matrix, and K is key matrix, and C is preference information matrix, cmnFor user UmTo keyknOperand According to;
Each user is clustered according to the operation data, obtains the user group of different operation preference;
The different editions that modification character string is generated according to the different operation preference of each user group, by the character string for having modification and Its Key is bundled to a file, and modifies corresponding official documents and correspondence version number;
In front end, when user starts application, user group belonging to user is judged;
The file for downloading the corresponding official documents and correspondence version number of the user group, when user's operation is called in the file When Key, the character string of version in the file is shown.
Preferably, above-mentioned dynamic configuration official documents and correspondence method further include: judge that user is application (APP, webpage corresponding on backstage Deng) there is operation data, if setting the user as new user, by the text of new user's owning user group without operation data Case version number recommends the new user.
Preferably, the method clustered according to the operation data to each user includes
Each user is constructed to the preference matrix of the key according to key matrix,
Wherein, CnFor keyknFrom the period for being published to pre- modification, pmnFor user UmTo keyknPreference index;
It regards each row element in preference matrix as a vector, the vector of setting number is randomly selected, as setting The cluster centre of the initial cluster of number;
Analyze preference matrix in addition to cluster centre other vectors and the cluster centre Euclidean distance, by other to Amount is directed toward the smallest initial cluster of Euclidean distance, forms new cluster;
Other vectors are directed toward after the most like new cluster of cluster synthesis, by the inclined of the identical vegetable key of different user in new cluster Good index is averaged (each column of the preference matrix of new cluster are separately summed averaging), and the cluster centre of new cluster is obtained;
Judge whether the cluster centre of new cluster is equal to the cluster centre of initial cluster.
If being equal to, tenant group is completed;
If being not equal to, using the center of the new cluster as the cluster centre of initial cluster, return between analysis vector it is European away from From the step of, until the center of new cluster is no longer changed, that is, tenant group is completed.
In one embodiment of the invention, key is clustered according to key and its corresponding character string, when cluster is tied When the character string of a key changes in fruit, also show other key in cluster result in front end.
Preferably, the method clustered according to key and its corresponding character string to key includes:
Obtain multiple key and its corresponding character string;
According to text string generation term vector, for example, using GenericUDF by text string generation term vector;
Term vector is clustered, determines each user characteristics generic.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium In include dynamic configuration official documents and correspondence program, the dynamic configuration official documents and correspondence program realizes following steps when being executed by processor:
In the official documents and correspondence on front end and backstage, the corresponding Key of each character string;
On backstage, when the corresponding character string of Key has modification, Key is fixed, and only modifies character string, will there is the character of modification String and its Key are bundled to a file, and modify using corresponding official documents and correspondence version number;
In front end, when user starts application, the file is downloaded, when user's operation calls the Key in the file, Show the character string in the file.
Preferably, described in front end, when user starts application, the method for downloading the file includes:
In frontal startup application;
Request the official documents and correspondence version on backstage;
After the official documents and correspondence version for obtaining backstage, the official documents and correspondence version of the official documents and correspondence version number of the application on backstage and the application on foreground is judged It is number whether consistent;
When the official documents and correspondence version number on backstage and the inconsistent official documents and correspondence version number on foreground, downloading backstage have modification character string and its The file that Key is packaged.
Moreover it is preferred that showing the character in the file when Key called in the file when user's operation The method of string includes:
Read the Key in the official documents and correspondence version number of the application of front end;
It is searched in the file of the packing on the backstage of front end downloading, judges whether there is the corresponding character string of key;
If there is the corresponding character string of key, shows in file and correspond to character string;
When the corresponding character string of key is not present, show that null character null character, the null character indicate the corresponding character of key String is not modified.
Moreover it is preferred that further including in the character string of modification and its file of Key packing, the same Key is according to user The different modified character string of priority assignation, so that different user sees different-effect.
The specific embodiment of the computer readable storage medium of the present invention and above-mentioned dynamic configuration official documents and correspondence method, electronics fill The specific embodiment set is roughly the same, and details are not described herein.
Above-mentioned dynamic configuration official documents and correspondence method, electronic device and computer readable storage medium only need to download the text changed Part does not need modification application program, does not need more to read part progress of the entire old application program to changing Corresponding modification repacks modified application program without in front end, flow and time is saved, in addition, the user of front end The variation of official documents and correspondence can immediately be perceived.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, light as described above Disk) in, including some instructions are used so that a client terminals (can be mobile phone, computer, server or network visitor Family end etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of dynamic configuration official documents and correspondence method characterized by comprising
In the official documents and correspondence on front end and backstage, a Key is arranged in each character string;
On backstage, the corresponding character string of Key is modified, Key is fixed, and only modifies character string, the character string and its Key that there will be modification It is bundled to a file, and is modified using corresponding official documents and correspondence version number;
In front end, when detecting user starts application, the file is downloaded, when user's operation calls the Key in the file When, show the character string in the file.
2. dynamic configuration official documents and correspondence method according to claim 1, which is characterized in that it is described in front end, when detecting user Starting is in application, the method for downloading the file includes:
In frontal startup application;
Request the official documents and correspondence version number on backstage;
After the official documents and correspondence version number for obtaining backstage, the official documents and correspondence version number of the official documents and correspondence version number of the application on backstage and the application of front end is judged It is whether consistent;
When the official documents and correspondence version number on backstage and the inconsistent official documents and correspondence version number of front end, there are the character string and its Key of modification in downloading backstage The file of packing.
3. dynamic configuration official documents and correspondence method according to claim 1, which is characterized in that described when user's operation calls the text When Key in part, the method for showing the character string in the file includes:
Read the Key in the official documents and correspondence version number of the application of front end;
It is searched in the file of the packing on the backstage of front end downloading, judges whether there is the corresponding character string of key;
If there is the corresponding character string of key, shows in file and correspond to character string;
When the corresponding character string of key is not present, show that null character, the null character indicate that the corresponding character string of key is not modified.
4. dynamic configuration official documents and correspondence method according to claim 1, which is characterized in that described in backstage, word corresponding to Key The method of symbol string modification further include: modified character strings same Key different according to user authority setting, so that different user See different-effect.
5. dynamic configuration official documents and correspondence method according to claim 1, which is characterized in that described in backstage, word corresponding to Key The method of symbol string modification further include: different words is generated according to the preference of front end user when the modification corresponding character string of Key of backstage The step of symbol string, the step includes:
Front end user is acquired to the operation data of key, the operation data include browsing data, using data, downloading data and Modify one of data or a variety of;
Each user is clustered according to the operation data, obtains the user group of different operation preference;
The different editions of modification character string are generated according to the different operation preference of each user group;
When user's operation calls the Key in the file, the modified character string version of user's owning user group is shown This.
6. dynamic configuration official documents and correspondence method according to claim 5, which is characterized in that described in backstage, word corresponding to Key The method of symbol string modification further include:
The user characteristics of each user group are obtained, the user characteristics include age, gender, native place, occupation and the level of consumption One or more of;
New user and user group are matched according to user characteristics, obtain the user group of new user attaching, by owning user group Modified character string version be sent to new user.
7. dynamic configuration official documents and correspondence method according to claim 1, which is characterized in that described in backstage, word corresponding to Key The method of symbol string modification further include:
When modifying multiple character strings in advance, the dependence between the corresponding multiple key of the multiple character string is judged, when user grasps When making to call one of Key, dependence or big setting number other Key of dependence are shown in front end.
8. dynamic configuration official documents and correspondence method according to claim 7, which is characterized in that the dependence between the multiple key is closed It is that determining step includes:
The key set being completely dependent on is filtered out, when the corresponding character string modification of a key is so that the corresponding character string of another key When afunction or function conflict, one key is completely dependent on another key;
When the dependence being completely dependent on is not present between key, key is determined according to the similarity between its corresponding character string Between dependence, similarity is bigger, and dependence is bigger.
9. a kind of electronic device, which is characterized in that including memory and processor, dynamic configuration text is stored in the memory Case program, the dynamic configuration official documents and correspondence program realize following steps when being executed by the processor:
In the official documents and correspondence on front end and backstage, a Key is arranged in each character string;
On backstage, the corresponding character string of Key is modified, Key is fixed, and only modifies character string, the character string and its Key that there will be modification It is bundled to a file, and is modified using corresponding official documents and correspondence version number;
In front end, when detecting user starts application, the file is downloaded, when user's operation calls the Key in the file When, show the character string in the file.
10. a kind of computer readable storage medium, which is characterized in that include that dynamic is matched in the computer readable storage medium Official documents and correspondence program is set, when the dynamic configuration official documents and correspondence program is executed by processor, realizes such as any one of claims 1 to 8 right It is required that the step of dynamic configuration official documents and correspondence method.
CN201910053818.2A 2019-01-21 2019-01-21 Dynamic document configuration method, electronic device and storage medium Active CN109901859B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910053818.2A CN109901859B (en) 2019-01-21 2019-01-21 Dynamic document configuration method, electronic device and storage medium
PCT/CN2019/118282 WO2020151331A1 (en) 2019-01-21 2019-11-14 Method and apparatus for dynamically configuring official documents, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910053818.2A CN109901859B (en) 2019-01-21 2019-01-21 Dynamic document configuration method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN109901859A true CN109901859A (en) 2019-06-18
CN109901859B CN109901859B (en) 2022-04-22

Family

ID=66943992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910053818.2A Active CN109901859B (en) 2019-01-21 2019-01-21 Dynamic document configuration method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN109901859B (en)
WO (1) WO2020151331A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124482A (en) * 2019-12-25 2020-05-08 北京达佳互联信息技术有限公司 Method and device for configuring file information
WO2020151331A1 (en) * 2019-01-21 2020-07-30 平安科技(深圳)有限公司 Method and apparatus for dynamically configuring official documents, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155652A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 A kind of generation method and system of multi-language data file
US20160378445A1 (en) * 2015-06-26 2016-12-29 Mitsubishi Electric Corporation Similarity determination apparatus, similarity determination method and similarity determination program
CN107741858A (en) * 2017-11-28 2018-02-27 深圳市鼎晟开元科技有限公司 The application program update method, apparatus and system of multilingual version
CN108984170A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 The multilingual rendering method of the H5 page and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017120360A1 (en) * 2016-01-05 2017-07-13 Quixey, Inc. Computer-automated generation of application deep links
US10437935B2 (en) * 2017-04-18 2019-10-08 Salesforce.Com, Inc. Natural language translation and localization
CN108804318A (en) * 2018-05-24 2018-11-13 北京金山安全软件有限公司 Page element testing method and device, electronic equipment and storage medium
CN109901859B (en) * 2019-01-21 2022-04-22 平安科技(深圳)有限公司 Dynamic document configuration method, electronic device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155652A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 A kind of generation method and system of multi-language data file
US20160378445A1 (en) * 2015-06-26 2016-12-29 Mitsubishi Electric Corporation Similarity determination apparatus, similarity determination method and similarity determination program
CN108984170A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 The multilingual rendering method of the H5 page and device
CN107741858A (en) * 2017-11-28 2018-02-27 深圳市鼎晟开元科技有限公司 The application program update method, apparatus and system of multilingual version

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020151331A1 (en) * 2019-01-21 2020-07-30 平安科技(深圳)有限公司 Method and apparatus for dynamically configuring official documents, electronic device and storage medium
CN111124482A (en) * 2019-12-25 2020-05-08 北京达佳互联信息技术有限公司 Method and device for configuring file information

Also Published As

Publication number Publication date
CN109901859B (en) 2022-04-22
WO2020151331A1 (en) 2020-07-30

Similar Documents

Publication Publication Date Title
CN110020292B (en) Webpage content extraction method and terminal equipment
EP3074863B1 (en) System and method for testing data representation for different mobile devices
CN108459964B (en) Test case selection method, device, equipment and computer readable storage medium
CN108399072B (en) Application page updating method and device
CN107733984A (en) A kind of method, terminal and computer-readable recording medium for pushing screen locking information
CN107846511A (en) A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN103080873A (en) Extension framework for input method editor
CN111767554B (en) Screen sharing method and device, storage medium and electronic equipment
CN108491326A (en) Behavioral test recombination method, device and storage medium
KR20130142692A (en) License verification method, apparatus and computer readable medium thereof
CN110503506A (en) Item recommendation method, device and medium based on score data
CN110334028A (en) A kind of Android simulator detection method, computer equipment and storage medium
CN107292141A (en) A kind of authentication means, terminal and method
CN109711160A (en) Application program detection method, device and nerve network system
CN110175301A (en) A kind of navigation bar configuration method and device, computer equipment and storage medium
CN113018870A (en) Data processing method and device and computer readable storage medium
CN109901859A (en) Dynamic configuration official documents and correspondence method, electronic device and storage medium
CN113849748A (en) Information display method and device, electronic equipment and readable storage medium
CN106796521A (en) Independently of the API Version Controls of product issue
CN109299424A (en) It is a kind of to provide the method, apparatus and computer readable medium of response events based on rich text
CN110727425A (en) Electronic device, form data verification method and computer-readable storage medium
CN109871205A (en) GUI code method of adjustment, device, computer installation and storage medium
US20150242175A1 (en) Image forming system, information processing device, tally information transmission method, and non-transitory computer readable recording medium
CN109299378B (en) Search result display method and device, terminal and storage medium
CN108427586B (en) Using push terminal, method and the computer readable storage medium of theme

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant