CN108132990A - The replacement method of picture, device and storage medium built in a kind of APP - Google Patents
The replacement method of picture, device and storage medium built in a kind of APP Download PDFInfo
- Publication number
- CN108132990A CN108132990A CN201711374513.9A CN201711374513A CN108132990A CN 108132990 A CN108132990 A CN 108132990A CN 201711374513 A CN201711374513 A CN 201711374513A CN 108132990 A CN108132990 A CN 108132990A
- Authority
- CN
- China
- Prior art keywords
- picture
- new
- pictures
- app
- name
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Medical Treatment And Welfare Office Work (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses the replacement method of picture, device and storage medium, this method built in a kind of APP to include:Obtain the picture name of the new UI pictures to be replaced in APP;The matched original graph title of picture famous prime minister for having with new UI pictures is detected whether in pre-stored original graph title, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image;In the case where there is the matched original graph title of picture famous prime minister with new UI pictures, new UI pictures are replaced into the position to the corresponding original image of original graph title in APP.The accuracy that the present invention replaces is higher, this is searched by picture name needs the process of original image replaced not need to engineering staff's manual operation, replacement process takes shorter, even if there is in high volume new UI pictures, also the replacement of picture built in APP can be rapidly completed, treatment effeciency is higher, better user experience.
Description
Technical field
The present invention relates to intelligent terminal field, more particularly to the replacement method of picture, device and storage built in a kind of APP
Medium.
Background technology
Along with the rapid development that mobile phone is applied, the functional coverage face of APP (Application, application software) is also more next
Wider, many APP devise multiple business scene, in order to improve user experience, all carry out the picture under the common page
Built in local.When business occur change or have newly need picture to be shown when, it is necessary to built-in picture is replaced.It is logical
In the case of often, replacing the flow of picture is, to picture, these pictures are all UI (User Interface, user interface) personnel
With the Chinese naming of different business situation, then developer, finds corresponding picture, according to original life in project
The filename of picture that name modification UI personnel give, and replace.This mode not only takes very much, but also because of manual operation, non-
Chang Rongyi malfunctions, and causes picture that cannot correctly show, influences user experience.
Invention content
The embodiment of the present invention provides replacement method, device and the storage medium of picture built in a kind of APP, existing to solve
The following problem of technology:Picture alternative not only takes very much in existing APP, but also because of manual operation, is very easy to
Error, causes picture that cannot correctly show, influences user experience.
In order to solve the above technical problems, on the one hand, the embodiment of the present invention provides a kind of replacement method of picture built in APP,
Including:Obtain the picture name of the new UI pictures to be replaced in APP;Detect whether exist in pre-stored original graph title
With the matched original graph title of picture famous prime minister of the new UI pictures, wherein, set in the entitled APP of original image
The corresponding picture name of each built-in picture;Exist and the matched original graph title of picture famous prime minister of the new UI pictures
In the case of, the new UI pictures are replaced into the position to the corresponding original image of the original graph title in the APP.
Optionally, the picture famous prime minister for having with the new UI pictures is detected whether in pre-stored original graph title
After the original graph title matched, further include:There is no the matched original graph titles of picture famous prime minister with the new UI pictures
In the case of, the prompt message of the picture name of the new UI pictures is changed in transmission.
Optionally, it before obtaining the picture name to be replaced to the new UI pictures in APP, further includes:According to the first default life
The original graph title of each built-in picture set in APP described in name rule setting;Each original graph title is stored.
Optionally, it before obtaining the picture name to be replaced to the new UI pictures in APP, further includes:Detect the institute received
Whether the picture name for stating new UI pictures meets the second default naming rule;Described is not met in the picture name of the new UI pictures
In the case of two default naming rules, the prompt message for the picture name for changing the new UI pictures is sent.
Optionally, the new UI pictures are replaced to the corresponding original image of the original graph title in the APP
Position, including:The picture name of the new UI pictures is revised as the matched original image of picture famous prime minister with the new UI pictures
Name;The position where the corresponding original image of the original graph title is searched in the APP;Described in after modification picture name
New UI pictures are replaced to the position where the original image.
On the other hand, the embodiment of the present invention also provides a kind of alternative of picture built in APP, including:Acquisition module is used
In the picture name for obtaining the new UI pictures to be replaced in APP;Matching module, for being examined in pre-stored original graph title
It surveys with the presence or absence of the matched original graph title of picture famous prime minister with the new UI pictures, wherein, the original image is entitled described
The corresponding picture name of each built-in picture set in APP;Replacement module, for there is the figure with the new UI pictures
In the case of the original graph title that title matches, the new UI pictures are replaced into original graph corresponding to the original graph title
Position of the piece in the APP.
Optionally, it further includes:First sending module, for there is no matched with the picture famous prime minister of the new UI pictures
In the case of original graph title, the prompt message for the picture name for changing the new UI pictures is sent.
Optionally, it further includes:Setup module, for each according to being set in the first default naming rule setting APP
The original graph title of a built-in picture, and each original graph title is stored.
Optionally, it further includes:Detection module, for detecting whether the picture name of the new UI pictures that receives meets the
Two default naming rules;Second sending module, for not meeting the described second default name in the picture name of the new UI pictures
In the case of rule, the prompt message for the picture name for changing the new UI pictures is sent.
Optionally, the replacement module, is specifically used for:The picture name of the new UI pictures is revised as scheming with the new UI
The matched original graph title of picture famous prime minister of piece;Where searching the corresponding original image of the original graph title in the APP
Position;The new UI pictures after modification picture name are replaced to the position where the original image.
On the other hand, the embodiment of the present invention also provides a kind of storage medium, is stored with computer program, the computer journey
The step of replacement method of picture built in above-mentioned APP is realized when sequence is executed by processor.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Description of the drawings
Fig. 1 is the flow chart of the replacement method of picture built in APP in first embodiment of the invention;
Fig. 2 is the flow chart of the replacement method of picture built in APP in second embodiment of the invention;
Fig. 3 is the flow chart of the replacement method of picture built in APP in third embodiment of the invention;
Fig. 4 is the flow chart of the replacement method of picture built in APP in fourth embodiment of the invention;
Fig. 5 is the structure diagram of the alternative of picture built in APP in fifth embodiment of the invention;
Fig. 6 is the structure diagram of the alternative of picture built in APP in sixth embodiment of the invention;
Fig. 7 is the structure diagram of the alternative of picture built in APP in seventh embodiment of the invention.
Specific embodiment
In order to solve the problems, such as the as follows of the prior art:Picture alternative not only takes very much in existing APP, Er Qieyin
For manual operation, error is very easy to, causes picture that cannot correctly show, influences user experience;The present invention provides a kind of APP
Replacement method, device and the storage medium of built-in picture below in conjunction with attached drawing and embodiment, carry out the present invention further detailed
It describes in detail bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, the present invention is not limited.
First embodiment of the invention provides a kind of replacement method of picture built in APP, flow such as Fig. 1 institutes of this method
Show, including step S101 to S103:
S101 obtains the picture name of the new UI pictures to be replaced in APP.
The picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be Chinese, also may be used
To be simple names of built-in picture etc. in APP, herein without limiting.
S102 detects whether the matched original of picture famous prime minister for having with new UI pictures in pre-stored original graph title
Beginning picture name, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image.
The present embodiment determines the figure of new UI pictures during the picture name of new UI pictures and original graph title is matched
Whether title can be embodied with the matched process of original image famous prime minister by matching degree, and matching degree can according to actual demand into
Row setting, for example, matching degree confirms matching when reaching 90%, alternatively, matching degree just confirm when reaching 60% match or
Person, matching degree just confirm matching when reaching 100%.
Then can be the setting pair of pre-stored original graph title when the picture name that Chinese is used to set new UI pictures
According to table, the Chinese name in the table of comparisons is corresponded in the way of name is generally preferred that the engineer of figure.For example, original graph
Piece is entitled " house_detail_config_inexistent_jicun.png ", then can set " house_detail_
Chinese names of the config_inexistent_jicun.png " in the table of comparisons is " homepage takes out .png ";If new UI pictures
Picture it is entitled " homepage take out .png ", then it is " house_detail_config_ that can determine the original image to be replaced
inexistent_jicun.png”.During specific implementation, if the picture of the new UI pictures of UI personnel setting is entitled, " first is taken out
.png ", then matching degree at this time can play a role, i.e., then think to match when the matching degree of setting is more than 75%, then
It can open and find the corresponding original image of picture entitled " first takes out .png ".
If setting the picture name of new UI pictures using English name, can directly match with original image name.Example
Such as, original image is entitled " house_detail_config_inexistent_jicun.png ", if the picture of new UI pictures
Entitled " jicun.png " can then determine that the original image to be replaced is " house_detail_config_inexistent_
jicun.png”.Certainly, the picture name for setting new UI pictures using English name can also set matching degree, no longer superfluous herein
It states.
In the case where there is the matched original graph title of picture famous prime minister with new UI pictures, new UI pictures are replaced by S103
Shift to position of the corresponding original image of original graph title in APP.
The embodiment of the present invention has prestored the respective picture name of each built-in picture set in APP, and by the picture
Name is as original image name, when needing to replace built-in picture current in APP, then obtains the picture name of new UI pictures, and
Searched in pre-stored original graph title with the matched original graph titles of picture famous prime minister of new UI pictures, when finding original image
During name, then it is which that can determine, which needs the picture replaced, then it is original directly can to replace in APP some using new UI pictures
Built-in picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Second embodiment of the invention provides a kind of replacement method of picture built in APP, flow such as Fig. 2 institutes of this method
Show, including step S201 to S204:
S201 obtains the picture name of the new UI pictures to be replaced in APP.
The picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be Chinese, also may be used
To be simple names of built-in picture etc. in APP, herein without limiting.
S202 detects whether the matched original of picture famous prime minister for having with new UI pictures in pre-stored original graph title
Beginning picture name, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image.If it is, it holds
Row S203, otherwise performs S204.
The present embodiment determines the figure of new UI pictures during the picture name of new UI pictures and original graph title is matched
Whether title can be embodied with the matched process of original image famous prime minister by matching degree, and matching degree can according to actual demand into
Row setting, for example, matching degree confirms matching when reaching 90%, alternatively, matching degree just confirm when reaching 60% match or
Person, matching degree just confirm matching when reaching 100%.
Then can be the setting pair of pre-stored original graph title when the picture name that Chinese is used to set new UI pictures
According to table, the Chinese name in the table of comparisons is corresponded in the way of name is generally preferred that the engineer of figure.For example, original graph
Piece is entitled " house_detail_config_inexistent_jicun.png ", then can set " house_detail_
Chinese names of the config_inexistent_jicun.png " in the table of comparisons is " homepage takes out .png ";If new UI pictures
Picture it is entitled " homepage take out .png ", then it is " house_detail_config_ that can determine the original image to be replaced
inexistent_jicun.png”.During specific implementation, if the picture of the new UI pictures of UI personnel setting is entitled, " first is taken out
.png ", then matching degree at this time can play a role, i.e., then think to match when the matching degree of setting is more than 75%, then
It can open and find the corresponding original image of picture entitled " first takes out .png ".
If setting the picture name of new UI pictures using English name, can directly match with original image name.Example
Such as, original image is entitled " house_detail_config_inexistent_jicun.png ", if the picture of new UI pictures
Entitled " jicun.png " can then determine that the original image to be replaced is " house_detail_config_inexistent_
jicun.png”.Certainly, the picture name for setting new UI pictures using English name can also set matching degree, no longer superfluous herein
It states.
In the case where there is the matched original graph title of picture famous prime minister with new UI pictures, new UI pictures are replaced by S203
Shift to position of the corresponding original image of original graph title in APP.
In the case of there is no with the matched original graph title of the picture famous prime minister of new UI pictures, it is new to send modification by S204
The prompt message of the picture name of UI pictures.
During specific implementation, if the supplier of new UI pictures is the use inside same system with the engineering staff for replacing picture
Family then can send prompt message to the supplier of new UI pictures;If engineering of the supplier of new UI pictures with replacing picture
Personnel are not the users inside same system, then can send prompt message to the engineering staff for replacing picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Third embodiment of the invention provides a kind of replacement method of picture built in APP, flow such as Fig. 3 institutes of this method
Show, including step S301 to S306:
S301, according to the original graph title of each built-in picture set in the first default naming rule setting APP, and will
Each original graph title is stored.
S302, detects whether the picture name of new UI pictures received meets the second default naming rule.In new UI pictures
Picture name do not meet the second default naming rule in the case of, perform S306, otherwise, perform S303.
During specific implementation, the above-mentioned first default naming rule can be identical with the second default naming rule, certainly, also may be used
With difference.If the first default naming rule can be different with the second default naming rule, can be set according to naming rule
For the matched table of comparisons.
S303 obtains the picture name of the new UI pictures to be replaced in APP.
The picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be Chinese, also may be used
To be simple names of built-in picture etc. in APP, herein without limiting.
S304 detects whether the matched original of picture famous prime minister for having with new UI pictures in pre-stored original graph title
Beginning picture name, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image.Exist with it is new
In the case of the matched original graph title of picture famous prime minister of UI pictures, then S305 is performed, otherwise performs S306.
The present embodiment determines the figure of new UI pictures during the picture name of new UI pictures and original graph title is matched
Whether title can be embodied with the matched process of original image famous prime minister by matching degree, and matching degree can according to actual demand into
Row setting, for example, matching degree confirms matching when reaching 90%, alternatively, matching degree just confirm when reaching 60% match or
Person, matching degree just confirm matching when reaching 100%.
Then can be the setting pair of pre-stored original graph title when the picture name that Chinese is used to set new UI pictures
According to table, the Chinese name in the table of comparisons is corresponded in the way of name is generally preferred that the engineer of figure.For example, original graph
Piece is entitled " house_detail_config_inexistent_jicun.png ", then can set " house_detail_
Chinese names of the config_inexistent_jicun.png " in the table of comparisons is " homepage takes out .png ";If new UI pictures
Picture it is entitled " homepage take out .png ", then it is " house_detail_config_ that can determine the original image to be replaced
inexistent_jicun.png”.During specific implementation, if the picture of the new UI pictures of UI personnel setting is entitled, " first is taken out
.png ", then matching degree at this time can play a role, i.e., then think to match when the matching degree of setting is more than 75%, then
It can open and find the corresponding original image of picture entitled " first takes out .png ".
If setting the picture name of new UI pictures using English name, can directly match with original image name.Example
Such as, original image is entitled " house_detail_config_inexistent_jicun.png ", if the picture of new UI pictures
Entitled " jicun.png " can then determine that the original image to be replaced is " house_detail_config_inexistent_
jicun.png”.Certainly, the picture name for setting new UI pictures using English name can also set matching degree, no longer superfluous herein
It states.
New UI pictures are replaced the position to the corresponding original image of original graph title in APP by S305.
S306 sends the prompt message for the picture name for changing new UI pictures.
During specific implementation, if the supplier of new UI pictures is the use inside same system with the engineering staff for replacing picture
Family then can send prompt message to the supplier of new UI pictures;If engineering of the supplier of new UI pictures with replacing picture
Personnel are not the users inside same system, then can send prompt message to the engineering staff for replacing picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Fourth embodiment of the invention provides a kind of replacement method of picture built in APP, flow such as Fig. 4 institutes of this method
Show, including step S401 to S406:
S401 obtains the picture name of the new UI pictures to be replaced in APP.
The picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be Chinese, also may be used
To be simple names of built-in picture etc. in APP, herein without limiting.
S402 detects whether the matched original of picture famous prime minister for having with new UI pictures in pre-stored original graph title
Beginning picture name, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image.If it is, it holds
Row S403, otherwise performs S406.
The present embodiment determines the figure of new UI pictures during the picture name of new UI pictures and original graph title is matched
Whether title can be embodied with the matched process of original image famous prime minister by matching degree, and matching degree can according to actual demand into
Row setting, for example, matching degree confirms matching when reaching 90%, alternatively, matching degree just confirm when reaching 60% match or
Person, matching degree just confirm matching when reaching 100%.
Then can be the setting pair of pre-stored original graph title when the picture name that Chinese is used to set new UI pictures
According to table, the Chinese name in the table of comparisons is corresponded in the way of name is generally preferred that the engineer of figure.For example, original graph
Piece is entitled " house_detail_config_inexistent_jicun.png ", then can set " house_detail_
Chinese names of the config_inexistent_jicun.png " in the table of comparisons is " homepage takes out .png ";If new UI pictures
Picture it is entitled " homepage take out .png ", then it is " house_detail_config_ that can determine the original image to be replaced
inexistent_jicun.png”.During specific implementation, if the picture of the new UI pictures of UI personnel setting is entitled, " first is taken out
.png ", then matching degree at this time can play a role, i.e., then think to match when the matching degree of setting is more than 75%, then
It can open and find the corresponding original image of picture entitled " first takes out .png ".
If setting the picture name of new UI pictures using English name, can directly match with original image name.Example
Such as, original image is entitled " house_detail_config_inexistent_jicun.png ", if the picture of new UI pictures
Entitled " jicun.png " can then determine that the original image to be replaced is " house_detail_config_inexistent_
jicun.png”.Certainly, the picture name for setting new UI pictures using English name can also set matching degree, no longer superfluous herein
It states.
The picture name of new UI pictures is revised as and the matched original graph title of the picture famous prime minister of new UI pictures by S403.
S404 searches the position where the corresponding original image of original graph title in APP.
New UI pictures after modification picture name are replaced the position to where original image by S405.
By the above process, it is possible to the original image in APP is directly replaced using new UI pictures, replacement process is more
Accurately.
S406 sends the prompt message for the picture name for changing new UI pictures.
During specific implementation, if the supplier of new UI pictures is the use inside same system with the engineering staff for replacing picture
Family then can send prompt message to the supplier of new UI pictures;If engineering of the supplier of new UI pictures with replacing picture
Personnel are not the users inside same system, then can send prompt message to the engineering staff for replacing picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Fifth embodiment of the invention provides a kind of alternative of picture built in APP, structural representation such as Fig. 5 of the device
It is shown, including:
Acquisition module 10, for obtaining the picture name of the new UI pictures to be replaced in APP;Matching module 11, with acquisition
Module 10 couples, matched with the picture famous prime minister of new UI pictures for detecting whether to exist in pre-stored original graph title
Original graph title, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image;Replacement module
12, it is coupled with matching module 11, in the case of presence with the matched original graph title of picture famous prime minister of new UI pictures, inciting somebody to action
New UI pictures replace the position to the corresponding original image of original graph title in APP.
During specific implementation, the picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be in
Literary fame claims or simple names of built-in picture etc. in APP, herein without limiting.In matching module by new UI pictures
Picture name and original graph title it is matched during, determine whether the picture name of new UI pictures matched with original image famous prime minister
Process can be embodied by matching degree, and matching degree can be configured according to actual demand, for example, matching degree is reaching 90%
When confirm matching, alternatively, matching degree just confirms matching when reaching 60%, alternatively, matching degree just confirmation when reaching 100%
Match.
In order to further increase the accuracy of picture replacement, replacement module specifically can be used for:By the picture of new UI pictures
Name is revised as and the matched original graph title of the picture famous prime minister of new UI pictures;It is corresponding original that original graph title is searched in APP
Position where picture;New UI pictures after modification picture name are replaced to the position to where original image.
The embodiment of the present invention has prestored the respective picture name of each built-in picture set in APP, and by the picture
Name is as original image name, when needing to replace built-in picture current in APP, then obtains the picture name of new UI pictures, and
Searched in pre-stored original graph title with the matched original graph titles of picture famous prime minister of new UI pictures, when finding original image
During name, then it is which that can determine, which needs the picture replaced, then it is original directly can to replace in APP some using new UI pictures
Built-in picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Sixth embodiment of the invention provides a kind of alternative of picture built in APP, structural representation such as Fig. 6 of the device
It is shown, including:
Acquisition module 20, for obtaining the picture name of the new UI pictures to be replaced in APP;Matching module 21, with acquisition
Module 20 couples, matched with the picture famous prime minister of new UI pictures for detecting whether to exist in pre-stored original graph title
Original graph title, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image;Replacement module
22, it is coupled with matching module 21, in the case of presence with the matched original graph title of picture famous prime minister of new UI pictures, inciting somebody to action
New UI pictures replace the position to the corresponding original image of original graph title in APP;First sending module 23, with matching module
21 couplings, in the case of there is no with the matched original graph title of the picture famous prime minister of new UI pictures, sending and changing new UI
The prompt message of the picture name of picture.
During specific implementation, the picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be in
Literary fame claims or simple names of built-in picture etc. in APP, herein without limiting.In matching module by new UI pictures
Picture name and original graph title it is matched during, determine whether the picture name of new UI pictures matched with original image famous prime minister
Process can be embodied by matching degree, and matching degree can be configured according to actual demand, for example, matching degree is reaching 90%
When confirm matching, alternatively, matching degree just confirms matching when reaching 60%, alternatively, matching degree just confirmation when reaching 100%
Match.
If the supplier of new UI pictures is the user inside same system with the engineering staff for replacing picture, first sends out
Send module that can send prompt message to the supplier of new UI pictures;If engineering of the supplier of new UI pictures with replacing picture
Personnel are not the users inside same system, then the first sending module can send prompting letter to the engineering staff for replacing picture
Breath.
The embodiment of the present invention has prestored the respective picture name of each built-in picture set in APP, and by the picture
Name is as original image name, when needing to replace built-in picture current in APP, then obtains the picture name of new UI pictures, and
Searched in pre-stored original graph title with the matched original graph titles of picture famous prime minister of new UI pictures, when finding original image
During name, then it is which that can determine, which needs the picture replaced, then it is original directly can to replace in APP some using new UI pictures
Built-in picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Seventh embodiment of the invention provides a kind of alternative of picture built in APP, structural representation such as Fig. 7 of the device
It is shown, including:
Setup module 30, for according to the original of each built-in picture set in the first default naming rule setting APP
Picture name, and each original graph title is stored;Detection module 31, for detecting the picture name of new UI pictures received
Whether second default naming rule is met;Second sending module 32, couples with detection module 31, in the picture of new UI pictures
In the case that name does not meet the second default naming rule, the prompt message for the picture name for changing new UI pictures is sent;Acquisition module
33, it is coupled with detection module 31, for obtaining the picture name of the new UI pictures to be replaced in APP;Matching module 34, with setting
Module 30 and acquisition module 33 couple, for detecting whether the figure for having with new UI pictures in pre-stored original graph title
The original graph title that title matches, wherein, the corresponding picture of each built-in picture set in the entitled APP of original image
Name;Replacement module 35 is coupled with matching module 34, for there is the matched original graph title of picture famous prime minister with new UI pictures
In the case of, new UI pictures are replaced into the position to the corresponding original image of original graph title in APP;First sending module
36, it is coupled with matching module 34, in the case of there is no with the matched original graph title of the picture famous prime minister of new UI pictures,
Send the prompt message for the picture name for changing new UI pictures.
Preferably, the first above-mentioned default naming rule can be identical with the second default naming rule, it is of course also possible to not
Together.If the first default naming rule can be different with the second default naming rule, it can be set and be used for according to naming rule
The matched table of comparisons.
During specific implementation, the picture name of the new UI pictures of the embodiment of the present invention can be diversified forms, for example, it may be in
Literary fame claims or simple names of built-in picture etc. in APP, herein without limiting.In matching module by new UI pictures
Picture name and original graph title it is matched during, determine whether the picture name of new UI pictures matched with original image famous prime minister
Process can be embodied by matching degree, and matching degree can be configured according to actual demand, for example, matching degree is reaching 90%
When confirm matching, alternatively, matching degree just confirms matching when reaching 60%, alternatively, matching degree just confirmation when reaching 100%
Match.
If the supplier of new UI pictures is the user inside same system with the engineering staff for replacing picture, first sends out
Send module that can send prompt message to the supplier of new UI pictures;If engineering of the supplier of new UI pictures with replacing picture
Personnel are not the users inside same system, then the first sending module can send prompting letter to the engineering staff for replacing picture
Breath.
The embodiment of the present invention has prestored the respective picture name of each built-in picture set in APP, and by the picture
Name is as original image name, when needing to replace built-in picture current in APP, then obtains the picture name of new UI pictures, and
Searched in pre-stored original graph title with the matched original graph titles of picture famous prime minister of new UI pictures, when finding original image
During name, then it is which that can determine, which needs the picture replaced, then it is original directly can to replace in APP some using new UI pictures
Built-in picture.
The present embodiment can search for the original image for needing to replace automatically by the picture name of new UI pictures, and search
Replacement is automatically performed after original image, the accuracy of replacement is higher, should search the original image for needing to replace by picture name
Process does not need to engineering staff's manual operation, replacement process take it is shorter, also can be fast even if there is high-volume new UI pictures
Speed completes the replacement of picture built in APP, and treatment effeciency is higher, better user experience, solves the problems, such as the as follows of the prior art:It is existing
Picture alternative not only takes very much in some APP, but also because of manual operation, is very easy to error, causes picture cannot
Correct display, influences user experience.
Eighth embodiment of the invention provides a kind of storage medium, is stored with computer program, and computer program is handled
Device realizes following steps when performing:
S1 obtains the picture name of the new UI pictures to be replaced in APP.
S2 detects whether to exist in pre-stored original graph title matched original with the picture famous prime minister of new UI pictures
Picture name, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image.
In the case where there is the matched original graph title of picture famous prime minister with new UI pictures, new UI pictures are replaced by S3
To position of the corresponding original image of original graph title in APP.
When being specifically executed by processor, following specific steps can be executed by processor:The picture name of new UI pictures is repaiied
It is changed to and the matched original graph title of the picture famous prime minister of new UI pictures;The corresponding original image of original graph title is searched in APP
The position at place;New UI pictures after modification picture name are replaced to the position to where original image.
S4 in the case of there is no with the matched original graph title of the picture famous prime minister of new UI pictures, sends and changes new UI
The prompt message of the picture name of picture.
Computer program be executed by processor the step of obtaining picture name to be replaced to the new UI pictures in APP it
Before, following setting steps can also be executed by processor:It is each built-in according to being set in the first default naming rule setting APP
The original graph title of picture, and each original graph title is stored.During specific implementation, if corresponding APP in server
Data are json data, then can add specific field in json data, be used to store the original image of picture built in APP
Name.
For example, adding pic_name fields in json data, the picture name of picture built in corresponding to is stored;It then subsequently can be with
The value of this field of pic_name in batch extracting json data, and then the picture name table of comparisons of built-in picture is aggregated into, in case
Picture built in follow-up replacement uses.
Computer program be executed by processor the step of obtaining picture name to be replaced to the new UI pictures in APP it
Before, following detecting step can also be executed by processor:Detect whether the picture name of new UI pictures received meets second in advance
If naming rule;In the case where the picture name of new UI pictures does not meet the second default naming rule, send and change new UI pictures
Picture name prompt message.
Above-mentioned setting steps and detecting step can exist simultaneously;The first above-mentioned default naming rule can be with second in advance
If naming rule is identical, so as to carry out unified standard to picture name;If the first default naming rule can be with second in advance
If naming rule is different, then can be set according to naming rule for the matched table of comparisons.
Due to the above process be when realizing with existing for computer program code, can set one or
Multiple scripts realize the corresponding function of above-mentioned each step by running one or more scripts.
The embodiment of the present invention can be applied in the APP of mobile terminal, and the naming method of picture built-in in APP is carried out
Unified standard adds the picture name that specific field is used to store built-in picture, also, by using script in the data of request
The picture that Auto-matching needs are replaced completes replacement action, reaches script of operation, the function of picture replacement built in completion,
The problem of avoiding the picture mistake brought because manual operation malfunctions, promotes user experience.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
The various media that can store program code such as CD.Optionally, in the present embodiment, processor has been deposited according in storage medium
The program code of storage performs the method and step of above-described embodiment record.Optionally, the specific example in the present embodiment can refer to
Example described in above-described embodiment and optional embodiment, details are not described herein for the present embodiment.Obviously, the technology of this field
Personnel should be understood that each module of the above-mentioned present invention or each step can be realized with general computing device, they can be with
It concentrates on single computing device or is distributed on the network that multiple computing devices are formed, optionally, they can be used
The program code that computing device can perform is realized, is held by computing device it is thus possible to be stored in storage device
Row, and in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein or divides them
It is not fabricated to each integrated circuit modules or multiple modules in them or step are fabricated to single integrated circuit module
It realizes.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
Although for example purpose, the preferred embodiment of the present invention is had been disclosed for, those skilled in the art will recognize
Various improvement, increase and substitution are also possible, and therefore, the scope of the present invention should be not limited to the above embodiments.
Claims (11)
1. a kind of replacement method of picture built in APP, which is characterized in that including:
Obtain the picture name of the new user interface UI pictures to be replaced in application software APP;
The matched original graph of picture famous prime minister for having with the new UI pictures is detected whether in pre-stored original graph title
Title, wherein, the corresponding picture name of each built-in picture set in the entitled APP of original image;
In the case where there is the matched original graph title of picture famous prime minister with the new UI pictures, the new UI pictures are replaced
To position of the corresponding original image of the original graph title in the APP.
2. replacement method as described in claim 1, which is characterized in that detect whether to deposit in pre-stored original graph title
After the matched original graph title of picture famous prime minister with the new UI pictures, further include:
In the case of there is no the matched original graph title of picture famous prime minister with the new UI pictures, send and change the new UI
The prompt message of the picture name of picture.
3. replacement method as described in claim 1, which is characterized in that obtain the new UI figures to be replaced in application software APP
Before the picture name of piece, further include:
The original graph title of each built-in picture set in the APP is set according to the first default naming rule;
Each original graph title is stored.
4. replacement method as described in claim 1, which is characterized in that obtain the new UI figures to be replaced in application software APP
Before the picture name of piece, further include:
Detect whether the picture name of the new UI pictures received meets the second default naming rule;
In the case where the picture name of the new UI pictures does not meet the described second default naming rule, send and change the new UI
The prompt message of the picture name of picture.
5. replacement method according to any one of claims 1 to 4, which is characterized in that replace the new UI pictures to institute
Position of the corresponding original image of original graph title in the APP is stated, including:
The picture name of the new UI pictures is revised as the matched original graph title of picture famous prime minister with the new UI pictures;
The position where the corresponding original image of the original graph title is searched in the APP;
The new UI pictures after modification picture name are replaced to the position where the original image.
6. a kind of alternative of picture built in APP, which is characterized in that including:
Acquisition module, for obtaining the picture name of the new user interface UI pictures to be replaced in application software APP;
Matching module, for detecting whether the picture famous prime minister for having with the new UI pictures in pre-stored original graph title
Matched original graph title, wherein, the corresponding figure of each built-in picture set in the entitled APP of original image
Title;
Replacement module, in the case where existing with the matched original graph titles of picture famous prime minister of the new UI pictures, by institute
It states new UI pictures and replaces position to the corresponding original image of the original graph title in the APP.
7. alternative as claimed in claim 6, which is characterized in that further include:
First sending module, for there is no the situations of the matched original graph title of picture famous prime minister with the new UI pictures
Under, the prompt message of the picture name of the new UI pictures is changed in transmission.
8. alternative as claimed in claim 6, which is characterized in that further include:
Setup module, for setting the original graph of each built-in picture set in the APP according to the first default naming rule
Title, and each original graph title is stored.
9. alternative as claimed in claim 6, which is characterized in that further include:
Detection module, for detecting whether the picture name of the new UI pictures received meets the second default naming rule;
Second sending module, for not meeting the situation of the described second default naming rule in the picture name of the new UI pictures
Under, the prompt message of the picture name of the new UI pictures is changed in transmission.
10. the alternative as described in any one of claim 6 to 9, which is characterized in that the replacement module is specifically used for:
The picture name of the new UI pictures is revised as the matched original graph title of picture famous prime minister with the new UI pictures;Institute
State the position searched in APP where the corresponding original image of the original graph title;By the new UI figures after modification picture name
Piece is replaced to the position where the original image.
11. a kind of storage medium, is stored with computer program, which is characterized in that when the computer program is executed by processor
Realize any one of claim 1 to 5 built in the APP the step of replacement method of picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711374513.9A CN108132990B (en) | 2017-12-19 | 2017-12-19 | Method and device for replacing APP built-in picture and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711374513.9A CN108132990B (en) | 2017-12-19 | 2017-12-19 | Method and device for replacing APP built-in picture and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108132990A true CN108132990A (en) | 2018-06-08 |
CN108132990B CN108132990B (en) | 2022-05-31 |
Family
ID=62390812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711374513.9A Active CN108132990B (en) | 2017-12-19 | 2017-12-19 | Method and device for replacing APP built-in picture and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108132990B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102810060A (en) * | 2011-06-01 | 2012-12-05 | 腾讯科技(深圳)有限公司 | Method and device for configuring Android picture resource |
CN103269452A (en) * | 2013-05-27 | 2013-08-28 | 河南有线电视网络集团有限公司 | Advertisement content renewing method and device |
US8676066B2 (en) * | 2010-10-22 | 2014-03-18 | Oki Data Corporation | Image forming apparatus having control unit |
CN104092726A (en) * | 2014-06-09 | 2014-10-08 | 乐视网信息技术(北京)股份有限公司 | Automatic replacing method and apparatus of same-name file |
CN106201482A (en) * | 2016-06-30 | 2016-12-07 | 努比亚技术有限公司 | A kind of data processing method and electronic equipment |
-
2017
- 2017-12-19 CN CN201711374513.9A patent/CN108132990B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8676066B2 (en) * | 2010-10-22 | 2014-03-18 | Oki Data Corporation | Image forming apparatus having control unit |
CN102810060A (en) * | 2011-06-01 | 2012-12-05 | 腾讯科技(深圳)有限公司 | Method and device for configuring Android picture resource |
CN103269452A (en) * | 2013-05-27 | 2013-08-28 | 河南有线电视网络集团有限公司 | Advertisement content renewing method and device |
CN104092726A (en) * | 2014-06-09 | 2014-10-08 | 乐视网信息技术(北京)股份有限公司 | Automatic replacing method and apparatus of same-name file |
CN106201482A (en) * | 2016-06-30 | 2016-12-07 | 努比亚技术有限公司 | A kind of data processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108132990B (en) | 2022-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11100080B2 (en) | Using an action registry to edit data across users and devices | |
US10387510B2 (en) | Content search method and electronic device implementing same | |
US9660947B1 (en) | Method and apparatus for filtering undesirable content based on anti-tags | |
WO2017219983A1 (en) | Method and terminal for acquiring application program between terminals | |
US20190327105A1 (en) | Method and apparatus for pushing information | |
US9311644B2 (en) | Item listing categorization system | |
US20160062732A1 (en) | Method for providing additional functions based on information | |
CN110913135A (en) | Video shooting method and device, electronic equipment and storage medium | |
CN106293964A (en) | The call method of a kind of application program and device | |
US20160092441A1 (en) | File Acquiring Method and Device | |
US10719492B1 (en) | Automatic reconciliation and consolidation of disparate repositories | |
US20150281394A1 (en) | Data sharing method and electronic device thereof | |
KR102316846B1 (en) | Method for sorting a media content and electronic device implementing the same | |
US20160048595A1 (en) | Filtering Content Suggestions for Multiple Users | |
CN110865981A (en) | File access method for mobile terminal and mobile terminal thereof | |
US9967394B2 (en) | Method and system for providing advanced address book functionality in a universal plug and play home network environment | |
CN111984293B (en) | Information processing method, device and storage medium | |
US9858337B2 (en) | Management, categorization, contextualizing and sharing of metadata-based content for media | |
CN106899630B (en) | Thumbnail display method and device for pictures in network disk | |
CN108132990A (en) | The replacement method of picture, device and storage medium built in a kind of APP | |
CN106855816B (en) | Resource file loading method and device of application program in terminal | |
US20180232377A1 (en) | Search result relevance based on content associated with software applications | |
CN111344730A (en) | Content management system and method of operation thereof | |
CN112417259B (en) | Media resource processing method, device, equipment and storage medium | |
US20170336924A1 (en) | Using an Action Registry to Match Applications for Editing Data |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230930 Address after: Room 210-03, 2nd floor, block C, office building, Nangang Industrial Zone, Tianjin Binhai New Area Economic and Technological Development Zone, 300450 Patentee after: 58Tongcheng Information Technology Co.,Ltd. Address before: Room 210-03, 2nd floor, block C, office building, Nangang Industrial Zone, Tianjin Binhai New Area Economic and Technological Development Zone, 300450 Patentee before: 58 Co.,Ltd. |
|
TR01 | Transfer of patent right |