CN111857807B - Method and device for determining version adaptation result, storage medium and electronic device - Google Patents

Method and device for determining version adaptation result, storage medium and electronic device Download PDF

Info

Publication number
CN111857807B
CN111857807B CN202010745918.4A CN202010745918A CN111857807B CN 111857807 B CN111857807 B CN 111857807B CN 202010745918 A CN202010745918 A CN 202010745918A CN 111857807 B CN111857807 B CN 111857807B
Authority
CN
China
Prior art keywords
version
versions
total
target
target component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010745918.4A
Other languages
Chinese (zh)
Other versions
CN111857807A (en
Inventor
龚学纲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN202010745918.4A priority Critical patent/CN111857807B/en
Publication of CN111857807A publication Critical patent/CN111857807A/en
Application granted granted Critical
Publication of CN111857807B publication Critical patent/CN111857807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3608Software analysis for verifying properties of programs using formal methods, e.g. model checking, abstract interpretation
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a device for determining a version adaptation result, a storage medium and an electronic device, wherein the method comprises the following steps: determining a target component in the Internet of things; the method comprises the steps of obtaining a total version score and a total version quantity of a target assembly, wherein the total version score is obtained through the accumulation of the scores of all versions in the target assembly, and the version quantity is obtained through the accumulation of the quantity of all versions in the target assembly; and determining an adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total number of the versions of the target component. The invention solves the problem that the adapting result of different version data on the component to the component is difficult to objectively determine, thereby achieving the effect of quantifying the data and improving the version data business management.

Description

Method and device for determining version adaptation result, storage medium and electronic device
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and apparatus for determining a version adaptation result, a storage medium, and an electronic apparatus.
Background
The versions of the Internet of things modules in the equipment are continuously increased along with the increase of the business of the Internet of things, and the version management work is more and more complex. For example, the evaluation of the version is very complex, and the operation cost of the internet of things enterprise is increased. The degree of impact in the device is also different for each published version of the internet of things module.
Aiming at the problem that the adapting result of different versions of data on a component in the related technology is difficult to objectively determine, no effective solution exists at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for determining a version adaptation result, which are used for at least solving the problem that the adaptation result of different version data on a component is difficult to objectively determine in the related art.
According to an embodiment of the present invention, there is provided a method according to an embodiment of the present invention, including: determining a target component in the Internet of things; the method comprises the steps of obtaining a total version score and a total version quantity of a target assembly, wherein the total version score is obtained through the accumulation of the scores of all versions in the target assembly, and the version quantity is obtained through the accumulation of the quantity of all versions in the target assembly; and determining an adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total number of the versions of the target component.
Optionally, the obtaining a total version score of the target component and a total version score, where the total version score is obtained by accumulating scores of each version in the target component, and the number of versions is obtained by accumulating numbers of each version in the target component, and includes: accumulating the scores of the target software versions in the target components to obtain the total scores of the software versions of the target components; accumulating the number of the target software versions in the target component to obtain the total software version of the target component; and/or, obtaining the total score of the hardware version of the target component through the score accumulation of the target hardware version in the target component; and accumulating the number of the target hardware versions in the target assembly to obtain the total number of the hardware versions of the target assembly.
Optionally, the determining the adaptation result of the first version in the target component according to the score and the number of the first versions of the target component and the total score and the total number of versions of the target component includes: determining a first adaptation result of the first version in the target component according to the score of the first version of the target component and the number of the first version; determining a second adaptation result of the target component in the number of the first versions according to the total version score of the target component and the number of the first versions; and determining a third adapting result of the first version in the target component according to the first adapting result and the second adapting result.
Optionally, the determining, according to the first adaptation result and the second adaptation result, a third adaptation result of the first version in the target component includes: obtaining a difference value between the first adapting result and the second adapting result; and obtaining an adaptation result of the difference value in the total index of the target version according to the difference value and the total index of the target version, wherein the total index is determined by the total score of the version and the total amount of the version of the target component.
Optionally, after determining the adaptation result of the first version in the target component according to the score and the number of the first versions of the target component and the total score and the total number of versions of the target component, the method further includes: and visually outputting the adaptation result of the first version in the target component through a terminal.
According to another embodiment of the present invention, there is provided a device for determining a version adaptation result, including: the first determining module is used for determining a target component in the Internet of things; the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring the total version score and the total version quantity of the target assembly, the total version score is obtained by accumulating the scores of all versions in the target assembly, and the number of versions is obtained by accumulating the number of all versions in the target assembly; and the second determining module is used for determining the adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total number of the versions of the target component.
Optionally, the obtaining module is further configured to obtain a total score of the software version of the target component by accumulating scores of the target software versions in the target component; accumulating the number of the target software versions in the target component to obtain the total software version of the target component; the total score of the hardware versions of the target components is obtained through the score accumulation of the target hardware versions in the target components; and accumulating the number of the target hardware versions in the target assembly to obtain the total number of the hardware versions of the target assembly.
Optionally, the second determining module is further configured to determine a first adaptation result of the first version in the target component according to the score of the first version of the target component and the number of the first version; determining a second adaptation result of the target component in the number of the first versions according to the total version score of the target component and the number of the first versions; and determining the adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result.
According to a further embodiment of the invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory, in which a computer program is stored, and a processor, which is arranged to perform the steps of any of the method embodiments described above by means of the computer program.
According to the method and the device, the target component in the Internet of things is firstly determined, then the total score and the total quantity of the versions of the target component are obtained, and finally the adaptation result of the first version in the target component is determined according to the score and the quantity of the first version of the target component and the total score and the total quantity of the versions of the target component. Therefore, the problem that the adapting result of different version data on the component is difficult to objectively determine can be solved, and a good version data service management effect is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method for determining a version adaptation result according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of determining version adaptation results according to an embodiment of the invention;
Fig. 3 is a block diagram of a configuration of a determination device of a version adaptation result according to an embodiment of the present invention;
FIG. 4 is a process diagram of an alternative version data processing method according to a preferred embodiment of the present invention;
Fig. 5 is a process diagram of an alternative version data processing method according to a preferred embodiment of the present invention.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Example 1
The method according to the first embodiment of the present application may be implemented in a mobile terminal, a computer terminal or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal for determining a version adaptation result according to an embodiment of the present application. As shown in fig. 1, the mobile terminal may include one or more (only one is shown in the figure) processors 102 (the processors 102 may include, but are not limited to, a processing means such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission means 106 for communication functions. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a version data processing method in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, there is provided a determination of a version adaptation result running on the mobile terminal, and fig. 2 is a flowchart of version data processing according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
Step S202, determining a target component in the Internet of things;
Step S204, obtaining a total version score and a total version quantity of the target assembly, wherein the total version score is obtained by accumulating the scores of all versions in the target assembly, and the number of versions is obtained by accumulating the numbers of all versions in the target assembly;
Step S206, determining the adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total number of the versions of the target component.
Through the steps, firstly, determining a target component in the Internet of things, then acquiring the total score and the total quantity of versions of the target component, and finally determining an adaptation result of a first version in the target component according to the score and the quantity of the first version of the target component and the total score and the total quantity of versions of the target component. Therefore, the problem that the adapting result of different version data on the component is difficult to objectively determine can be solved, and a good version data service management effect is achieved.
It should be noted that, for the service management of multiple software and hardware versions of data, the adaptation result of these versions needs to be measured, i.e. the extent of influence of each version in the device needs to be determined. By means of quantizing the version data, the business requirement of how to evaluate the influence of the version is solved.
The target components determined in the physical step S202 include related components such as an internet of things module and an internet of things interface. In addition, the target component comprises a hardware component of the Internet of things, a software component of the Internet of things and the like.
In the step S204, the total version score of the target component and the total version of the target component are obtained from a preset internet of things.
It should be noted that the total score of the versions is a result obtained by accumulating the scores of each version in the target component. And scoring for each version may include: the compatibility of each version before and after upgrading, the user usage feedback of each version before and after upgrading, and the like, and those skilled in the art can select according to the actual usage scenario, and are not particularly limited in the embodiment of the present application.
It is further noted that the number of versions is the result of accumulating the number of each version in the pieces of the target group. And the number for each version may include: the number of versions of each version before and after upgrading, the number of versions of each version for different software before and after upgrading, the number of versions of each version for different hardware before and after upgrading, etc., can be selected by those skilled in the art according to actual usage scenarios, and are not particularly limited in the embodiments of the present application.
In the step S206, the adaptation result of the first version in the target component is determined according to the score of the first version of the target component and the number of the first version in combination with the total score of the versions and the total amount of the versions of the target component.
The adapting result may include an influence degree of the first version in the target component, that is, a compatibility evaluation result of the first version in the target component.
In an alternative embodiment of the present application, the obtaining a total version score of the target component and a total version score, where the total version score is obtained by accumulating scores of each version in the target component, and the number of versions is obtained by accumulating numbers of each version in the target component, includes: accumulating the scores of the target software versions in the target components to obtain the total scores of the software versions of the target components; accumulating the number of the target software versions in the target component to obtain the total software version of the target component; and/or, obtaining the total score of the hardware version of the target component through the score accumulation of the target hardware version in the target component; and accumulating the number of the target hardware versions in the target assembly to obtain the total number of the hardware versions of the target assembly.
In particular, the target components are divided into software components and hardware components.
Accumulating the scores of the target software versions in the target components to obtain the total scores of the software versions of the target components; and accumulating the number of the target software versions in the target component to obtain the total number of the software versions of the target component. And obtaining the total software version and the total software version score.
It should be noted that the total score of the software versions of the target component is obtained by accumulation, and the number of the software versions of the target component is obtained by accumulation of the numbers before and after the statistical version. Furthermore, the total score for a software version may also be a total weight value or a total average value for the software version.
The total score of the hardware versions of the target components is obtained through the score accumulation of the target hardware versions in the target components; and accumulating the number of the target hardware versions in the target assembly to obtain the total hardware version of the target assembly, namely obtaining the total hardware version and the total hardware version score.
It should be noted that, the total score of the hardware versions of the target component is obtained by accumulation, and the number of the hardware versions of the target component is obtained by accumulation of the numbers before and after the statistical version. In addition, the hardware version total score may be a total weight value or a total average value of the hardware versions.
In an alternative embodiment of the present application, the determining the adaptation result of the first version in the target component according to the score of the first version and the number of the first versions of the target component and the total score of the versions and the total amount of the versions of the target component includes: determining a first adaptation result of the first version in the target component according to the score of the first version of the target component and the number of the first version; determining a second adaptation result of the target component in the number of the first versions according to the total version score of the target component and the number of the first versions; and determining a third adapting result of the first version in the target component according to the first adapting result and the second adapting result.
In the implementation, first, according to the score of the first version and the number of the first version, a first adapting result of the first version in the target component is determined. The first adaptation result may be a compatibility of the version with respect to the component, which is not particularly limited in the embodiment of the present application. And then, determining a second adapting result of the target component in the number of the first versions according to the total score of the versions of the target component and the number of the first versions. The second adaptation result may be a compatibility of the version with respect to the component, which is not particularly limited in the embodiment of the present application. And finally, determining the compatibility of the first version in the target component through a first adapting result and the second adapting result.
In an optional embodiment of the present application, the determining, according to the first adaptation result and the second adaptation result, an adaptation result of the first version in the target component includes: obtaining a difference value between the first adapting result and the second adapting result; and obtaining a third adapting result of the difference in the total index of the target version according to the difference and the total index of the target version, wherein the total index is determined by the total score of the version and the total amount of the version of the target component.
In specific implementation, for the processing result of the previous step, first, a difference value between the first adapting result and the second adapting result is obtained. And then, obtaining a third adapting result of the difference value in the total index of the target version according to the difference value and the total index of the target version. For example, the product of the total version score and the total version of the target component may be used as the total target version index.
In an alternative embodiment of the present application, after determining the adaptation result of the first version in the target component according to the score and the number of the first versions of the target component and the total score and the total number of versions of the target component, the method further includes: and visually outputting the adaptation result of the first version in the target component through a terminal.
In the specific implementation, the operation in the determining process of the version adapting result is simplified in a visual output mode, and the visual and quantized presentation mode of the adapting result of the corresponding version in the component can be obtained after the version data is input.
It should be noted that, in order to manage the service of version data of different components, compatibility of software and hardware versions of these versions needs to be measured. I.e. the result of the adaptation of said each version in said device needs to be determined, whereas the result of the adaptation in the target component for each version can be determined by means of quantifying each version data in the target component.
It should be noted that, the version weight may be measured by using a version service index and a version service capability, which are not specifically limited in the present invention, and those skilled in the art may select according to actual version data. Furthermore, the number of versions may indicate the number of hardware or software versions in different internet of things modules.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
The embodiment also provides a device for determining a version adaptation result, which is used for implementing the foregoing embodiment and the preferred embodiment, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 3 is a block diagram of a configuration of a device for determining a version adaptation result according to an embodiment of the present invention, as shown in fig. 3, the device includes:
A first determining module 30, configured to determine a target component in the internet of things;
The obtaining module 32 is configured to obtain a total version score of the target component and a total version amount, where the total version score is obtained by accumulating scores of each version in the target component, and the number of versions is obtained by accumulating numbers of each version in the target component;
A second determining module 34, configured to determine an adaptation result of the first version in the target component according to the score and the number of the first versions of the target component and the total score and the total number of versions of the target component.
Through the module, firstly, determining a target component in the Internet of things, then acquiring the total score and the total quantity of versions of the target component, and finally determining an adaptation result of a first version in the target component according to the score and the quantity of the first version of the target component and the total score and the total quantity of versions of the target component. Therefore, the problem that the adapting result of different version data on the component is difficult to objectively determine can be solved, and a good version data service management effect is achieved.
It should be noted that, for the service management of multiple software and hardware versions of data, the adaptation result of these versions needs to be measured, i.e. the extent of influence of each version in the device needs to be determined. By means of quantizing the version data, the business requirement of how to evaluate the influence of the version is solved.
The target components determined in the first determining module 30 in the present application in the physical domain include related components such as an internet of things module, an internet of things interface, and the like. In addition, the target component comprises a hardware component of the Internet of things, a software component of the Internet of things and the like.
The total score of the versions of the target components and the total amount of the versions of the target components are obtained in a preset internet of things in the obtaining module 32.
It should be noted that the total score of the versions is a result obtained by accumulating the scores of each version in the target component. And scoring for each version may include: the compatibility of each version before and after upgrading, the user usage feedback of each version before and after upgrading, and the like, and those skilled in the art can select according to the actual usage scenario, and are not particularly limited in the embodiment of the present application.
It is further noted that the number of versions is the result of accumulating the number of each version in the pieces of the target group. And the number for each version may include: the number of versions of each version before and after upgrading, the number of versions of each version for different software before and after upgrading, the number of versions of each version for different hardware before and after upgrading, etc., can be selected by those skilled in the art according to actual usage scenarios, and are not particularly limited in the embodiments of the present application.
And in the second determining module 34 of the present application, the adaptation result of the first version in the target component is determined according to the score of the first version of the target component and the number of the first version in combination with the total score and the total number of the versions of the target component.
The adapting result may include an influence degree of the first version in the target component, that is, a compatibility evaluation result of the first version in the target component.
The obtaining module 32 is further configured to obtain a total score of the software version of the target component by accumulating scores of the target software versions in the target component; accumulating the number of the target software versions in the target component to obtain the total software version of the target component; the total score of the hardware versions of the target components is obtained through the score accumulation of the target hardware versions in the target components; and accumulating the number of the target hardware versions in the target assembly to obtain the total number of the hardware versions of the target assembly.
In particular, the target components are divided into software components and hardware components.
Accumulating the scores of the target software versions in the target components to obtain the total scores of the software versions of the target components; and accumulating the number of the target software versions in the target component to obtain the total number of the software versions of the target component. And obtaining the total software version and the total software version score.
It should be noted that the total score of the software versions of the target component is obtained by accumulation, and the number of the software versions of the target component is obtained by accumulation of the numbers before and after the statistical version. Furthermore, the total score for a software version may also be a total weight value or a total average value for the software version.
The total score of the hardware versions of the target components is obtained through the score accumulation of the target hardware versions in the target components; and accumulating the number of the target hardware versions in the target assembly to obtain the total hardware version of the target assembly, namely obtaining the total hardware version and the total hardware version score.
It should be noted that, the total score of the hardware versions of the target component is obtained by accumulation, and the number of the hardware versions of the target component is obtained by accumulation of the numbers before and after the statistical version. In addition, the hardware version total score may be a total weight value or a total average value of the hardware versions.
The second determining module 34 is further configured to determine a first adaptation result of the first version in the target component according to the score of the first version of the target component and the number of the first version; determining a second adaptation result of the target component in the number of the first versions according to the total version score of the target component and the number of the first versions; and determining a third adapting result of the first version in the target component according to the first adapting result and the second adapting result.
In the implementation, first, according to the score of the first version and the number of the first version, a first adapting result of the first version in the target component is determined. The first adaptation result may be a compatibility of the version with respect to the component, which is not particularly limited in the embodiment of the present application. And then, determining a second adapting result of the target component in the number of the first versions according to the total score of the versions of the target component and the number of the first versions. The second adaptation result may be a compatibility of the version with respect to the component, which is not particularly limited in the embodiment of the present application. And finally, determining the compatibility of the first version in the target component through a first adapting result and the second adapting result.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; or the above modules may be located in different processors in any combination.
In order to better understand the version data processing procedure, the technical solution described above is explained below in connection with the preferred embodiment, but the technical solution of the embodiment of the present invention is not limited.
Fig. 4 is a process diagram of a method for determining a version adaptation result according to a preferred embodiment of the present invention, as shown in fig. 4, including the following steps:
In step S402, the number of versions and the version weight are input.
The index of a certain version in the equipment is determined to be A1, and the number is determined to be B1. Similarly, other version indicators may be A2, A3, A4, A5. The corresponding numbers are B1, B1 and B1.
In step S404, the total weight average and the total amount are calculated.
The overall index of the predefined version data is A, and the overall number is B. The overall index may refer to software and hardware compatibility of version data, corresponding indexes of software and hardware, and the like. The overall number refers to the corresponding score or importance in each version of data.
In step S406, the influence degree is calculated.
Firstly, calculating A1 and B1 as an index capability value of the version A1, amplifying the index capability value into an overall capability value (weight/score), and then, obtaining the capability value of the overall index of the quantity B1 of the version A1 under the quantity of the version A1 by the overall index A; finally, the difference value of the capacity values (weight/score) of the A1 and the B1 is obtained; and calculating the influence of the capacity difference under the total capacity by the formula (A1 x B1-A x B1)/(A x B).
In the actual version management service, the functions of different internet of things modules are satisfied, and meanwhile, a plurality of software and hardware versions are developed, so that the influence of the capabilities of the software and hardware versions on the overall capability needs to be measured. Through the steps, the influence degree of each version capability on the overall capability mean value can be quantized, and the business requirement of how to evaluate the version influence degree is solved.
Fig. 5 is a process diagram of a method for determining a version adaptation result according to a preferred embodiment of the present invention, including data input and data output.
In the input part, the input version data index (including the name and the score) and the version data quantity, for example, python can be operated, and the capability value and quantity of each version of A1, A2, A3 and A4 are input.
The influence degree of each version is output in the output part, namely, the influence degree result of each version is returned. The total number and the total average value of the version data may also be included as preset parameters in the output section.
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
S1, determining a target component in the Internet of things;
s2, obtaining a total version score and a total version quantity of the target assembly, wherein the total version score is obtained by accumulating the scores of all versions in the target assembly, and the number of versions is obtained by accumulating the number of all versions in the target assembly;
And S3, determining an adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total number of the versions of the target component.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to perform the steps of any of the method embodiments described above by the computer program.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, determining a target component in the Internet of things;
s2, obtaining a total version score and a total version quantity of the target assembly, wherein the total version score is obtained by accumulating the scores of all versions in the target assembly, and the number of versions is obtained by accumulating the number of all versions in the target assembly;
And S3, determining an adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total number of the versions of the target component.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for determining a version adaptation result, comprising:
Determining a target component in the Internet of things;
the method comprises the steps of obtaining a total version score of a target assembly and a total version score, wherein the total version score is obtained by accumulating the scores of all versions in the target assembly, and the total version score is obtained by accumulating the numbers of all versions in the target assembly;
determining an adaptation result of the first version in the target component according to the scores and the number of the first versions of the target component and the total scores and the total versions of the target component;
Wherein the determining the adaptation result of the first version in the target component according to the score and the number of the first version of the target component and the total score and the total number of the versions of the target component comprises:
determining a first adaptation result of the first version in the target component according to the score of the first version of the target component and the number of the first version;
determining a second adaptation result of the target component in the number of the first versions according to the total version score of the target component and the number of the first versions;
Determining a third adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result;
Wherein the determining, according to the first adaptation result and the second adaptation result, a third adaptation result of the first version in the target component includes: obtaining a difference value between the first adapting result and the second adapting result; obtaining an adaptation result of the difference value in the total index of the target version according to the difference value and the total index of the target version, wherein the total index is determined by the total score of the version and the total amount of the version of the target component;
wherein the number of versions includes: the number of versions of the versions before and after upgrading for different software and the number of versions of the versions before and after upgrading for different hardware; the version includes the first version.
2. The method of claim 1, wherein the obtaining the total version score of the target component and the total version score, wherein the total version score is obtained by accumulating the scores of each version in the target component, and wherein the total version score is obtained by accumulating the number of each version in the target component, comprises:
Accumulating the scores of the target software versions in the target components to obtain the total scores of the software versions of the target components;
Accumulating the number of the target software versions in the target component to obtain the total software version of the target component;
And/or the number of the groups of groups,
The total score of the hardware versions of the target components is obtained through the score accumulation of the target hardware versions in the target components;
and accumulating the number of the target hardware versions in the target assembly to obtain the total number of the hardware versions of the target assembly.
3. The method of claim 1, wherein the determining the fit result of the first version in the target component based on the score and the number of the first versions of the target component and the total score and the total number of versions of the target component further comprises:
and visually outputting the adaptation result of the first version in the target component through a terminal.
4. A version adaptation result determining device, characterized by comprising:
the first determining module is used for determining a target component in the Internet of things;
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring the total version score and the total version quantity of the target assembly, the total version score is obtained by accumulating the scores of all versions in the target assembly, and the total version quantity is obtained by accumulating the quantity of all versions in the target assembly;
A second determining module, configured to determine an adaptation result of the first version in the target component according to the score and the number of the first versions of the target component and the total score and the total number of versions of the target component;
The second determining module is further configured to determine a first adaptation result of the first version in the target component according to the score of the first version of the target component and the number of the first version; determining a second adaptation result of the target component in the number of the first versions according to the total version score of the target component and the number of the first versions; determining a third adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result;
The second determining module is further configured to obtain a difference value between the first adapting result and the second adapting result; obtaining an adaptation result of the difference value in the total index of the target version according to the difference value and the total index of the target version, wherein the total index is determined by the total score of the version and the total amount of the version of the target component;
wherein the number of versions includes: the number of versions of the versions before and after upgrading for different software and the number of versions of the versions before and after upgrading for different hardware; the version includes the first version.
5. The apparatus of claim 4, wherein the acquisition module is further configured to
Accumulating the scores of the target software versions in the target components to obtain the total scores of the software versions of the target components; accumulating the number of the target software versions in the target component to obtain the total software version of the target component; and/or the number of the groups of groups,
The total score of the hardware versions of the target components is obtained through the score accumulation of the target hardware versions in the target components; and accumulating the number of the target hardware versions in the target assembly to obtain the total number of the hardware versions of the target assembly.
6. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 3 when run.
7. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 3 by means of the computer program.
CN202010745918.4A 2020-07-29 2020-07-29 Method and device for determining version adaptation result, storage medium and electronic device Active CN111857807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010745918.4A CN111857807B (en) 2020-07-29 2020-07-29 Method and device for determining version adaptation result, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010745918.4A CN111857807B (en) 2020-07-29 2020-07-29 Method and device for determining version adaptation result, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111857807A CN111857807A (en) 2020-10-30
CN111857807B true CN111857807B (en) 2024-07-19

Family

ID=72944883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010745918.4A Active CN111857807B (en) 2020-07-29 2020-07-29 Method and device for determining version adaptation result, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111857807B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268378A (en) * 2018-01-30 2018-07-10 深圳壹账通智能科技有限公司 Software development quality appraisal procedure, device, computer equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616018B (en) * 2008-06-27 2012-03-07 中兴通讯股份有限公司 Device and method for upgrading network management software
CN103455938B (en) * 2013-09-03 2016-07-20 小米科技有限责任公司 A kind of data processing method, device and server apparatus
US9459863B2 (en) * 2013-10-11 2016-10-04 Google Inc. System for assessing an application for tablet compatibility and quality
CN105468512A (en) * 2014-09-05 2016-04-06 北京畅游天下网络技术有限公司 Method and system for evaluating software quality
US10296641B2 (en) * 2014-12-23 2019-05-21 Samsung Electronics Co., Ltd. Techniques for efficient access of software application functionality in search
CN105843614B (en) * 2016-03-22 2019-03-05 东南大学 A kind of code compatibility appraisal procedure that software-oriented develops
CN107220527A (en) * 2017-04-18 2017-09-29 努比亚技术有限公司 One kind application discriminating method and application management equipment
CN109960525A (en) * 2017-12-22 2019-07-02 镇江市志捷软件开发有限公司 A kind of software recommendation method and server
CN108491225B (en) * 2018-03-15 2021-10-12 维沃移动通信有限公司 Update package generation method and mobile terminal
CN110109821A (en) * 2019-03-19 2019-08-09 深圳壹账通智能科技有限公司 Software program quality evaluating method, device, computer equipment and storage medium
CN110287705B (en) * 2019-06-25 2021-03-30 北京中科微澜科技有限公司 Security vulnerability error data correction method based on vulnerability map
CN111240959B (en) * 2019-12-27 2021-01-15 广东睿江云计算股份有限公司 Planning method for regression testing range

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268378A (en) * 2018-01-30 2018-07-10 深圳壹账通智能科技有限公司 Software development quality appraisal procedure, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111857807A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US9383990B2 (en) Server and method for allocating client device to update firmware
CN104267980B (en) Software score display method, terminal, data server and system
CN110830234B (en) User traffic distribution method and device
CN104408640A (en) Application software recommending method and apparatus
CN110580293A (en) Entity relationship storage method and device
CN110472216B (en) Method and device for determining field, storage medium and electronic device
CN108667877B (en) Method and device for determining recommendation information, computer equipment and storage medium
CN114610372B (en) Method and device for processing review file, storage medium, processor and terminal
CN112148607A (en) Interface testing method and device for service scene
CN112422369B (en) Method and device for determining offline time, storage medium and electronic device
CN108647139B (en) System test method, device, storage medium and electronic device
CN111857807B (en) Method and device for determining version adaptation result, storage medium and electronic device
CN110990381B (en) Processing method and device of server, storage medium and electronic device
CN110347683B (en) Data table merging processing method and device
CN111176985A (en) Software interface performance testing method and device, computer equipment and storage medium
CN113518317B (en) Method and device for sending prompt information, storage medium and electronic device
CN113434135B (en) Method and device for determining call repeatability of interface, storage medium and electronic device
CN113722088A (en) Recommendation method and device for cloud host specification, storage medium and electronic device
CN113946394A (en) Method and device for displaying task flow running result in real time and electronic equipment
CN115226152B (en) Communication method, system, electronic equipment and storage medium of satellite network
CN110580248A (en) Data management method and device based on rule base expansion
CN114040399B (en) Equipment binding method and device, storage medium and electronic device
CN111159461B (en) Audio file determining method and device, storage medium and electronic device
CN111190476A (en) Method and device for determining operating state, storage medium and electronic device
CN110751204A (en) Data fusion method and device, storage medium and electronic device

Legal Events

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