System update log publishing method, device, storage medium and server
By extracting and matching the system update log feature and matching the similarity, the log translation content corresponding to the matching log feature vector is solved, and the OEM service subject's low efficiency and poor user experience in system update log release in a multi-language environment is achieved, and efficient log release and optimized user guidance are achieved.
Patent Information
- Application Number
- CN202411668842.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-11-21
AI Technical Summary
When the system update log is released, OEM service entities for multi-language environments need to perform a large number of multi-language conversions, resulting in high cost, low efficiency, and poor user guidance.
By extracting the feature of the system update log to be published, the update log feature vector is obtained, and the similarity matches with the preset log feature vector, the log translation content corresponding to the matching log feature vector is obtained, and the log translation content is transmitted to the update log publishing system for release.
It improves the efficiency and user experience of system update log release, reduces the cost and time of multilingual conversion, and enhances the targetedness of user guidance.
Smart Images

Figure CN119166468B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a system update log publishing method, device, storage medium and server. Background Art
[0002] During the FOTA (Firmware Over-The-Air) process of the terminal, the system update log released by the service provider can provide users with necessary information, which helps to improve user experience and upgrade rate. For service providers such as OEMs (Original Equipment Manufacturers) facing multi-language environments, there is usually a high frequency of system update log release requirements. However, this requires a large number of multi-language conversions of system update logs, resulting in high system update log release costs and low efficiency.
[0003] At present, in order to solve the above problems, there are some solutions in the relevant technology. When it is necessary to publish a system update log, the translation content of some fixed log templates for the publishing scenario will be found for publication. Not only is the operation cumbersome and time-consuming when finding a suitable log template, but the published logs are all the same, resulting in poor user guidance for a variety of system update issues, resulting in a poor user experience. Summary of the invention
[0004] The present application provides a system update log publishing solution that can effectively balance improving the publishing efficiency of the system update log and improving user experience.
[0005] This application provides the following technical solutions:
[0006] The present application provides a system update log publishing method, which includes: obtaining a system update log to be published in an update log publishing system; performing feature extraction on the system update log to be published to obtain an update log feature vector; performing similarity matching on the update log feature vector and a preset log feature vector included in an update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined publishing condition; and transmitting log translation content corresponding to the matching log feature vector to the update log publishing system, so that the update log publishing system publishes the log translation content to a target terminal system.
[0007] In the present application, the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system, including: obtaining the target language required by the target terminal system from the update log publishing system; querying the log translation content matching the target language from the multiple log translation contents corresponding to the matching log feature vector included in the update log library; transmitting the log translation content matching the target language to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system.
[0008] In the present application, before transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system, the method also includes: displaying the log entry corresponding to the matching log feature vector; obtaining the reuse intention of the log entry based on the selection operation of the publishing operation user on the log entry, wherein when the reuse intention is yes, the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system.
[0009] In the present application, after obtaining the reuse intention of the log entry according to the selection operation of the publishing user on the log entry, the method also includes: if the publishing user's reuse intention for the log entry corresponding to the matching log feature vector is no, or if the matching log feature vector is not matched, submitting the system update log to be published to the translation system; associating the multilingual translation content obtained by the translation system with the update log feature vector and saving them in the update log library; transmitting the log translation content in the multilingual translation content that matches the target language required by the target terminal system to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0010] In the present application, the feature extraction of the system update log to be released to obtain an update log feature vector includes: splitting the system update log to be released to obtain multiple subsystem update logs; and, respectively extracting features from each of the subsystem update logs to obtain multiple sub-log feature vectors; correspondingly, the similarity matching of the update log feature vector with the preset log feature vector included in the update log library to obtain a matching log feature vector includes: respectively performing similarity matching on each sub-log feature vector from the update log library to obtain a matching sub-log feature vector of each of the sub-log feature vectors, the matching sub-log feature vector refers to a preset log feature vector whose similarity with the sub-log feature vector meets a predetermined release condition; correspondingly, the transmission of the log translation content corresponding to the matching log feature vector to the update log publishing system includes: combining the sub-log translation content corresponding to each of the matching sub-log feature vectors to obtain the log translation content; and, transmitting the log translation content to the update log publishing system.
[0011] In the present application, the system update log to be released is split to obtain multiple subsystem update logs, including: the log structure and release scenario of the system update log to be released in the update log release system; obtaining log tag data corresponding to the release scenario from the update log library; and splitting the system update log to be released according to the log structure and the log tag data to obtain multiple subsystem update logs.
[0012] In the present application, before extracting features from the system update log to be released to obtain an update log feature vector, the method also includes: detecting key content in the system update log to be released; extracting a key content feature vector of the key content; pre-matching the key content feature vector with a feature vector included in the update log library to obtain a pre-matching result; and determining whether to perform a full log match based on the pre-matching result.
[0013] The present application provides a system update log publishing device, the device comprising: an acquisition module, used to: acquire a system update log to be published in an update log publishing system; an extraction module, used to: perform feature extraction on the system update log to be published to obtain an update log feature vector; a matching module, used to: perform similarity matching on the update log feature vector and a preset log feature vector included in an update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined publishing condition; a transmission module, used to: transmit log translation content corresponding to the matching log feature vector to the update log publishing system, so that the update log publishing system publishes the log translation content to a target terminal system.
[0014] In the present application, the transmission module is used to: obtain the target language required by the target terminal system from the update log publishing system; query the log translation content matching the target language from the multiple log translation contents corresponding to the matching log feature vector included in the update log library; transmit the log translation content matching the target language to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0015] In the present application, before the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system, the device also includes a determination module, which is used to: display the log entry corresponding to the matching log feature vector; obtain the reuse intention of the log entry based on the selection operation of the publishing operation user on the log entry, wherein when the reuse intention is yes, the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system.
[0016] In the present application, after obtaining the reuse intention of the log entry according to the selection operation of the publishing user for the log entry, the device also includes a translation module, which is used to: if the publishing user's reuse intention for the log entry corresponding to the matching log feature vector is no, or if the matching log feature vector is not matched, submit the system update log to be published to the translation system; associate the multilingual translation content obtained by the translation system with the update log feature vector and save it in the update log library; transmit the log translation content in the multilingual translation content that matches the target language required by the target terminal system to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0017] In the present application, the extraction module is used to: split the system update log to be released to obtain multiple subsystem update logs; and, respectively, perform feature extraction on each of the subsystem update logs to obtain multiple sub-log feature vectors; correspondingly, the matching module is used to: respectively perform similarity matching on each sub-log feature vector from the update log library to obtain a matching sub-log feature vector of each of the sub-log feature vectors, wherein the matching sub-log feature vector refers to a preset log feature vector whose similarity with the sub-log feature vector meets the predetermined release conditions; correspondingly, the transmission module is used to: combine the sub-log translation contents corresponding to each of the matching sub-log feature vectors to obtain the log translation content; and, transmit the log translation content to the update log publishing system.
[0018] In the present application, the extraction module is used to: obtain the log structure and publishing scenario of the system update log to be released in the update log publishing system; obtain the log tag data corresponding to the publishing scenario from the update log library; and split the system update log to be released according to the log structure and the log tag data to obtain multiple subsystem update logs.
[0019] In the present application, before extracting features from the system update log to be released to obtain an update log feature vector, the device also includes a pre-matching module, which is used to: detect key content in the system update log to be released; extract a key content feature vector of the key content; pre-match the key content feature vector with a feature vector included in the update log library to obtain a pre-matching result; and determine whether to perform a full log match based on the pre-matching result.
[0020] The present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor of a server, the server executes the method described in the present application.
[0021] The present application provides a server which may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the present application.
[0022] The present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations described in the present application.
[0023] In the system update log publishing method of the present application, a system update log to be published in an update log publishing system is obtained; feature extraction is performed on the system update log to be published to obtain an update log feature vector; similarity matching is performed on the update log feature vector and the preset log feature vector included in the update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined publishing condition; and log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0024] In this way, an update log feature vector is obtained by extracting features from the system update log to be published, and similarity matching is performed on the update log feature vector and the preset log feature vector included in the update log library respectively, so as to obtain a preset log feature vector whose similarity with the update log feature vector meets the predetermined publishing conditions as a matching log feature vector, and transmit the log translation content corresponding to the matching log feature vector to the update log publishing system for publishing to the target terminal system, so that the service subject can input the system update log to be published according to actual needs in the update log publishing system, and then can efficiently obtain the log translation content that meets the predetermined publishing conditions for publishing, and the published log translation content is in line with the actual log needs and can be obtained quickly, which can effectively take into account both improving the publishing efficiency of the system update log and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 A flowchart of a system update log publishing method according to an embodiment of the present application is shown.
[0027] Figure 2 A diagram showing a joint system architecture for publishing system update logs according to an embodiment of the present application is shown.
[0028] Figure 3 A system update log matching flow chart according to an embodiment of the present application is shown.
[0029] Figure 4 A block diagram of a system update log publishing device according to an embodiment of the present application is shown.
[0030] Figure 5 A block diagram of a server according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.
[0032] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).
[0033] For example, the system update log publishing method provided by the embodiment of the present disclosure includes a series of steps, but the system update log publishing method provided by the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the system update log publishing device provided by the embodiment of the present disclosure includes a series of units, but the device provided by the embodiment of the present disclosure is not limited to including the units explicitly recorded, and can also include units required to obtain relevant information or perform processing based on the information.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.
[0035] It is understandable that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0036] Figure 1The flowchart of the system update log publishing method according to an embodiment of the present application is schematically shown. The execution subject of the system update log publishing method can be a service subject such as a device or server with processing capabilities belonging to a platform such as an OEM (Original Equipment Manufacturer), the device is such as a computer, and the server is such as a physical server or a cloud server. In one example, the service subject can be based on Figure 2 The joint system shown performs system update log publishing.
[0037] like Figure 1 As shown, the system update log publishing method may include steps S110 to S140.
[0038] Step S110, obtaining the system update log to be released in the update log publishing system; Step S120, performing feature extraction on the system update log to be released to obtain an update log feature vector; Step S130, performing similarity matching on the update log feature vector and the preset log feature vector included in the update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined publishing condition; Step S140, transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0039] During the process of performing FOTA (Firmware Over-The-Air) on the terminal, the system update log published by the service entity can provide the user with necessary information. In the embodiment of the present application, the service entity can Figure 2 In the update log publishing system 210 shown, the system update log to be published in any structural form is input according to actual needs.
[0040] like Figure 2 As shown, the matching system 220 corresponding to the service entity can obtain the system update log to be released in the update log publishing system by active query or passive reception, and perform feature extraction on the system update log to be released to obtain an update log feature vector, which is a vector representing the semantic features of the system update log to be released.
[0041] Furthermore, multiple preset log feature vectors may be preset in the update log library 230, each preset log feature vector corresponds to an update log, and each update log presets log translation content in multiple languages. The matching system 220 may perform similarity matching on the update log feature vector and the preset log feature vectors included in the update log library, and obtain a preset log feature vector whose similarity with the update log feature vector meets the predetermined release condition as the matching log feature vector.
[0042] Furthermore, the matching system 220 may obtain the log translation content of the update log corresponding to the matching log feature vector from the update log library 230 , and transmit the log translation content to the update log publishing system, which may publish the log translation content to the target terminal system 240 .
[0043] In this way, an update log feature vector is obtained by extracting features from the system update log to be published, and similarity matching is performed on the update log feature vector and the preset log feature vector included in the update log library respectively, so as to obtain a preset log feature vector whose similarity with the update log feature vector meets the predetermined publishing conditions as a matching log feature vector, and transmit the log translation content corresponding to the matching log feature vector to the update log publishing system for publishing to the target terminal system, so that the service subject can input the system update log to be published according to actual needs in the update log publishing system, and then can efficiently obtain the log translation content that meets the predetermined publishing conditions for publishing, and the published log translation content is in line with the actual log needs and can be obtained quickly, which can effectively take into account both improving the publishing efficiency of the system update log and improving the user experience.
[0044] Described below Figure 1 When the system update log is released under the embodiment, further optional specific embodiments are provided under each step performed.
[0045] In one embodiment, see Figure 3 , the feature extraction of the system update log to be released to obtain the update log feature vector may include: step S310, segmenting the system update log to be released to obtain multiple words; step S320, respectively calculating the vector of each word, and concatenating the vectors of the multiple words to obtain the update log feature vector. Correspondingly, the similarity matching of the update log feature vector with the preset log feature vectors included in the update log library to obtain the matching log feature vector may include: step S330, calculating the similarity between the update log feature vector and each preset log feature vector; step S340, using the preset log feature vector whose similarity with the update log feature vector meets the predetermined release condition as the matching log feature vector.
[0046] For example, the update log of the system to be released is segmented to obtain m words, and then the vectors of the multiple words are concatenated to obtain the update log feature vector A=[a1,a2, …, am], where a1 to am are vectors of a word respectively. A plurality of preset log feature vectors can be preset in the update log library, each preset log feature vector corresponds to an update log, and the log vector set in the update log library can be expressed as M = [M1, M2, …, MN], where Mi = [m1, m2,..., mr], i∈[1,N], Mi is the i-th preset log feature vector.
[0047] Furthermore, the similarity between the update log feature vector A and each preset log feature vector Mi can be calculated. In a specific implementation, the similarity can be a cosine similarity: , That is, the cosine similarity between the update log feature vector A and each preset log feature vector Mi. Thus, the preset log feature vector whose similarity with the update log feature vector meets the predetermined release condition can be used as the matching log feature vector.
[0048] The predetermined release condition may be that the similarity is greater than a predetermined threshold and the similarity is the highest. For example, the set T of cosine similarities between the update log feature vector A and each preset log feature vector Mi = [ ], the preset log feature vector Mi whose similarity with the update log feature vector A is greater than a predetermined threshold and has the highest similarity can be used as the matching log feature vector.
[0049] In one embodiment, the feature extraction of the system update log to be released to obtain the update log feature vector may include: splitting the system update log to be released to obtain multiple subsystem update logs; and, respectively extracting features from each of the subsystem update logs to obtain multiple sub-log feature vectors; correspondingly, the similarity matching of the update log feature vector with the preset log feature vector included in the update log library to obtain the matching log feature vector includes: respectively performing similarity matching on each sub-log feature vector from the update log library to obtain the matching sub-log feature vector of each of the sub-log feature vectors, the matching sub-log feature vector refers to a preset log feature vector whose similarity with the sub-log feature vector meets the predetermined release condition; correspondingly, the transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system includes: combining the sub-log translation content corresponding to each of the matching sub-log feature vectors to obtain the log translation content; and, transmitting the log translation content to the update log publishing system.
[0050] In the aforementioned embodiment, the system update log to be released is matched as a whole sentence, while in this embodiment, the system update log to be released is split into multiple subsystem update logs, and the sub-log translation contents are matched separately and then combined to obtain the final log translation content, which can further improve the success rate of matching the log translation content.
[0051] Specifically, the system update log to be released is split to obtain multiple subsystem update logs; and, each subsystem update log is subjected to feature extraction to obtain multiple sub-log feature vectors, that is, the subsystem update log is subjected to word segmentation, vector calculation and vector concatenation to obtain the sub-log feature vector of each subsystem update log. Furthermore, in this embodiment, multiple preset log feature vectors can be preset in the update log library, and each preset log feature vector corresponds to a more fine-grained update log.
[0052] Similarity matching is performed on each sub-log feature vector from the update log library, and a preset log feature vector whose similarity with the sub-log feature vector meets a predetermined release condition is used as a matching sub-log feature vector of the sub-log feature vector, thereby obtaining a matching sub-log feature vector of each of the sub-log feature vectors.
[0053] The sub-log translation content corresponding to each matching sub-log feature vector is combined according to the position and order of the sub-system update log corresponding to each matching sub-log feature vector in the system update log to be released, so as to obtain a complete log translation content; the log translation content is transmitted to the update log release system, and the update log release system releases the log translation content to the target terminal system. Specifically, the sub-log translation content can be the language required by the target terminal system or the default language (such as English or Chinese, etc.).
[0054] Furthermore, in one embodiment, splitting the system update log to be released to obtain multiple subsystem update logs may include: obtaining the log structure and release scenario of the system update log to be released in the update log release system; obtaining log tag data corresponding to the release scenario from the update log library; and splitting the system update log to be released according to the log structure and the log tag data to obtain multiple subsystem update logs.
[0055] The log structure is the structure of the system update log to be released, for example, a log structure includes a beginning, a middle and an end, the log structure can be selected or configured by the update log release system 210 according to the requirements, and the update log release system 210 can record the log structure. Further, the update log release system 210 can record the release scenario of the system update log to be released, and the release scenario can be used to describe which applications or parts are updated in the system and the updated content.
[0056] In the update log library, corresponding log label data can be calibrated for each preset log feature vector. The log label data is used to identify log-related information of the corresponding preset log feature vector. One publishing scenario can correspond to one or more log label data.
[0057] The matching system can obtain the log structure and release scenario of the system update log to be released in the update log release system, and the log tag data corresponding to the release scenario from the update log library, and then split the system update log to be released according to the log structure and log tag data to obtain multiple subsystem update logs. In this way, the multiple subsystem update logs obtained by splitting can be more easily successfully matched to the corresponding matching sub-log feature vectors in the update log library, and the overall matching success rate of log translation content is further improved.
[0058] Among them, the update log of the system to be released is split according to the log structure and log label data to obtain multiple subsystem update logs, which can be: the log structure, log label data and the update log of the system to be released are input into a trained log splitting neural network model to obtain multiple subsystem update logs.
[0059] Furthermore, before extracting features from the system update log to be released to obtain an update log feature vector, the method may also include: detecting key content in the system update log to be released; extracting a key content feature vector of the key content; pre-matching the key content feature vector with a feature vector included in the update log library to obtain a pre-matching result; and determining whether to perform a full log match based on the pre-matching result.
[0060] In this embodiment, before performing the aforementioned step S120, the key content in the system update log to be released is first detected, the key content feature vector of the key content is extracted, and the key content feature vector is pre-matched with the feature vector included in the update log library to obtain a pre-matching result. The pre-matching result may refer to the similarity between the key content feature vector and each feature vector included in the update log library.
[0061] Based on the pre-matching results, it can be determined whether there is similar content in the update log library for the key content. If so, the subsequent steps S120 and other steps can be further executed to perform full log matching. Since the key content is part of the system update log to be released, a quick pre-match can be performed based on this. If it is determined based on the pre-matching results that there is no need to perform full log matching in subsequent steps S120 and other steps, invalid matching processes can be effectively avoided.
[0062] In one embodiment, the transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system may include:
[0063] The target language required by the target terminal system is obtained from the update log publishing system; the log translation content matching the target language is searched from the multiple log translation contents corresponding to the matching log feature vector included in the update log library; the log translation content matching the target language is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0064] The target terminal system can inform the update log publishing system of the target language it needs, and the matching system can obtain the target language required by the target terminal system from the update log publishing system. Further, the matching system can query the log translation content that matches the target language from the multiple log translation contents corresponding to the matching log feature vector included in the update log library; and transmit the log translation content that matches the target language to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system, effectively meeting the actual needs of the target terminal system.
[0065] Furthermore, in one embodiment, before transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system, the method may also include: displaying the log entry corresponding to the matching log feature vector; obtaining the reuse intention of the log entry based on the selection operation of the publishing user on the log entry, wherein when the reuse intention is yes, transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system.
[0066] In this embodiment, after obtaining the matching log feature vector, the matching system can display the log entry corresponding to the matching log feature vector, and the publishing user can select the log entry, so that the matching system can obtain the publishing user's reuse intention for the log entry. If the reuse intention is yes (that is, the publishing user agrees to use the log entry), the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system, which can further improve the reliability of the system update log publishing.
[0067] Furthermore, after obtaining the reuse intention of the log entry according to the selection operation of the publishing user on the log entry, the method may further include:
[0068] If the publishing user has no intention to reuse the log entry corresponding to the matching log feature vector, or if the matching log feature vector is not matched, the system update log to be published is submitted to the translation system; the multilingual translation content obtained by the translation system is associated with the update log feature vector and saved in the update log library; the log translation content in the multilingual translation content that matches the target language required by the target terminal system is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0069] If the publishing user has no intention to reuse the log entry corresponding to the matching log feature vector (i.e., the publishing user does not agree to use the log entry), or if the matching log feature vector is not matched in step S130, the matching system may submit the system update log to be published to the matching system. Figure 2 The translation system 250 shown in FIG. 2 can use the large model to mechanically translate the system update log to be released to obtain multi-language translation content.
[0070] Furthermore, the multilingual translation content obtained by the translation system can be associated with the update log feature vector and saved in the update log library, thereby enriching the content in the update log library and improving the success rate of matching the required content from the update log library when the system update log is released in the future.
[0071] Furthermore, the log translation content in the multilingual translation content that matches the target language required by the target terminal system is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system, which can meet the log publishing requirements.
[0072] Furthermore, in one embodiment, before the multilingual translation content obtained by the translation system is associated with the update log feature vector and saved in the update log library, the following can be done: Figure 2 The expert-assisted translation verification system 260 verifies the multilingual translation content. If the verified translation accuracy meets the requirement, the multilingual translation content obtained by the translation system is further associated with the update log feature vector and saved in the update log library.
[0073] In order to facilitate better implementation of the system update log publishing method provided in the embodiment of the present application, the embodiment of the present application also provides a system update log publishing device based on the above system update log publishing method. The meanings of the terms are the same as those in the above system update log publishing method, and the specific implementation details can refer to the description in the method embodiment. Figure 4A block diagram of a system update log publishing device according to an embodiment of the present application is shown.
[0074] like Figure 4 As shown, the system update log publishing device 400 may include: an acquisition module 410 may be used to: acquire the system update log to be published in the update log publishing system; an extraction module 420 may be used to: perform feature extraction on the system update log to be published to obtain an update log feature vector; a matching module 430 may be used to: perform similarity matching on the update log feature vector and the preset log feature vector included in the update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined publishing condition; a transmission module 440 may be used to: transmit the log translation content corresponding to the matching log feature vector to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0075] In some embodiments of the present application, the transmission module is used to: obtain the target language required by the target terminal system from the update log publishing system; query the log translation content matching the target language from multiple log translation contents corresponding to the matching log feature vector included in the update log library; and transmit the log translation content matching the target language to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0076] In some embodiments of the present application, before transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system, the device also includes a determination module, which is used to: display the log entry corresponding to the matching log feature vector; and obtain the reuse intention of the log entry based on the selection operation of the publishing operation user on the log entry, wherein when the reuse intention is yes, the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system.
[0077] In some embodiments of the present application, after obtaining the reuse intention of the log entry according to the selection operation of the publishing user on the log entry, the device also includes a translation module, which is used to: if the publishing user's reuse intention for the log entry corresponding to the matching log feature vector is no, or if the matching log feature vector is not matched, submit the system update log to be published to the translation system; associate the multilingual translation content obtained by the translation system with the update log feature vector and save it in the update log library; transmit the log translation content in the multilingual translation content that matches the target language required by the target terminal system to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0078] In some embodiments of the present application, the extraction module is used to: split the system update log to be published to obtain multiple subsystem update logs; and, respectively, perform feature extraction on each of the subsystem update logs to obtain multiple sub-log feature vectors; correspondingly, the matching module is used to: respectively perform similarity matching on each sub-log feature vector from the update log library to obtain a matching sub-log feature vector of each of the sub-log feature vectors, wherein the matching sub-log feature vector refers to a preset log feature vector whose similarity with the sub-log feature vector meets a predetermined publishing condition; correspondingly, the transmission module is used to: combine the sub-log translation contents corresponding to each of the matching sub-log feature vectors to obtain the log translation content; and, transmit the log translation content to the update log publishing system.
[0079] In some embodiments of the present application, the extraction module is used to: obtain the log structure and publishing scenario of the system update log to be released in the update log publishing system; obtain the log tag data corresponding to the publishing scenario from the update log library; and split the system update log to be released according to the log structure and the log tag data to obtain multiple subsystem update logs.
[0080] In some embodiments of the present application, before extracting features from the system update log to be released to obtain an update log feature vector, the device also includes a pre-matching module, which is used to: detect key content in the system update log to be released; extract a key content feature vector of the key content; pre-match the key content feature vector with a feature vector included in the update log library to obtain a pre-matching result; and determine whether to perform a full log match based on the pre-matching result.
[0081] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0082] In addition, the present application also provides a server, such as Figure 5 As shown, Figure 5 A block diagram of a server according to an embodiment of the present application is shown, specifically:
[0083] The server may include one or more processors 501 of processing cores, one or more computer-readable storage media memories 502 and other components. Those skilled in the art will appreciate that Figure 5 The server structure shown in the figure does not constitute a limitation on the server, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0084] The processor 501 is the control center of the server, and uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, the processor 501 performs various functions of the computer device and processes data, thereby monitoring the server as a whole. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501.
[0085] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the computer device, etc. In addition, the memory 502 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 can also include a memory controller to provide the processor 501 with access to the memory 502.
[0086] Although not shown, the server may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 501 in the server will load the executable files corresponding to the processes of one or more computer programs into the memory 502 according to the following instructions, and the processor 501 will run the computer program stored in the memory 502, so as to realize various functions in the aforementioned embodiments of the present application, such as the processor 501 may perform the following steps:
[0087] Acquire the system update log to be released in the update log publishing system; perform feature extraction on the system update log to be released to obtain an update log feature vector; perform similarity matching on the update log feature vector and the preset log feature vector included in the update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined publishing condition; transmit the log translation content corresponding to the matching log feature vector to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
[0088] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0089] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.
[0090] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0091] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0092] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0093] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.
Claims
1. A system update log publishing method, characterized in that: include: Obtaining a system update log to be released in an update log release system, wherein the system update log to be released is a log released by a service entity to provide users with necessary information during an over-the-air software upgrade process; Detecting key content in the to-be-published system update log; extracting key content feature vectors of the key content; pre-matching the key content feature vectors with feature vectors included in the update log library to obtain pre-matching results; and determining whether to perform full log matching based on the pre-matching results; If it is determined to perform full log matching, feature extraction is performed on the to-be-released system update log to obtain an update log feature vector; Performing similarity matching on the update log feature vector and a preset log feature vector included in the update log library, respectively, to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined release condition; Displaying the log entry corresponding to the matching log feature vector; and obtaining the reuse intention of the log entry according to the selection operation of the publishing user on the log entry; If the reuse intention is yes, the log translation content corresponding to the matching log feature vector is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system; on the contrary, when the reuse intention is no, the system update log to be published is submitted to the translation system for translation.
2. The method according to claim 1, characterized in that The step of transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system so that the update log publishing system publishes the log translation content to the target terminal system includes: Acquire the target language required by the target terminal system from the update log publishing system; Querying the log translation content matching the target language from the multiple log translation contents corresponding to the matching log feature vectors included in the update log library; The log translation content matching the target language is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
3. The method according to any one of claims 1 to 2, characterized in that: After obtaining the reuse intention of the log entry according to the selection operation of the publishing user on the log entry, the method further includes: If the publishing user has no intention to reuse the log entry corresponding to the matching log feature vector, or if the matching log feature vector is not matched, submitting the to-be-published system update log to the translation system; The multilingual translation content obtained by the translation system is associated with the update log feature vector and saved in the update log library; The log translation content that matches the target language required by the target terminal system in the multi-language translation content is transmitted to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system.
4. The method according to claim 1, characterized in that: The extracting features of the to-be-published system update log to obtain an update log feature vector includes: Splitting the to-be-published system update log to obtain a plurality of subsystem update logs; and extracting features from each of the subsystem update logs to obtain a plurality of sub-log feature vectors; Correspondingly, the updating log feature vector is matched with the preset log feature vector included in the updating log library respectively to obtain the matching log feature vector, including: Performing similarity matching on each sub-log feature vector from the update log library to obtain a matching sub-log feature vector of each sub-log feature vector, wherein the matching sub-log feature vector refers to a preset log feature vector whose similarity with the sub-log feature vector meets a predetermined release condition; Correspondingly, the step of transmitting the log translation content corresponding to the matching log feature vector to the update log publishing system includes: The sub-log translation contents corresponding to the matching sub-log feature vectors are combined to obtain the log translation content; and the log translation content is transmitted to the update log publishing system.
5. The method according to claim 4, characterized in that The system update log to be released is split into multiple subsystem update logs, including: The log structure and publishing scenario of the system update log to be published in the update log publishing system; Obtaining log tag data corresponding to the release scenario from the update log library; The system update log to be released is split according to the log structure and the log tag data to obtain multiple subsystem update logs.
6. A system update log publishing device, characterized in that: include: The acquisition module is used to: acquire the system update log to be released in the update log release system; A pre-matching module is used to: detect key content in the system update log to be released; extract key content feature vectors of the key content; pre-match the key content feature vectors with feature vectors included in the update log library to obtain pre-matching results; and determine whether to perform full log matching according to the pre-matching results; The extraction module is used to: if it is determined to perform full log matching, extract features from the to-be-released system update log to obtain an update log feature vector; A matching module, used to: perform similarity matching on the update log feature vector and a preset log feature vector included in the update log library to obtain a matching log feature vector, wherein the matching log feature vector refers to a preset log feature vector whose similarity with the update log feature vector meets a predetermined release condition; A determination module, used to: display the log entry corresponding to the matching log feature vector; and obtain the reuse intention of the log entry according to the selection operation of the publishing operation user on the log entry; A transmission module is used to: if the reuse intention is yes, transmit the log translation content corresponding to the matching log feature vector to the update log publishing system, so that the update log publishing system publishes the log translation content to the target terminal system; on the contrary, when the reuse intention is no, submit the system update log to be published to the translation system for translation.
7. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a server, the server is caused to execute the method according to any one of claims 1 to 5.
8. A server, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
International log processing method, processor and storage medium
CN116049114A
Log analysis method and system based on large language model
CN118626359A