CN111857807A - 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
CN111857807A
CN111857807A CN202010745918.4A CN202010745918A CN111857807A CN 111857807 A CN111857807 A CN 111857807A CN 202010745918 A CN202010745918 A CN 202010745918A CN 111857807 A CN111857807 A CN 111857807A
Authority
CN
China
Prior art keywords
version
versions
target
target component
total
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.)
Pending
Application number
CN202010745918.4A
Other languages
Chinese (zh)
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/CN111857807A/en
Publication of CN111857807A publication Critical patent/CN111857807A/en
Pending legal-status Critical Current

Links

Images

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

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; acquiring a total score and a total number of versions of the target assembly, wherein the total score of the versions is obtained by accumulating the scores of each version in the target assembly, and the number of the versions is obtained by accumulating the number of each version in the target assembly; and 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, the total score and the total number of the versions of the target component. By the method and the device, the problem that the adaptation result of different version data on the component to the component is difficult to objectively determine is solved, and the effect of quantizing the data so as to improve the service management of the version data is achieved.

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 an apparatus for determining a version adaptation result, a storage medium, and an electronic apparatus.
Background
The version of the internet of things module in the equipment is continuously increased along with the increase of the business of the internet of things, and the version management work is more and more complicated. For example, the quality of the evaluation version is very complicated, and the operation cost of the internet of things enterprise is increased. The influence degree in the equipment is different for each released internet of things module version.
Aiming at the problem that the adaptation result of different versions of data on the components to the components in the related art 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 to the component in the related art is difficult to objectively determine.
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; acquiring a total score and a total number of versions of the target assembly, wherein the total score of the versions is obtained by accumulating the scores of each version in the target assembly, and the number of the versions is obtained by accumulating the number of each version in the target assembly; and 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, the total score and the total number of the versions of the target component.
Optionally, the obtaining of the total score of the versions and the total number of the versions of the target component, where the total score of the versions is obtained by accumulating the scores of each version in the target component, and the number of the versions is obtained by accumulating the number of each version in the target component, includes: accumulating the scores of the target software versions in the target assembly to obtain the total score of the software versions of the target assembly; accumulating the number of target software versions in the target component to obtain the total number of the software versions of the target component; and/or accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component.
Optionally, the determining, 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, an adaptation result of the first version in the target component includes: determining a first adaptation result of a first version of the target component according to the score of the first version and the number of the first versions; 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 adaptation result of the first version in the target component according to the first adaptation result and the second adaptation 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 adaptation result and the second adaptation result; and obtaining an adaptation 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 and the total amount of the version of the target component.
Optionally, after determining 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 method further includes: and visually outputting the adaptation result of the first version in the target assembly through a terminal.
According to another embodiment of the present invention, there is provided an apparatus for determining a version adaptation result, including: the first determination module is used for determining a target component in the Internet of things; the acquisition module is used for acquiring the total score and the total quantity of the versions of the target assembly, wherein the total score of the versions is obtained by accumulating the scores of all the versions in the target assembly, and the quantity of the versions is obtained by accumulating the quantity of all the versions in the target assembly; and the second determination module is used for 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, the total score and the total quantity 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 the scores of the target software version in the target component; accumulating the number of target software versions in the target component to obtain the total number of the software versions of the target component; accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component.
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 versions; 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 present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, the memory having a computer program stored therein, the processor being configured to perform the steps of any of the above method embodiments by the computer program.
According to the method and the device, the target component in the Internet of things is determined firstly, then the total version score and the total version amount 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 number of the first version of the target component, the total version score and the total version amount of the target component. Therefore, the problem that the adaptation result of different version data on the component to 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 invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for determining a version adaptation result according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of determining a version adaptation result according to an embodiment of the present invention;
fig. 3 is a block diagram of a configuration of a version adaptation result determination apparatus according to an embodiment of the present invention;
FIG. 4 is a process diagram of an alternative version data processing method according to the preferred embodiment of the present invention;
fig. 5 is a process diagram of an alternative version data processing method according to the preferred embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed 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 hardware structure block diagram of the mobile terminal for determining the version adaptation result according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. 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 can be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the version data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The 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 located remotely from the processor 102, which may be connected to the mobile terminal over 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 device 106 is used for receiving or transmitting 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 (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a determination of a version adaptation result running in the mobile terminal is provided, and fig. 2 is a flowchart of version data processing according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, determining a target component in the Internet of things;
step S204, acquiring a total score and a total number of versions of the target assembly, wherein the total score of the versions is obtained by accumulating the scores of all the versions in the target assembly, and the number of the versions is obtained by accumulating the number of all the versions in the target assembly;
step S206, 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, the total score and the total quantity of the versions of the target component.
Through the steps, firstly, a target component in the Internet of things is determined, then the total score and the total amount 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 number of the first versions of the target component, the total score and the total amount of the versions of the target component. Therefore, the problem that the adaptation result of different version data on the component to 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, in order to manage the business of data of multiple software and hardware versions, the result of the adaptation of the software and hardware versions of these versions needs to be measured, that is, the degree of influence of each version in the device needs to be determined. And the business requirement of how to evaluate the influence degree of the version is solved by quantizing the version data.
In the step S202, the target components determined in the physics include related components such as an internet of things module and an internet of things interface. In addition, the target components comprise hardware components of the internet of things, software components of the internet of things and the like.
In the step S204, the total version score and the total version amount of the target component are obtained in a preset internet of things.
It should be noted that the total score of the versions is the result of the accumulation of the score of each version in the target component. And the score for each version may include: compatibility before and after upgrading of each version, user use feedback before and after upgrading of each version, and the like, and a person skilled in the art may select the compatibility according to an actual use scenario, which is not specifically limited in the embodiment of the present application.
It is further noted that the number of versions is a result of the accumulation of the number of each version in the target set of components. 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 before and after upgrading for different software, the number of versions of each version before and after upgrading for different hardware, and the like, which can be selected by a person skilled in the art according to an actual usage scenario, is not specifically limited in the embodiment of the present application.
In step S206, an adaptation result of the first version in the target component is determined according to the score of the first version of the target component, the number of the first versions, the total score of the versions of the target component, and the total number of the versions.
The adaptation result may include a degree of influence of the first version in the target component, that is, a compatibility evaluation result of the first version in the target component.
In an optional embodiment of the present application, the obtaining of the total score and the total number of versions of the target component, where the total score of versions is obtained by accumulating scores of each version in the target component, and the number of versions is obtained by accumulating the number of each version in the target component, includes: accumulating the scores of the target software versions in the target assembly to obtain the total score of the software versions of the target assembly; accumulating the number of target software versions in the target component to obtain the total number of the software versions of the target component; and/or accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component.
In particular implementation, the target component is divided into a software component and a hardware component.
Accumulating the scores of the target software versions in the target assembly to obtain the total score of the software versions of the target assembly; and accumulating the number of the target software versions in the target component to obtain the total software version of the target component. Namely, the total amount of the software version and the total score of the software version are obtained.
Note 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 number before and after the statistical version. In addition, the total score of the software version can also be a total weight value or a total average value of the software version.
Accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component, namely obtaining the total hardware version and the total hardware version score.
It should be noted that the total hardware version score 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 number before and after the statistical version. In addition, the total score of the hardware version may also be a total weight value or a total average value of the hardware version.
In an optional embodiment of the present application, the determining, 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, an adaptation result of the first version in the target component includes: determining a first adaptation result of a first version of the target component according to the score of the first version and the number of the first versions; 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 adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result.
In specific implementation, first, a first adaptation result of the first version in the target component is determined according to the score of the first version and the number of the first versions. The first adaptation result may be other indexes of compatibility of the version with respect to the component, which are not specifically limited in the embodiments of the present application. And then, 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. The second adaptation result may be other indexes of compatibility of the version with respect to the component, which are not specifically limited in the embodiments of the present application. And finally, determining the compatibility of the first version in the target component according to the first adaptation result and the second adaptation 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 adaptation result and the second adaptation result; and obtaining a third adaptation 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 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 between the first adaptation result and the second adaptation result is obtained. And then, obtaining a third adaptation result of the difference in the total index of the target version according to the difference and the total index of the target version. For example, the product of the total score of the target component and the total number of versions may be used as the total index of the target version.
In an optional embodiment of the present application, after determining 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 method further includes: and visually outputting the adaptation result of the first version in the target assembly through a terminal.
During specific implementation, operation in the process of determining the version adaptation result is simplified through a visual output mode, and a visual and quantitative presentation mode of the adaptation result of the corresponding version in the component can be obtained through inputting version data.
It should be noted that for business management of version data of different components, the compatibility of software and hardware versions of the versions needs to be measured. I.e. the adaptation result of each version in the device needs to be determined, whereas the adaptation result 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 a service index of the version and a service capability of the version, which is not specifically limited in the present invention, and a person skilled in the art may select the version weight according to actual version data. Furthermore, the version number may indicate the number of hardware or software versions in different internet of things modules.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a device for determining a version adaptation result is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a structure of an apparatus for determining a version adaptation result according to an embodiment of the present invention, as shown in fig. 3, the apparatus including:
a first determination module 30, configured to determine a target component in the internet of things;
an obtaining module 32, configured to obtain a total score of versions and a total number of versions of the target component, where the total score of versions is obtained by accumulating scores of each version in the target component, and the number of versions is obtained by accumulating the number 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 modules, a target component in the Internet of things is determined, then the total version score and the total version amount 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 number of the first version of the target component, the total version score and the total version amount of the target component. Therefore, the problem that the adaptation result of different version data on the component to 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, in order to manage the business of data of multiple software and hardware versions, the result of the adaptation of the software and hardware versions of these versions needs to be measured, that is, the degree of influence of each version in the device needs to be determined. And the business requirement of how to evaluate the influence degree of the version is solved by quantizing the version data.
The target components determined in the first determining module 30 of the present application in physics include related components such as an internet of things module and an internet of things interface. In addition, the target components comprise hardware components of the internet of things, software components of the internet of things and the like.
The total score of the version of the target component and the total version of the target component are obtained in a preset internet of things in the obtaining module 32 of the present application.
It should be noted that the total score of the versions is the result of the accumulation of the score of each version in the target component. And the score for each version may include: compatibility before and after upgrading of each version, user use feedback before and after upgrading of each version, and the like, and a person skilled in the art may select the compatibility according to an actual use scenario, which is not specifically limited in the embodiment of the present application.
It is further noted that the number of versions is a result of the accumulation of the number of each version in the target set of components. 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 before and after upgrading for different software, the number of versions of each version before and after upgrading for different hardware, and the like, which can be selected by a person skilled in the art according to an actual usage scenario, is not specifically limited in the embodiment of the present application.
In the second determining module 34 of the present application, an adaptation result of the first version in the target component is determined according to the score of the first version of the target component, the number of the first versions, the total score of the versions of the target component, and the total number of the versions.
The adaptation result may include a degree of influence 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 the scores of the target software version in the target component; accumulating the number of target software versions in the target component to obtain the total number of the software versions of the target component; accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component.
In particular implementation, the target component is divided into a software component and a hardware component.
Accumulating the scores of the target software versions in the target assembly to obtain the total score of the software versions of the target assembly; and accumulating the number of the target software versions in the target component to obtain the total software version of the target component. Namely, the total amount of the software version and the total score of the software version are obtained.
Note 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 number before and after the statistical version. In addition, the total score of the software version can also be a total weight value or a total average value of the software version.
Accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component, namely obtaining the total hardware version and the total hardware version score.
It should be noted that the total hardware version score 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 number before and after the statistical version. In addition, the total score of the hardware version may also be a total weight value or a total average value of the hardware version.
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 versions; 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 adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result.
In specific implementation, first, a first adaptation result of the first version in the target component is determined according to the score of the first version and the number of the first versions. The first adaptation result may be other indexes of compatibility of the version with respect to the component, which are not specifically limited in the embodiments of the present application. And then, 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. The second adaptation result may be other indexes of compatibility of the version with respect to the component, which are not specifically limited in the embodiments of the present application. And finally, determining the compatibility of the first version in the target component according to the first adaptation result and the second adaptation result.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
In order to better understand the above version data processing flow, the following explains the above technical solutions with reference to the preferred embodiments, but the technical solutions of the embodiments of the present invention are 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 of the indexes is B1. Similarly, other version indices may be A2, A3, A4, A5. The corresponding numbers are B1, B1, B1, B1.
Step S404, calculating the average value and the total amount of the total weight.
The integral index of the version data is defined in advance as A, and the integral quantity is defined as B. The overall index can 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 the capability value (weight/score) of the A1 xB 1 as the index capability value of the version A1, which is amplified to the whole capability value, and then calculating the capability value of the whole index of the quantity B1 of the A xB 1 of the whole index in the quantity of the A1 version; finally, the difference of the ability values (weight/score) of A1B 1-A B1 is obtained; and the influence of the difference in capacity on the overall capacity was calculated by the formula (a1 × B1-a × B1)/(a × B).
In the actual version management service, because the functions of different internet of things modules are met, and a plurality of software and hardware versions are developed at the same time, 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 quantified, and the service requirement of how to evaluate the version influence degree is met.
Fig. 5 is a schematic 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 section, a version data index (including a name and a score) and the number of version data are input, for example, python can be run, and the capability values and the number of versions of a1, a2, A3 and a4 are input.
And outputting the influence degree of each version in the output part, namely returning the influence degree results of the versions. The total number and the total average value of the version data may be further included in the output section as preset parameters.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining a target component in the Internet of things;
s2, acquiring a total score and a total number of versions of the target component, wherein the total score of the versions is obtained by accumulating the scores of each version in the target component, and the number of the versions is obtained by accumulating the number of each version in the target component;
s3, 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, the total score and the total quantity of the versions of the target component.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to perform the steps of any of the above method embodiments by means of the computer program.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining a target component in the Internet of things;
s2, acquiring a total score and a total number of versions of the target component, wherein the total score of the versions is obtained by accumulating the scores of each version in the target component, and the number of the versions is obtained by accumulating the number of each version in the target component;
s3, 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, the total score and the total quantity of the versions of the target component.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for determining a version adaptation result, comprising:
determining a target component in the Internet of things;
acquiring a total score and a total number of versions of the target assembly, wherein the total score of the versions is obtained by accumulating the scores of each version in the target assembly, and the number of the versions is obtained by accumulating the number of each version in the target assembly;
and 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, the total score and the total number of the versions of the target component.
2. The method of claim 1, wherein obtaining a total score and a total number of versions of the target component, wherein the total score of the versions is obtained by accumulating scores of each version of the target component, and wherein the number of versions is obtained by accumulating a number of each version of the target component comprises:
accumulating the scores of the target software versions in the target assembly to obtain the total score of the software versions of the target assembly;
accumulating the number of target software versions in the target component to obtain the total number of the software versions of the target component;
and/or the presence of a gas in the gas,
accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly;
and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component.
3. The method of claim 2, wherein 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 comprises:
determining a first adaptation result of a first version of the target component according to the score of the first version and the number of the first versions;
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 adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result.
4. The method of claim 3, wherein the determining a third adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result comprises:
obtaining a difference value between the first adaptation result and the second adaptation result;
and obtaining an adaptation 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 and the total amount of the version of the target component.
5. The method of claim 1, wherein 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 further comprises:
and visually outputting the adaptation result of the first version in the target assembly through a terminal.
6. An apparatus for determining a version adaptation result, comprising:
the first determination module is used for determining a target component in the Internet of things;
the acquisition module is used for acquiring the total score and the total quantity of the versions of the target assembly, wherein the total score of the versions is obtained by accumulating the scores of all the versions in the target assembly, and the quantity of the versions is obtained by accumulating the quantity of all the versions in the target assembly;
and the second determination module is used for 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, the total score and the total quantity of the versions of the target component.
7. The apparatus of claim 6, wherein the obtaining module is further configured to obtain the data from the database
Accumulating the scores of the target software versions in the target assembly to obtain the total score of the software versions of the target assembly; accumulating the number of target software versions in the target component to obtain the total number of the software versions of the target component;
accumulating the scores of the target hardware version in the target assembly to obtain the total score of the hardware version of the target assembly; and accumulating the number of the target hardware versions in the target component to obtain the total hardware version of the target component.
8. The apparatus of claim 6, wherein the second determining module is further configured to
Determining a first adaptation result of a first version of the target component according to the score of the first version and the number of the first versions;
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 adaptation result of the first version in the target component according to the first adaptation result and the second adaptation result.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed.
10. 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 of any of claims 1 to 5 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 Pending CN111857807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010745918.4A CN111857807A (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 CN111857807A (en) 2020-07-29 2020-07-29 Method and device for determining version adaptation result, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN111857807A true CN111857807A (en) 2020-10-30

Family

ID=72944883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010745918.4A Pending CN111857807A (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) CN111857807A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device
CN103455938A (en) * 2013-09-03 2013-12-18 小米科技有限责任公司 Data-processing method and device and server equipment
US20150106384A1 (en) * 2013-10-11 2015-04-16 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
US20160179956A1 (en) * 2014-12-23 2016-06-23 Quixey, Inc. Techniques For Efficient Access Of Software Application Functionality In Search
CN105843614A (en) * 2016-03-22 2016-08-10 东南大学 Code compatibility evaluation method oriented to software evolution
CN107220527A (en) * 2017-04-18 2017-09-29 努比亚技术有限公司 One kind application discriminating method and application management equipment
CN108268378A (en) * 2018-01-30 2018-07-10 深圳壹账通智能科技有限公司 Software development quality appraisal procedure, device, computer equipment and storage medium
CN109960525A (en) * 2017-12-22 2019-07-02 镇江市志捷软件开发有限公司 A kind of software recommendation method and server
CN110109821A (en) * 2019-03-19 2019-08-09 深圳壹账通智能科技有限公司 Software program quality evaluating method, device, computer equipment and storage medium
CN110287705A (en) * 2019-06-25 2019-09-27 北京中科微澜科技有限公司 A kind of security breaches wrong data modification method based on loophole map
CN111240959A (en) * 2019-12-27 2020-06-05 广东睿江云计算股份有限公司 Planning method for regression testing range

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device
CN103455938A (en) * 2013-09-03 2013-12-18 小米科技有限责任公司 Data-processing method and device and server equipment
US20150106384A1 (en) * 2013-10-11 2015-04-16 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
US20160179956A1 (en) * 2014-12-23 2016-06-23 Quixey, Inc. Techniques For Efficient Access Of Software Application Functionality In Search
CN105843614A (en) * 2016-03-22 2016-08-10 东南大学 Code compatibility evaluation method oriented to software evolution
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
CN108268378A (en) * 2018-01-30 2018-07-10 深圳壹账通智能科技有限公司 Software development quality appraisal procedure, device, computer equipment and storage medium
CN110109821A (en) * 2019-03-19 2019-08-09 深圳壹账通智能科技有限公司 Software program quality evaluating method, device, computer equipment and storage medium
CN110287705A (en) * 2019-06-25 2019-09-27 北京中科微澜科技有限公司 A kind of security breaches wrong data modification method based on loophole map
CN111240959A (en) * 2019-12-27 2020-06-05 广东睿江云计算股份有限公司 Planning method for regression testing range

Similar Documents

Publication Publication Date Title
CN112800095B (en) Data processing method, device, equipment and storage medium
CN107146160B (en) Health condition analysis method for insurance client and server
CN110503565B (en) Behavior risk identification method, system, equipment and readable storage medium
CN110580293A (en) Entity relationship storage method and device
CN108365989A (en) Event-handling method and device
CN110830234A (en) User traffic distribution method and device
CN107360117A (en) The method, apparatus and system of data processing
CN108667877B (en) Method and device for determining recommendation information, computer equipment and storage medium
CN110865828A (en) Data upgrading method, device, equipment and computer readable storage medium
CN115170294A (en) Client classification method and device and server
CN110472216B (en) Method and device for determining field, storage medium and electronic device
CN110941634A (en) Data processing method and device, storage medium and electronic device
CN110569129A (en) Resource allocation method and device, storage medium and electronic device
CN113986276A (en) Software upgrading method, related device and storage medium
CN107193749B (en) Test method, device and equipment
CN111857807A (en) Method and device for determining version adaptation result, storage medium and electronic device
CN110990381A (en) Server processing method and device, storage medium and electronic device
CN108629699B (en) Data uploading method, data uploading equipment, storage medium and device
CN111147557A (en) Multi-cloud resource management method and device
CN113157586B (en) Financial market unit test case generation method and device
CN113110982B (en) Data access layer verification method and device, storage medium and electronic device
CN110750601A (en) Interaction method and device based on connection path, storage medium and electronic device
CN113256437B (en) Method, system and storage medium for configuring disease insurance product scheme
CN114840407A (en) Mock testing method and related equipment
CN112836971A (en) Quota resource determination method and device, electronic equipment and storage medium

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