Terminal device model identification method, device, computer equipment and storage medium
By obtaining the terminal identification information of the terminal device and querying and updating the model mapping data, the reliance on manual maintenance for terminal device model identification is solved, the accuracy and adaptability of identification are improved, and the model correspondence is automatically improved.
Patent Information
- Application Number
- CN202611168939.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-03
- Publication Date
- 2026-11-10
AI Technical Summary
Existing terminal device model identification methods rely heavily on pre-established and manually maintained model databases, making it difficult to automatically improve the correspondence between device parameters and terminal models based on actual identification results. This results in low accuracy in identifying new models or terminal models with unknown device parameters, and also requires a large amount of work to maintain model data.
By obtaining the terminal identification information of the terminal device, the target mapping relationship under reliable conditions is queried in the model mapping data. If no target mapping relationship exists, the model selection information is output to obtain feedback information, and the model mapping data is updated to establish a reliable correspondence, reducing the reliance on manual pre-entry and maintenance.
It improves the accuracy and adaptability of terminal model identification, reduces the reliance on manual maintenance of model data, and can automatically improve the correspondence between terminal identification information and model.
Smart Images

Figure CN123075413A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of terminal identification, and more particularly to a method, apparatus, computer equipment, and storage medium for identifying the model of a terminal device. Background Technology
[0002] With the increasing variety of smart terminal devices, services such as screen protector application, terminal repair, and accessory adaptation typically require first determining the specific model of the terminal device, and then selecting a protective film or other accessories that are compatible with its size and structure. Currently, users or staff usually manually select the brand and model of the terminal device, or obtain the device parameters uploaded by the terminal device by scanning a QR code, and then use a pre-established model database to query the terminal model corresponding to the device parameters.
[0003] However, the device parameters uploaded by terminal devices are usually device model codes, system version information, or other identifying parameters. Some device parameters cannot directly indicate the specific model name of the terminal device used in the market. Users or staff may not know the exact model of the terminal device, and manual selection is prone to errors such as selection errors or omissions. Using a pre-established model database requires pre-entering the correspondence between different device parameters and terminal models, and continuous manual maintenance as new models are released or device parameters change. When the model database does not promptly include the relevant correspondences or the entered correspondences are incorrect, the system struggles to accurately identify the terminal model.
[0004] Therefore, existing terminal device model identification methods rely heavily on pre-established and manually maintained model databases. This makes it difficult to automatically improve the correspondence between device parameters and terminal models based on actual identification results. Consequently, the accuracy of identifying new models or terminal models with unknown parameters is low, and the workload of maintaining the model data is substantial. Reducing the reliance on manually maintained model data and improving the accuracy and adaptability of terminal model identification are problems that need to be addressed. Summary of the Invention
[0005] Therefore, it is necessary to provide a terminal device model identification method, apparatus, computer equipment, and storage medium to address the above-mentioned technical problems, so as to solve the problem that traditional terminal device model identification methods are difficult to automatically improve the correspondence between device parameters and terminal models based on actual identification results, resulting in low accuracy of terminal model identification for new models or unknown device parameters, and a large workload for maintaining model data.
[0006] A method for identifying the model of a terminal device, the method comprising: Obtain the terminal identification information of the terminal device to be identified; The system queries the device model mapping data to see if there is a target mapping relationship that corresponds to the terminal identification information and meets the trust conditions. The target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model. If the target mapping relationship exists, the target model of the terminal device to be identified is determined based on the target mapping relationship; In the absence of the target mapping relationship, output the model selection information to obtain model feedback information for the terminal device to be identified, determine the target model of the terminal device to be identified based on the model feedback information, and update the model mapping data based on the terminal identification information and the model feedback information. Based on the updated device model mapping data, it is determined whether the correspondence between the terminal identification information and the target device model satisfies the trust condition. If the trust condition is satisfied, the correspondence between the terminal identification information and the target device model is determined as the target mapping relationship.
[0007] Optionally, obtaining the terminal identification information of the terminal device to be identified includes: In response to a scanning operation triggered by the terminal device to be identified, the device parameters sent by the terminal device to be identified are received. At least one identification parameter for distinguishing terminal models is extracted from the device parameters, and the terminal identification information is generated based on the at least one identification parameter.
[0008] Optionally, the output device selection information, to obtain device feedback information for the terminal device to be identified, includes: Based on the terminal identification information, multiple candidate models that match the terminal device to be identified are determined from a preset range of terminal models; Generate and output the model selection information based on the multiple candidate models; The system receives a selection operation for any of the multiple candidate models, determines the selected candidate model as the target model, and generates model feedback information based on the selection operation.
[0009] Optionally, updating the model mapping data based on the terminal identification information and the model feedback information includes: Obtain historical model feedback information corresponding to the terminal identification information from the model mapping data; The currently acquired model feedback information is added to the historical model feedback information to obtain the model feedback information set corresponding to the terminal identification information; Based on the model feedback information in the model feedback information set that points to each terminal model, the correspondence between the terminal identification information and each terminal model is updated.
[0010] Optionally, updating the correspondence between the terminal identification information and each terminal model based on the model feedback information in the model feedback information set that points to each terminal model includes: Based on the distribution of model feedback information pointing to each terminal model in the model feedback information set, determine whether the model feedback information meets the abnormal feedback conditions; Filter or reduce the feedback weight of the model feedback information that meets the abnormal feedback conditions to obtain valid model feedback information; Based on the feedback information of the valid device models, the correspondence between the terminal identification information and each terminal model is updated.
[0011] Optionally, determining whether the correspondence between the terminal identification information and the target model satisfies the trust condition based on the updated model mapping data, and determining the correspondence between the terminal identification information and the target model as the target mapping relationship if the trust condition is satisfied, includes: Based on the updated device mapping data, determine the total number of feedbacks corresponding to the terminal identification information and the target number of feedbacks pointing to the target device. Based on the target number of feedbacks and the total number of feedbacks, determine the feedback percentage corresponding to the target model; When the total number of feedbacks reaches a preset number threshold and the proportion of feedbacks reaches a preset proportion threshold, the correspondence between the terminal identification information and the target model is determined to meet the credibility condition, and the correspondence is determined as the target mapping relationship.
[0012] Optionally, after determining the correspondence between the terminal identification information and the target model as the target mapping relationship, the method further includes: Obtain model correction information for the target model determined based on the target mapping relationship; The model mapping data is updated based on the model correction information, and the target mapping relationship is re-determined based on the updated model mapping data to see if it meets the credibility condition. If the target mapping relationship does not meet the trust condition, the target mapping relationship is canceled, and the model selection information is output when the same terminal identification information is obtained again.
[0013] A device for identifying the model of a terminal device, the device comprising: The acquisition module is used to acquire the terminal identification information of the terminal device to be identified; The query module is used to query whether there is a target mapping relationship in the model mapping data that corresponds to the terminal identification information and meets the trust conditions. The target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model. The first determining module is used to determine the target model of the terminal device to be identified based on the target mapping relationship when the target mapping relationship exists. The update module is used to output model selection information when the target mapping relationship does not exist, to obtain model feedback information for the terminal device to be identified, to determine the target model of the terminal device to be identified based on the model feedback information, and to update the model mapping data based on the terminal identification information and the model feedback information. The second determining module is used to determine, based on the updated model mapping data, whether the correspondence between the terminal identification information and the target model satisfies the trust condition, and if the trust condition is satisfied, to determine the correspondence between the terminal identification information and the target model as the target mapping relationship.
[0014] A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer-readable instructions to implement the aforementioned method for identifying the model of the terminal device.
[0015] A readable storage medium storing computer-readable instructions thereon, wherein the computer-readable instructions, when executed by a processor, implement a method for identifying the model of the terminal device.
[0016] The aforementioned terminal device model identification method, apparatus, computer equipment, and storage medium acquire terminal identification information of the terminal device to be identified; query the model mapping data to see if there exists a target mapping relationship that corresponds to the terminal identification information and meets the credibility condition, wherein the target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model; if the target mapping relationship exists, determine the target model of the terminal device to be identified based on the target mapping relationship; if the target mapping relationship does not exist, output model selection information to obtain model feedback information for the terminal device to be identified, determine the target model of the terminal device to be identified based on the model feedback information, and update the model mapping data based on the terminal identification information and the model feedback information; based on the updated model mapping data, determine whether the correspondence between the terminal identification information and the target model meets the credibility condition, and if the credibility condition is met, determine the correspondence between the terminal identification information and the target model as the target mapping relationship. By directly identifying the terminal model when a reliable target mapping relationship exists, and updating the model mapping data and establishing a reliable mapping relationship based on the model feedback information when no reliable target mapping relationship exists, the system can continuously improve the correspondence between terminal identification information and terminal model, reduce the reliance on manual pre-entry and maintenance of model data, and improve the accuracy of terminal model identification and the adaptability to new models. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating a method for identifying the model of a terminal device in one embodiment of the present invention; Figure 2 This is a schematic diagram of a terminal device model identification device in one embodiment of the present invention; Figure 3 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] In one embodiment, such as Figure 1 As shown, a method for identifying the model of a terminal device is provided, the method including the following steps: 101. Obtain the terminal identification information of the terminal device to be identified.
[0021] In this embodiment of the invention, the terminal device to be identified is an electronic device whose specific model needs to be determined, which can be a smartphone, tablet, smartwatch, or other terminal device with model differentiation requirements. Terminal identification information is information obtained from the terminal device to be identified and can be used to differentiate the terminal model. It may include at least one of the following: device brand, device model code, hardware identifier, product identifier, machine code, and version information. The terminal identification information can use a single identification parameter or can be generated from multiple identification parameters according to a preset combination rule to reduce the situation where the same single identification parameter corresponds to different terminal models.
[0022] Terminal identification information is used to query the correspondence between terminal identification information and terminal model in subsequent processing. For example, if a smartphone provides a device model code of "A2481", "A2481" can be used as the terminal identification information. When different brands may use the same device model code, the device brand and device model code can be combined to generate terminal identification information to improve the differentiation between different terminal models.
[0023] In one possible embodiment, the acquired identifier parameters can be formatted, invalid characters can be deleted, or fields can be concatenated to obtain terminal identifier information that conforms to a preset data format, thereby avoiding the impact of format differences of the identifier parameters on subsequent queries.
[0024] 102. In the model mapping data, query whether there is a target mapping relationship that corresponds to the terminal identification information and meets the trust conditions.
[0025] In this embodiment of the invention, the target mapping relationship is used to characterize the correspondence between terminal identification information and terminal model. Model mapping data is used to store the terminal models corresponding to different terminal identification information and their corresponding trusted states, and can be in the form of a mapping table, associated records, key-value data, or other data formats capable of representing information correspondence. Each mapping relationship may include terminal identification information, the corresponding terminal model, and a trusted parameter used to determine the reliability of the correspondence.
[0026] After obtaining the terminal identification information, it can be matched with various terminal identification information in the device model mapping data. If a match is successful, the corresponding mapping relationship is further determined to meet the reliability criteria. The reliability criteria are used to determine whether the correspondence between the terminal identification information and the terminal model has reached a level of reliability sufficient for direct device model identification. These criteria can be set based on the number of historical feedbacks, the consistency of feedback results, the feedback ratio, or reliability parameters. If no matching relationship exists in the device model mapping data, or if a matching relationship exists but does not meet the reliability criteria, it can be determined that no target mapping relationship exists.
[0027] For example, if the currently acquired terminal identification information is "Brand A + Device Model Code M100", and the model mapping data records a correspondence between "Brand A + Device Model Code M100" and "Model A", and this correspondence already meets the credibility criteria, then this correspondence can be identified as the target mapping relationship. If the correspondence is still in the data accumulation stage and its credibility does not meet the requirements, it will not be used directly as the target mapping relationship for model identification.
[0028] In one possible embodiment, the same terminal identification information can correspond to multiple candidate terminal models, and the trusted parameters corresponding to each candidate terminal model are recorded separately. During querying, the correspondence with the highest trusted parameters and satisfying the trusted conditions can be determined as the target mapping relationship.
[0029] 103. In the case of a target mapping relationship, determine the target model of the terminal device to be identified based on the target mapping relationship.
[0030] In this embodiment of the invention, the existence of a target mapping relationship indicates that the correspondence between terminal identification information and the corresponding terminal model has met the reliability requirements. The model identifier corresponding to the terminal identification information can be read from the target mapping relationship, and the terminal model indicated by the model identifier is determined as the target model of the terminal device to be identified. The target model can be represented by a model name, model number, or other information that can uniquely identify the terminal model.
[0031] For example, if the target mapping relationship records the terminal identification information "Brand A + Device Model Code M100" corresponding to "Model A", then "Model A" can be directly identified as the target model of the terminal device to be identified, without having to output the model selection information again for user confirmation, thereby reducing interactive operations in the model identification process.
[0032] In one possible embodiment, after determining the target model, accessory compatibility data can be queried based on the target model to determine the protective film, protective case or other terminal accessories that match the target model, and the accessory information can be sent to the business processing terminal for subsequent accessory selection or processing.
[0033] 104. In the absence of a target mapping relationship, output the model selection information to obtain model feedback information for the terminal device to be identified, determine the target model of the terminal device to be identified based on the model feedback information, and update the model mapping data based on the terminal identification information and the model feedback information.
[0034] In this embodiment of the invention, the device selection information is used to provide users or staff with selectable terminal devices, and the device feedback information is used to indicate the confirmed terminal device for the device to be identified. The device selection information can be output through the terminal device to be identified, a store operation terminal, or other interactive devices. After the user or staff selects the actual device model of the terminal device to be identified, they can generate device feedback information based on the selection result, and determine the terminal device model indicated by the device feedback information as the target device model for this identification, ensuring that the current device identification process can continue.
[0035] Once the target device model is determined, a correspondence between terminal identification information and the target device model can be established or adjusted. Device model feedback information is then written into the device model mapping data as the basis for this correspondence. After multiple updates, the device model mapping data gradually forms a relatively stable correspondence between terminal identification information and terminal models, providing a basis for identifying subsequent terminal devices with the same terminal identification information.
[0036] For example, if the terminal identification information is "Brand A + Device Model Code M200", and a reliable correspondence has not yet been formed in the model mapping data, then model selection information is output. After the user selects "Model B", "Model B" is determined as the target model for this identification, and the correspondence between "Brand A + Device Model Code M200" and "Model B" is updated according to this selection.
[0037] In one possible embodiment, the model feedback information may also carry the feedback source, feedback time, or business processing result, which can be used to distinguish the reliability of different feedback information when updating the model mapping data.
[0038] 105. Based on the updated model mapping data, determine whether the correspondence between the terminal identification information and the target model meets the trust condition, and if the trust condition is met, determine the correspondence between the terminal identification information and the target model as the target mapping relationship.
[0039] In this embodiment of the invention, after updating the device model mapping data, the reliability of the correspondence between the terminal identification information and the target device model can be re-evaluated based on the update results. During the evaluation, device model feedback information related to the terminal identification information can be statistically analyzed, and the number of feedbacks, the distribution of different feedback results, and the proportion of feedback pointing to the target device model can be used to determine whether the correspondence meets the reliability requirements.
[0040] When the correspondence meets the trust condition, it indicates that there is sufficient feedback information to support the correspondence between terminal identification information and target model, and this correspondence can be identified as the target mapping relationship. When the same terminal identification information is obtained again subsequently, the target model can be directly determined based on the target mapping relationship. If the correspondence does not meet the trust condition, the corresponding feedback information and correspondence are retained, but they are not directly used as the target mapping relationship. The model mapping data is updated subsequently based on new model feedback information.
[0041] For example, the terminal identification information "Brand A + Device Model Code M200" receives multiple model feedbacks, with most pointing to "Model B". When the number and consistency of feedback meet the reliability requirements, the correspondence between "Brand A + Device Model Code M200" and "Model B" can be established as a target mapping relationship. If the number of feedbacks is insufficient or the feedback results for different models are scattered, model selection information continues to be output to obtain new feedback.
[0042] In one possible embodiment, a reliability judgment can be made after each update of the device model mapping data, or the mapping relationship corresponding to multiple terminal identification information can be evaluated centrally according to a preset period to adapt to different data processing needs.
[0043] In this embodiment of the invention, terminal identification information of a terminal device to be identified is obtained; a target mapping relationship corresponding to the terminal identification information and satisfying a trust condition is queried in the model mapping data, wherein the target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model; if the target mapping relationship exists, the target model of the terminal device to be identified is determined based on the target mapping relationship; if the target mapping relationship does not exist, model selection information is output to obtain model feedback information for the terminal device to be identified, the target model of the terminal device to be identified is determined based on the model feedback information, and the model mapping data is updated based on the terminal identification information and the model feedback information; based on the updated model mapping data, it is determined whether the correspondence between the terminal identification information and the target model satisfies the trust condition, and if the trust condition is satisfied, the correspondence between the terminal identification information and the target model is determined as the target mapping relationship. By directly identifying the terminal model when a reliable target mapping relationship exists, and updating the model mapping data and establishing a reliable mapping relationship based on the model feedback information when no reliable target mapping relationship exists, the system can continuously improve the correspondence between terminal identification information and terminal model, reduce the reliance on manual pre-entry and maintenance of model data, and improve the accuracy of terminal model identification and the adaptability to new models.
[0044] Optionally, in the step of obtaining the terminal identification information of the terminal device to be identified, the device parameters sent by the terminal device to be identified may be received in response to the scanning operation triggered by the terminal device to be identified; at least one identification parameter used to distinguish the terminal model may be extracted from the device parameters, and terminal identification information may be generated based on the at least one identification parameter.
[0045] In this embodiment of the invention, the scanning operation can be performed by the terminal device to be identified scanning a model identification QR code using a camera component. The model identification QR code can carry the access address and service identifier of the model identification service. After the terminal device to be identified accesses the corresponding address, it sends the device parameters that can be read from the device's operating environment to the server providing the model identification service, thereby enabling the server to obtain the device parameters corresponding to this scanning operation. The device parameters may include at least one of the following: terminal brand, device model code, product code, hardware code, and version code.
[0046] After receiving the device parameters, the server can select identification parameters that can distinguish different terminal models. For example, some terminal devices can provide a terminal brand and device model code. The device model code can be used as an identification parameter, or both the terminal brand and device model code can be used together. The model code provided by some terminal devices is an internal code composed of numbers or letters, which cannot directly represent the model name used by the user. However, the internal code can be used to distinguish different terminal models, and therefore can be used as the basis for establishing model mapping relationships.
[0047] For example, after the terminal device scans the QR code and sends the terminal brand "Brand A" and the device model code "M300", "M300" can be extracted and terminal identification information can be generated. Alternatively, "Brand A" and "M300" can be combined to generate terminal identification information for querying model mapping data. Automatically obtaining device parameters through QR code scanning can reduce errors caused by users manually searching for and entering model information.
[0048] In one possible embodiment, the device identification QR code may also carry a store identifier or a device identifier. When the server receives device parameters, it can associate and save the store identifier or device identifier with the terminal identification information to distinguish device identification data generated by different business entry points.
[0049] Optionally, in the step of outputting model selection information to obtain model feedback information for the terminal device to be identified, multiple candidate models matching the terminal device to be identified can be determined from the preset terminal models based on the terminal identification information; model selection information is generated and output based on the multiple candidate models; a selection operation is received for any candidate model among the multiple candidate models, the selected candidate model is determined as the target model, and model feedback information is generated based on the selection operation.
[0050] In this embodiment of the invention, the preset terminal models can be derived from a pre-established model catalog. The model catalog records the names and identifiers of currently identifiable terminal models, without requiring a pre-established complete correspondence between each terminal model and its identifier. Therefore, even when a reliable correspondence has not yet been formed in the model mapping data, multiple candidate models can still be selected from the model catalog for user confirmation.
[0051] When determining candidate device models, the range of models can be narrowed down based on the terminal brand, device model code, or other identification parameters contained in the terminal identification information. For example, if the terminal identification information includes a terminal brand, terminal models of the same brand can be filtered from the model catalog first; if the terminal identification information also includes some model characteristics, terminal models that match the model characteristics can be further filtered. For terminal identification information that has accumulated a small amount of historical feedback but has not yet met the credibility criteria, candidate models can be determined based on the terminal models pointed to by the historical feedback, and the output order of multiple candidate models can be arranged according to the number of feedbacks or the degree of matching.
[0052] The device selection information can be output through the display interface of the terminal device to be identified, and multiple candidate devices can be displayed in the form of device name, device image, or a combination of device name and device image. After the user selects the corresponding candidate device according to the actual situation of the terminal device to be identified, the candidate device indicated by the selection result is determined as the target device for this identification, and device feedback information pointing to the target device is generated. The device feedback information may carry terminal identification information, the device identifier of the selected device, feedback time, and feedback source.
[0053] For example, if the terminal identification information includes "Brand A" and the device model code "M300", based on the terminal brand and existing limited feedback, "Model A", "Model B", and "Model C" can be selected as candidate models. After the user confirms that the terminal device to be identified is "Model B", they select "Model B", which then determines "Model B" as the target model and generates corresponding model feedback information. If previous feedback mainly pointed to "Model A", the result of this selection can be used as a basis for correcting the original correspondence.
[0054] In one possible implementation, candidate models with a large number of current feedback responses can be prioritized, while retaining selection options for other candidate models. When multiple candidate models do not match the terminal device to be identified, a model search entry can also be provided, allowing the user to search for and select the actual model from the model catalog. The selection result is also used to generate model feedback information.
[0055] Optionally, in the step of updating the model mapping data based on terminal identification information and model feedback information, the historical model feedback information corresponding to the terminal identification information in the model mapping data can also be obtained; the currently obtained model feedback information is added to the historical model feedback information to obtain a set of model feedback information corresponding to the terminal identification information; and the correspondence between the terminal identification information and each terminal model is updated based on the model feedback information pointing to each terminal model in the set of model feedback information.
[0056] In this embodiment of the invention, feedback information from previous device models can be aggregated according to terminal identification information, so that feedback information from models with the same terminal identification information forms the same feedback record. Historical device model feedback information may include the terminal model pointed to by each feedback, the number of feedbacks, the feedback time, and the feedback source. If there is no historical device model feedback information corresponding to the current terminal identification information in the device model mapping data, a new feedback record can be created, and the currently acquired device model feedback information can be written as the first feedback in this feedback record.
[0057] If historical model feedback information already exists in the model mapping data, the currently acquired model feedback information can be added to the corresponding feedback record, forming a model feedback information set. This set can contain feedback information pointing to different terminal models, reflecting the feedback from different users regarding the same terminal identifier information and its corresponding model. As more terminal devices with the same terminal identifier information initiate model identification, the model feedback information set continuously accumulates, providing a data foundation for updating the mapping relationship.
[0058] When updating the mapping relationship, the device feedback information pointing to each terminal model in the device feedback information set can be statistically analyzed separately, and the correlation between terminal identification information and each terminal model can be adjusted according to the statistical results. When the feedback pointing to a certain terminal model continues to increase, the correlation between terminal identification information and that terminal model can be improved; when the feedback pointing to other terminal models increases, the correlation results between different terminal models can be adjusted accordingly.
[0059] For example, in the historical model feedback information corresponding to the terminal identification information "Brand A + Device Model Code M300", eight feedbacks pointed to "Model B" and two feedbacks pointed to "Model C". When the currently obtained model feedback information points to "Model B", this feedback is added to the model feedback information set, and the number of feedbacks pointing to "Model B" is updated to nine, thereby improving the correlation between "Brand A + Device Model Code M300" and "Model B". Through the continuous accumulation of model feedback generated by different users, a relatively stable model correspondence can be gradually established.
[0060] In one possible implementation, historical device feedback information can be selected for updating within a preset time range. This ensures that feedback from newer devices has higher reference value and prevents premature feedback from continuously affecting the device mapping data. Alternatively, different feedback weights can be set according to the feedback source, allowing feedback confirmed by staff and feedback from ordinary users to participate in the corresponding relationship update with different weights.
[0061] Optionally, in the step of updating the correspondence between terminal identification information and each terminal model based on the model feedback information pointing to each terminal model in the model feedback information set, it is also possible to determine whether each model feedback information meets the abnormal feedback conditions based on the distribution of the model feedback information pointing to each terminal model in the model feedback information set; filter or reduce the feedback weight of the model feedback information that meets the abnormal feedback conditions to obtain valid model feedback information; and update the correspondence between terminal identification information and each terminal model based on the valid model feedback information.
[0062] In this embodiment of the invention, the distribution of device model feedback information can reflect the quantity, proportion, and concentration of feedback received by different terminal models. For the same terminal identification information, when most device model feedback information is concentrated on a certain terminal model, while a small number of device model feedback information is isolated and points to other terminal models, the small number of device model feedback information may originate from user misselection or abnormal selection, and it can be further determined whether it meets the abnormal feedback conditions.
[0063] The criteria for abnormal feedback can be set based on the number and percentage of feedback corresponding to the terminal model pointed to by the feedback information, as well as the difference between the feedback result and the main feedback result. For example, if the number of feedbacks corresponding to a terminal model pointed to by a certain model's feedback information is lower than a preset number of abnormalities, and the corresponding feedback percentage is lower than a preset percentage of abnormalities, then the feedback information for that model can be determined to meet the abnormal feedback criteria. Alternatively, if the feedback result pointing to a certain terminal model is inconsistent with the currently dominant feedback result, and no other independent feedback supports this, then the corresponding model's feedback information can be determined as abnormal feedback.
[0064] For feedback information from different models that meets the abnormal feedback criteria, it can be excluded from the current mapping update process, or a lower feedback weight can be assigned to it than normal feedback. Filtering is suitable for feedback information with obvious abnormal characteristics; reducing the feedback weight preserves the impact of a small amount of feedback on subsequent mapping corrections. After filtering or weight adjustment, the feedback information from different models participating in the mapping update forms valid feedback information. Then, based on this valid feedback information, the association between the terminal identification information and each terminal model is adjusted.
[0065] For example, the terminal identification information "Brand A + Device Model Code M300" has already received 10,000 feedback entries pointing to "Model B," and then one feedback entry pointing to "Model C" appears. Since the number and proportion of feedback entries pointing to "Model C" are both low, this feedback can be filtered or its weight reduced to prevent a single misselection from directly altering the established model mapping. If subsequent feedback from different users all pointing to "Model C" continues to appear, and this feedback no longer presents an isolated distribution, the weight of that feedback can be gradually increased, preserving data for subsequent corrections to the model mapping relationship.
[0066] In one possible embodiment, abnormal feedback can also be determined by combining feedback time and feedback source. Identical feedback generated consecutively from the same feedback source within a short period of time can be merged into a single feedback or have its feedback weight reduced; model feedback information from multiple independent feedback sources with consistent results can maintain its normal feedback weight, thereby reducing the impact of duplicate or malicious feedback on model mapping data.
[0067] Optionally, in the step of determining whether the correspondence between terminal identification information and target model meets the trust condition based on the updated model mapping data, and determining the correspondence between terminal identification information and target model as the target mapping relationship if the trust condition is met, the updated model mapping data can also be used to determine the total number of feedbacks corresponding to the terminal identification information and the number of target feedbacks pointing to the target model; determine the feedback ratio corresponding to the target model based on the number of target feedbacks and the total number of feedbacks; and determine that the correspondence between terminal identification information and target model meets the trust condition if the total number of feedbacks reaches a preset number threshold and the feedback ratio reaches a preset ratio threshold, and the correspondence is determined as the target mapping relationship.
[0068] In this embodiment of the invention, the total number of feedbacks reflects the scale of feedback accumulated by the terminal identification information, and the target number of feedbacks reflects the scale of feedback supporting the target model in the model feedback information. When the model feedback information undergoes abnormal feedback filtering or weight adjustment, the total number of feedbacks and the target number of feedbacks can be determined based on the valid model feedback information; when using feedback weights, the feedback weights of each model feedback information can also be accumulated to obtain the corresponding weighted feedback number.
[0069] The feedback percentage corresponding to the target device model can be determined by the ratio between the number of target feedbacks and the total number of feedbacks. A higher feedback percentage indicates that different feedback results are more concentrated on the target device model, and the correspondence between terminal identification information and the target device model is more stable. Using both the total number of feedbacks and the feedback percentage for judgment can avoid prematurely establishing a target mapping relationship due to a small number of consistent feedbacks when the feedback sample is small, and can also avoid establishing an unreliable target mapping relationship when the number of feedbacks is large but the feedback results are relatively dispersed.
[0070] For example, a preset quantity threshold is 100, and a preset percentage threshold is 90%. When the total number of feedbacks corresponding to a certain terminal identification information is 120, and the number of target feedbacks corresponding to the target model is 114, the percentage of feedbacks corresponding to the target model is 95%. Since both the total number of feedbacks and the percentage of feedbacks reach the corresponding thresholds, it can be determined that the correspondence between the terminal identification information and the target model meets the credibility condition, and this correspondence is identified as the target mapping relationship. Subsequently, when obtaining the same terminal identification information, the target model can be directly determined without outputting model selection information.
[0071] If the total number of feedbacks does not reach the preset threshold, new feedback information for different device models can still be obtained even if all current feedbacks point to the same device model. If the total number of feedbacks reaches the preset threshold but the feedback percentage does not reach the preset percentage threshold, it indicates that there are still significant discrepancies in the feedback results from different users, and the corresponding relationship will not be determined as the target mapping relationship.
[0072] In one possible embodiment, different preset quantity thresholds and preset percentage thresholds can be set based on the terminal brand, model release time, or historical recognition stability. For newly released terminal models with limited feedback data, a lower initial quantity threshold can be used while maintaining a higher percentage threshold. As feedback data increases, the quantity threshold can be adjusted to balance the recognition efficiency of new models with the reliability of the mapping relationship.
[0073] Optionally, after determining the correspondence between terminal identification information and target model as the target mapping relationship, model correction information for the target model determined based on the target mapping relationship can also be obtained; the model mapping data can be updated based on the model correction information, and the target mapping relationship can be re-determined based on the updated model mapping data to see if it meets the trust conditions; if the target mapping relationship does not meet the trust conditions, the target mapping relationship can be canceled, and the model selection information can be output when the same terminal identification information is obtained again.
[0074] In this embodiment of the invention, the device model correction information is used to indicate that the target device model obtained based on the target mapping relationship is inconsistent with the actual device model of the terminal device to be identified. The device model correction information can be submitted by the user, staff, or business processing terminal when a device model identification error is discovered, and can include terminal identification information, the original target device model, the corrected terminal device model, the correction time, and the correction source.
[0075] After obtaining the device model calibration information, this information can be written into the device model mapping data as new feedback, reducing the correlation between the terminal identification information and the original target device model, and increasing the correlation between the terminal identification information and the calibrated terminal model. After the update is completed, the original target mapping relationship is re-evaluated according to the credibility conditions. If a single or small amount of device model calibration information is insufficient to change the original feedback distribution, the original target mapping relationship can be retained; if the device model calibration information continues to increase and the original target mapping relationship no longer meets the credibility conditions, the original target mapping relationship is cancelled.
[0076] Canceling the target mapping relationship means removing the trusted state of the corresponding relationship, preventing it from being used to directly determine the target model, without requiring the deletion of accumulated historical model feedback information. When the same terminal identifier information is subsequently obtained again, the model selection information is re-output and new model feedback information is obtained, allowing the mapping relationship to re-enter the feedback accumulation and trusted judgment process.
[0077] For example, the terminal identification information "Brand A + Device Model Code M300" originally formed a target mapping relationship with "Model B". During subsequent business processing, staff discovered that "Model B" determined based on this target mapping relationship was inconsistent with the actual terminal model and submitted model correction information pointing to "Model C". As the number of correction messages pointing to "Model C" increased, the feedback ratio corresponding to the original target mapping relationship decreased to the point where it no longer met the reliability criteria, and the target mapping relationship between "Brand A + Device Model Code M300" and "Model B" could be cancelled. When "Brand A + Device Model Code M300" is received again, model selection information including both "Model B" and "Model C" is output to continue obtaining user feedback.
[0078] In one possible embodiment, the correction threshold used to cancel the target mapping relationship may be different from the confidence threshold used to establish the target mapping relationship. For example, the target mapping relationship is only canceled when the model correction information reaches a preset correction quantity and the feedback ratio corresponding to the original target model is lower than a preset cancellation threshold, thereby avoiding frequent establishment and cancellation of the target mapping relationship due to a small number of occasional corrections.
[0079] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0080] In one embodiment, a device for identifying the model of a terminal device is provided, which corresponds one-to-one with the device identification method for identifying the model of the terminal device described in the above embodiments. For example... Figure 2 As shown, the device model identification device includes an acquisition module 201, a query module 202, a first determination module 203, an update module 204, and a second determination module 205. Detailed descriptions of each functional module are as follows: The acquisition module 201 is used to acquire the terminal identification information of the terminal device to be identified; The query module 202 is used to query whether there is a target mapping relationship in the model mapping data that corresponds to the terminal identification information and meets the trust conditions. The target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model. The first determining module 203 is used to determine the target model of the terminal device to be identified based on the target mapping relationship when the target mapping relationship exists; The update module 204 is used to output model selection information when the target mapping relationship does not exist, to obtain model feedback information for the terminal device to be identified, to determine the target model of the terminal device to be identified based on the model feedback information, and to update the model mapping data based on the terminal identification information and the model feedback information. The second determining module 205 is used to determine, based on the updated model mapping data, whether the correspondence between the terminal identification information and the target model satisfies the trusted condition, and if the trusted condition is satisfied, to determine the correspondence between the terminal identification information and the target model as the target mapping relationship.
[0081] Optionally, the acquisition module 201 is further configured to: In response to a scanning operation triggered by the terminal device to be identified, the device parameters sent by the terminal device to be identified are received. At least one identification parameter for distinguishing terminal models is extracted from the device parameters, and the terminal identification information is generated based on the at least one identification parameter.
[0082] Optionally, the update module 204 is further configured to: Based on the terminal identification information, multiple candidate models that match the terminal device to be identified are determined from a preset range of terminal models; Generate and output the model selection information based on the multiple candidate models; The system receives a selection operation for any of the multiple candidate models, determines the selected candidate model as the target model, and generates model feedback information based on the selection operation.
[0083] Optionally, the update module 204 is further configured to: Obtain historical model feedback information corresponding to the terminal identification information from the model mapping data; The currently acquired model feedback information is added to the historical model feedback information to obtain the model feedback information set corresponding to the terminal identification information; Based on the model feedback information in the model feedback information set that points to each terminal model, the correspondence between the terminal identification information and each terminal model is updated.
[0084] Optionally, the update module 204 is further configured to: Based on the distribution of model feedback information pointing to each terminal model in the model feedback information set, determine whether the model feedback information meets the abnormal feedback conditions; Filter or reduce the feedback weight of the model feedback information that meets the abnormal feedback conditions to obtain valid model feedback information; Based on the feedback information of the valid device models, the correspondence between the terminal identification information and each terminal model is updated.
[0085] Optionally, the second determining module 205 is further configured to: Based on the updated device mapping data, determine the total number of feedbacks corresponding to the terminal identification information and the target number of feedbacks pointing to the target device. Based on the target number of feedbacks and the total number of feedbacks, determine the feedback percentage corresponding to the target model; When the total number of feedbacks reaches a preset number threshold and the proportion of feedbacks reaches a preset proportion threshold, the correspondence between the terminal identification information and the target model is determined to meet the credibility condition, and the correspondence is determined as the target mapping relationship.
[0086] Optionally, after determining the correspondence between the terminal identification information and the target model as the target mapping relationship, the device is further configured to: Obtain model correction information for the target model determined based on the target mapping relationship; The model mapping data is updated based on the model correction information, and the target mapping relationship is re-determined based on the updated model mapping data to see if it meets the credibility condition. If the target mapping relationship does not meet the trust condition, the target mapping relationship is canceled, and the model selection information is output when the same terminal identification information is obtained again.
[0087] Specific limitations regarding the terminal device model identification device can be found in the limitations of the terminal device model identification method described above, and will not be repeated here. Each module in the aforementioned terminal device model identification device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0088] In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as follows: Figure 3 As shown, the computer device includes a processor, memory, and network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a readable storage medium storing computer-readable instructions. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer-readable instructions implement a terminal device model identification method. The readable storage medium provided in this embodiment includes both non-volatile and volatile readable storage media.
[0089] In one embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, they implement the steps of the device model identification method described above.
[0090] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0091] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0092] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for identifying the model of a terminal device, characterized in that, The method includes: Obtain the terminal identification information of the terminal device to be identified; The system queries the device model mapping data to see if there is a target mapping relationship that corresponds to the terminal identification information and meets the trust conditions. The target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model. If the target mapping relationship exists, the target model of the terminal device to be identified is determined based on the target mapping relationship; In the absence of the target mapping relationship, output the model selection information to obtain model feedback information for the terminal device to be identified, determine the target model of the terminal device to be identified based on the model feedback information, and update the model mapping data based on the terminal identification information and the model feedback information. Based on the updated device model mapping data, it is determined whether the correspondence between the terminal identification information and the target device model satisfies the trust condition. If the trust condition is satisfied, the correspondence between the terminal identification information and the target device model is determined as the target mapping relationship.
2. The terminal device model identification method according to claim 1, characterized in that, The step of obtaining the terminal identification information of the terminal device to be identified includes: In response to a scanning operation triggered by the terminal device to be identified, the device parameters sent by the terminal device to be identified are received. At least one identification parameter for distinguishing terminal models is extracted from the device parameters, and the terminal identification information is generated based on the at least one identification parameter.
3. The terminal device model identification method according to claim 1, characterized in that, The output device selection information is used to obtain device model feedback information for the terminal device to be identified, including: Based on the terminal identification information, multiple candidate models that match the terminal device to be identified are determined from a preset range of terminal models; Generate and output the model selection information based on the multiple candidate models; The system receives a selection operation for any of the multiple candidate models, determines the selected candidate model as the target model, and generates model feedback information based on the selection operation.
4. The terminal device model identification method according to claim 1, characterized in that, Updating the model mapping data based on the terminal identification information and the model feedback information includes: Obtain historical model feedback information corresponding to the terminal identification information from the model mapping data; The currently acquired model feedback information is added to the historical model feedback information to obtain the model feedback information set corresponding to the terminal identification information; Based on the model feedback information in the model feedback information set that points to each terminal model, the correspondence between the terminal identification information and each terminal model is updated.
5. The terminal device model identification method according to claim 4, characterized in that, The step of updating the correspondence between the terminal identification information and each terminal model based on the model feedback information in the model feedback information set that points to each terminal model includes: Based on the distribution of model feedback information pointing to each terminal model in the model feedback information set, determine whether the model feedback information meets the abnormal feedback conditions; Filter or reduce the feedback weight of the model feedback information that meets the abnormal feedback conditions to obtain valid model feedback information; Based on the feedback information of the valid device models, the correspondence between the terminal identification information and each terminal model is updated.
6. The terminal device model identification method according to claim 1, characterized in that, The step of determining whether the correspondence between the terminal identification information and the target device model, based on the updated device model mapping data, satisfies the trust condition, and if the trust condition is satisfied, determines the correspondence between the terminal identification information and the target device model as the target mapping relationship, includes: Based on the updated device mapping data, determine the total number of feedbacks corresponding to the terminal identification information and the target number of feedbacks pointing to the target device. Based on the target number of feedbacks and the total number of feedbacks, determine the feedback percentage corresponding to the target model; When the total number of feedbacks reaches a preset number threshold and the proportion of feedbacks reaches a preset proportion threshold, the correspondence between the terminal identification information and the target model is determined to meet the credibility condition, and the correspondence is determined as the target mapping relationship.
7. The terminal device model identification method according to claim 1, characterized in that, After determining the correspondence between the terminal identification information and the target model as the target mapping relationship, the method further includes: Obtain model correction information for the target model determined based on the target mapping relationship; The model mapping data is updated based on the model correction information, and the target mapping relationship is re-determined based on the updated model mapping data to see if it meets the credibility condition. If the target mapping relationship does not meet the trust condition, the target mapping relationship is canceled, and the model selection information is output when the same terminal identification information is obtained again.
8. A device for identifying the model of a terminal device, characterized in that, The device includes: The acquisition module is used to acquire the terminal identification information of the terminal device to be identified; The query module is used to query whether there is a target mapping relationship in the model mapping data that corresponds to the terminal identification information and meets the trust conditions. The target mapping relationship is used to characterize the correspondence between the terminal identification information and the terminal model. The first determining module is used to determine the target model of the terminal device to be identified based on the target mapping relationship when the target mapping relationship exists. The update module is used to output model selection information when the target mapping relationship does not exist, to obtain model feedback information for the terminal device to be identified, to determine the target model of the terminal device to be identified based on the model feedback information, and to update the model mapping data based on the terminal identification information and the model feedback information. The second determining module is used to determine, based on the updated model mapping data, whether the correspondence between the terminal identification information and the target model satisfies the trust condition, and if the trust condition is satisfied, to determine the correspondence between the terminal identification information and the target model as the target mapping relationship.
9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and running on the processor, characterized in that, When the processor executes the computer-readable instructions, it implements the device model identification method of any one of claims 1 to 7.
10. A readable storage medium having computer-readable instructions stored thereon, characterized in that, When the computer-readable instructions are executed by the processor, they implement the device model identification method of any one of claims 1 to 7.
