Genuine software inspection method, electronic device and storage medium

By sending judgment rules on the management side, the terminal conducts self-checking and compares with the server, solving the problem of slow speed and inability to self-check when checking genuine software, achieving fast and accurate software inspections, and reducing legal risks.

CN114416465BActive Publication Date: 2025-01-07FIBRLINK NETWORKS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111502950.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2025-01-07
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

When companies inspect genuine software in their computers, their manual inspection speed is slow, incomplete, and they cannot achieve self-inspection, which poses legal risks and hidden dangers.

Method used

The management end sends judgment rules, and the terminal performs self-check after receiving them, and uses the server to compare the predetermined software version number and detection information to generate detection results, and summarize and send them to the management end to achieve fast, accurate and comprehensive software inspection.

Benefits of technology

It improves the efficiency and accuracy of software inspections, reduces the time cost of manual inspections, allows the computer itself to understand the software situation, completes self-inspection, and reduces legal risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416465B_ABST
    Figure CN114416465B_ABST
Patent Text Reader

Abstract

The present application provides a method for checking genuine software, an electronic device and a storage medium. The method for checking genuine software includes: the platform receives the specified judgment rules sent by the management end, and issues the judgment rules to the terminal, wherein the judgment rules include a predetermined software version number and a path for finding the software version number; the terminal obtains the detection information of the specified software on the terminal according to the path for finding the software version number in the judgment rules, and sends the detection information to the server; the server obtains the judgment rules from the platform end, extracts the predetermined software version number from the judgment rules, and generates the detection results according to the predetermined software version number and the detection information; the server sends the detection results to the terminal; the server summarizes the detection results of each terminal, generates a data table and sends it to the management end. The computer self-checks the software status and violation status in the computer based on the inspection of its own software version number, and realizes a fast, accurate and comprehensive inspection of the software in the computer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of software management, and in particular to a method for checking genuine software, an electronic device and a storage medium. Background Art

[0002] The types and quantity of computer software are increasing day by day, and people are using them more flexibly, but this has also caused more and more software usage problems. Software with too low a version may cause software malfunctions, which will cause certain risks to users, and pirated software will involve legal issues.

[0003] After purchasing genuine software, enterprises manually check the usage of genuine software in computers. However, there are many computers used in enterprises, and there are many types and quantities of software on each computer. Manual inspection is slow and incomplete. Moreover, after manual inspection, the computer does not understand its own software status and cannot perform self-inspection. Summary of the invention

[0004] In view of this, the purpose of the present application is to propose a method for checking genuine software, an electronic device and a storage medium.

[0005] Based on the above purpose, the first aspect of the present application provides a method for checking genuine software, including:

[0006] The platform receives the specified judgment rule sent by the management end, and distributes the judgment rule to the terminal, wherein the judgment rule includes a predetermined software version number and a path for searching the software version number;

[0007] The terminal obtains detection information of the specified software on the terminal according to the software version number search path in the judgment rule, and sends the detection information to the server;

[0008] The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information;

[0009] The server sends the detection result to the terminal;

[0010] The server aggregates the detection results of each of the terminals, generates a data table and sends it to the management terminal.

[0011] Further, the server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information, including:

[0012] The detection information is the version number of the specified software on the terminal detected according to the software version number search path, the server matches the predetermined software version number to obtain the meaning represented by the version number of the specified software, obtains the status of the specified software on the terminal, and determines that the violation information is the information that cannot match the version number of the specified software in the predetermined software version number;

[0013] The detection result is generated by combining the designated software information and the violation information.

[0014] Furthermore, the judgment rule also includes predetermined terminal information and a path for searching terminal information;

[0015] The terminal obtains detection information of the specified software on the terminal according to the software version number search path in the judgment rule, and sends the detection information to the server, further comprising:

[0016] The terminal obtains the specified software version number on the terminal according to the software version number search path, obtains the terminal IP address or MAC address according to the terminal information search path, combines the specified software version number with the terminal IP address or MAC address to generate the detection information, and sends the detection information to the server;

[0017] The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information, further comprising:

[0018] The server obtains the judgment rule from the platform, extracts the predetermined software version number and the predetermined terminal information from the judgment rule, compares the matching of the predetermined software version number and the predetermined terminal information with the difference between the matching of the specified software version number and the terminal IP address or MAC address in the detection information, obtains the corresponding difference result, generates a detection result based on the difference result and sends it to the terminal.

[0019] Furthermore, before the terminal receives the judgment rule sent by the platform, the method further includes:

[0020] The management end formulates the judgment rule, and then sends the judgment rule to the platform end;

[0021] The platform receives the judgment rule, saves the judgment rule, and sends the judgment rule to the terminal;

[0022] The judgment rule includes a predetermined software version number, a path for searching the software version number, predetermined terminal information, and a path for searching the terminal information.

[0023] Furthermore, the management end sends the specified judgment rule to the platform end, and distributes the judgment rule to the terminal, wherein the judgment rule also includes a predetermined software serial number and a path for searching the software serial number;

[0024] The terminal obtains the specified software version number on the terminal according to the software version number search path, obtains the specified software serial number on the terminal according to the software serial number search path, combines the specified software version number and the specified software serial number to generate the detection information, and sends the detection information to the server;

[0025] The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information, further comprising:

[0026] The server obtains the judgment rule from the platform, extracts the predetermined software version number and the predetermined software serial number according to the judgment rule, compares the matching status of the predetermined software version number and the predetermined software serial number with the matching status of the specified software version number and the specified software serial number in the detection information, obtains the corresponding difference result according to the comparison, generates the detection result according to the difference result and sends it to the terminal.

[0027] Furthermore, before the terminal receives the judgment rule sent by the platform, the method further includes:

[0028] The management end formulates the judgment rule, and then sends the judgment rule to the platform end;

[0029] The platform receives the judgment rule, saves the judgment rule, and sends the judgment rule to the terminal;

[0030] The judgment rules include pre-setting a software version number, searching a path for the software version number, pre-setting a software serial number, and searching a path for the software serial number.

[0031] Furthermore, the method further comprises:

[0032] The management terminal periodically updates or modifies the judgment rules;

[0033] The management end sends the updated or modified judgment rule to the platform end.

[0034] Furthermore, the data table includes at least one of the following:

[0035] Arrays, linked lists, queues, trees, heaps, and graphs.

[0036] A second aspect of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0037] A third aspect of the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.

[0038] As can be seen from the above, the genuine software inspection method, electronic device and storage medium provided by the present application use the management terminal to send the judgment rule, and the computer terminal performs self-inspection after receiving it, finds the corresponding information in the computer according to the path in the judgment rule, and then uses the server to compare the predetermined information in the judgment rule with the corresponding information found in the computer. The comparison result contains the violation information, and the comparison result is integrated and sent to the computer terminal and / or the management terminal, and the terminal and / or the management terminal can understand the violation situation in the computer. The genuine software inspection method, electronic device and storage medium provided by the present application realize the fast, accurate and comprehensive inspection of computer software, and the computer itself can also understand its own software situation and complete self-inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A flowchart of a method for checking genuine software provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of a network connection structure for checking genuine software provided in an embodiment of the present application;

[0042] Figure 3 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0044] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0045] like Figure 1 As shown, the embodiment of the present application provides a method for checking genuine software, including:

[0046] Step 101: The platform receives the specified judgment rules sent by the management end.

[0047] Step 102: the platform sends the judgment rule to the terminal, wherein the judgment rule includes: a predetermined software version number and a path for searching the software version number.

[0048] In this step, the management end is the initiator of the whole method. The management end sets the computer to be detected as the terminal, and sends the corresponding detection rules according to the computer to be detected and the designated software to be detected. The judgment rules include the predetermined software version number and the software version number search path. Among them, the software version number search path includes:

[0049] (1) The 64-bit registry key stores software installation information in the following path:

[0050] "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"

[0051] (2) The 32-bit registry key stores the software installation information in the following path:

[0052] "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall"

[0053] (3) The path to the user directory where the software installation information is saved is:

[0054] "HKEY_USERS\***\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"

[0055] (4) The current directory stores the software installation information location path:

[0056] "HKEY_CURRENT_USER\***\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"

[0057] The management end selects at least one of the above four paths as the software version number search path in the judgment rule based on the requirements of the specified software and the terminal, and the terminal detects the version number of the specified software and / or all software based on the software version number search path in the judgment rule.

[0058] Step 103: The terminal receives the judgment rule.

[0059] Step 104: the terminal obtains detection information of the specified software and / or all software on the terminal according to the software version number search path in the judgment rule.

[0060] Step 105: The terminal sends the detection information to a server.

[0061] Step 106: the server obtains the judgment rule from the platform, and extracts the predetermined software version number from the judgment rule.

[0062] Step 107: The server generates a detection result according to the predetermined software version number and the detection information.

[0063] In this step, the server compares the predetermined software version number with the serial numbers of the designated software or / and all software detected on the terminal, and the data with differences is a violation. The server then generates the current status and violation of the designated software being detected as a detection result. The detection result includes the version of the designated software or / and all software in the computer to be detected.

[0064] Step 108: The server sends the detection result to the terminal.

[0065] Step 109: The server aggregates the detection results of each of the terminals.

[0066] Step 110: the server generates a data table according to the detection result and sends it to the management terminal.

[0067] like Figure 2 As shown, the management end, the platform end, the terminal and the server are connected via a communication network to execute the process from step 101 to step 110 above. The management end issues the judgment rule to the platform end, the platform end forwards the judgment rule to the terminal and the server, the terminal sends the detection result to the server, and the server sends the detection result to the terminal and / or the management end.

[0068] The above steps achieve the purpose of understanding the software status and violation situation in the computer to be detected by checking the version number of the detected software in the computer to be detected, so as to realize a fast, accurate and comprehensive inspection of the software in the computer to be detected, directly extract the version number of the specified software or / and all software by searching the path, save the time cost of manual search, use the server to compare information, speed up the detection speed, and improve the detection accuracy. The computer to be detected can also know its own software situation and complete self-checking.

[0069] In some embodiments, step 107, the server generates a detection result according to the predetermined software version number and the detection information, further comprising:

[0070] Step 201: the server compares the detected serial number of the designated software with the predetermined software serial number in the judgment rule to obtain a comparison result.

[0071] Step 202, making an analysis based on the comparison, includes:

[0072] Step 2021, when the detected designated software serial number appears in the predetermined software serial number, it is determined that the detected designated software is non-violation software, and then the current state of the detected designated software is determined to be installed, not installed, or to be updated.

[0073] Step 2022: When the detected designated software serial number does not appear in the predetermined software serial numbers, it is determined that the detected designated software is illegal software.

[0074] Step 203: the server generates the current status of the designated software being tested and whether it violates the regulations as a test result.

[0075] In the above steps, the server is used to compare information and obtain the detection results. The server compares the version number of the specified software or / and all software in the computer to be detected with the predetermined software version number. The server extracts the difference, that is, directly extracts the violation that needs to be focused on, saving the time and energy wasted by manual comparison. It not only improves the detection efficiency but also improves the detection accuracy, and also provides a basis for generating a violation list in the next step.

[0076] In some embodiments, the judgment rule further includes: pre-determining terminal information and searching for terminal information path. Taking the task of detecting the version status of the specified software in the terminal and the terminal information of using the specified software as an example, the method further includes:

[0077] Step 301: the management end sends the judgment rule to the platform end, wherein the judgment rule includes: the predetermined software version number, the software version number search path, predetermined terminal information, and the terminal information search path.

[0078] Step 302: After receiving the judgment rule forwarded by the platform, the terminal extracts the terminal information search path and the software version number search path in the judgment rule.

[0079] Step 303: the terminal obtains the specified software version number on the terminal according to the software version number search path, and obtains the terminal IP address or MAC address according to the terminal information search path.

[0080] Step 304: The terminal combines the specified software version number with the terminal IP address or MAC address to generate the detection information, and sends the detection information to the server.

[0081] Step 305: the server obtains the judgment rule from the platform, and extracts the predetermined software version number and the predetermined terminal information from the judgment rule.

[0082] Step 306, the server compares the match between the predetermined software version number and the predetermined terminal information with the match between the specified software version number in the detection information and the terminal IP address or MAC address to obtain a corresponding difference result.

[0083] In this step, the IP address or MAC address of the computer to be detected and the version number of the designated software in the computer to be detected are found, and compared with the predetermined terminal information in the judgment rule and the predetermined software version number that matches the predetermined terminal information. The difference obtained by comparison includes the predetermined software version number and the corresponding predetermined terminal information, the version number of the designated software in the computer to be detected and the corresponding IP address or MAC address, and the version number of the designated software in the computer to be detected and the corresponding IP address or MAC address are saved as the difference result.

[0084] Step 307: The server generates a detection result based on the difference result and sends it to the terminal.

[0085] In this step, the difference result includes: when the difference result is empty, the terminal does not violate the rules; when the difference result is not empty, the content in the difference result is the violation information. The difference result generates a detection result and sends it to the terminal, so that the terminal can see whether it violates the rules and the violation situation.

[0086] In the above steps, the data obtained by integrating and analyzing the computer terminal information and the software status in the computer can make the management terminal clearly understand the software usage of each terminal, which can be used to screen the software installation status of computers in different departments and find the software installation status that does not meet the installation authority in time. Steps 301 to 307 further speed up the software detection speed and improve work efficiency.

[0087] In some embodiments, taking the task of detecting the version status of the specified software in the terminal and the terminal information using the specified software as an example, in step 302, before the terminal receives the judgment rule forwarded by the platform, the method further includes:

[0088] Step 401, the management terminal formulates the judgment rule, which includes a predetermined software version number, a path for searching the software version number, predetermined terminal information, and a path for searching the terminal information.

[0089] Step 402: the management end sends the judgment rule to the platform end.

[0090] Step 403: the platform receives the judgment rule.

[0091] Step 404: the platform saves the judgment rule.

[0092] In this step, the platform saves the judgment rule in the form of a data list, and the management end directly selects from the data list when calling, and the management end does not need to send or configure again.

[0093] Step 405: the platform sends the judgment rule to the terminal.

[0094] Repeat steps 302 to 306.

[0095] Steps 401 to 405 can save the judgment rule sent by the management end to the platform end in the platform end, so that the management end can directly call it. When the task is to detect the version status of the specified software in the terminal and the terminal information using the specified software, the management end can directly call the judgment rule from the platform end, and the management end does not need to send the judgment rule to the platform end again, which saves detection time and improves detection efficiency.

[0096] In some embodiments, the judgment rule further includes: presetting the software serial number and searching the software serial number path. Taking the task of detecting the version status of the specified software in the terminal and the terminal information using the specified software as an example, the method further includes:

[0097] Step 501, the management end sends the judgment rule to the platform end, the judgment rule includes: the predetermined software version number, the software version number search path, the predetermined software serial number and the software serial number search path.

[0098] Step 502: After receiving the judgment rule forwarded by the platform, the terminal extracts the software serial number search path and the software version number search path in the judgment rule.

[0099] Step 503: the terminal obtains the specified software version number on the terminal according to the software version number search path, and obtains the specified software serial number on the terminal according to the software serial number search path.

[0100] Step 504: the terminal combines the designated software version number and the designated software serial number to generate the detection information, and sends the detection information to the server.

[0101] Step 505: the server obtains the judgment rule from the platform, and extracts the predetermined software version number and the predetermined software serial number from the judgment rule.

[0102] Step 506: the server compares the matching of the predetermined software version number and the predetermined terminal information with the matching of the designated software version number and the designated software serial number in the detection information to obtain a corresponding difference result.

[0103] In this step, the version number of the designated software of the computer to be detected and the serial number of the designated software in the computer to be detected are found, and compared with the predetermined software version number in the judgment rule and the predetermined software serial number that matches the corresponding software version number information. The difference obtained by comparison includes the predetermined software version number and the corresponding predetermined software serial number, the designated software version number in the computer to be detected and the corresponding designated software serial number, and the designated software version number in the computer to be detected and the corresponding designated software serial number are saved as the difference result.

[0104] Step 507: The server generates a detection result based on the difference result and sends it to the terminal.

[0105] In this step, the difference result includes: when the difference result is empty, the terminal does not violate the rules; when the difference result is not empty, the content in the difference result is the violation information. The difference result generates a detection result and sends it to the terminal, so that the terminal can see whether it violates the rules and the violation situation.

[0106] According to step 501 to step 507, the software version number and serial number data of the computer to be detected can be integrated and analyzed, and the inconsistent version number and serial number can be extracted and integrated, so that the management end can more briefly and clearly understand the software violation phenomenon, which is convenient for the management end to deal with the illegal software. The above steps speed up the software detection process, improve work efficiency, and ensure the accuracy and efficiency of software detection.

[0107] In some embodiments, taking the task of detecting the version status of the specified software in the terminal and using the specified software serial number as an example, in step 502, before the terminal receives the judgment rule forwarded by the platform, the method further includes:

[0108] Step 601, the management terminal formulates the judgment rule, which includes a predetermined software version number, a path for searching the software version number, a predetermined software serial number, and a path for searching the software serial number.

[0109] Step 602: the management end sends the judgment rule to the platform end.

[0110] Step 603: the platform receives the judgment rule.

[0111] Step 604: the platform saves the judgment rule.

[0112] Step 605: the platform sends the judgment rule to the terminal.

[0113] In this step, the platform saves the judgment rule in the form of a data list, and the management end directly selects from the data list when calling, and the management end does not need to send or configure again.

[0114] Repeat steps 502 to 506.

[0115] In step 601 to step 605, the platform end can save the judgment rule, and when the version status of the specified software in the terminal is detected again and the specified software serial number is used, the management end can directly call the judgment rule from the platform end, and the management end does not need to send the judgment rule to the platform end again, nor does it need to configure the judgment rule again. The above steps can greatly save detection time and improve detection efficiency.

[0116] In some embodiments, the method for checking genuine software further includes, before step 101: step 1001, the management terminal periodically updates or modifies the judgment rule.

[0117] In this step, the management end periodically updates or modifies the judgment rule according to the task requirements of the terminal and the designated software, and the changes in the matching relationship between the terminal and the designated software.

[0118] When executing a task, repeat steps 101 to 103 to send the updated or modified judgment rule to the platform end, and the platform end can save the updated or modified judgment rule for direct call by the management end. Updating or modifying the judgment rule at the management end can meet the requirements of task diversity, expand the detection scope, and increase the types of detection items.

[0119] In some embodiments, the data table includes at least one of the following: an array, a linked list, a queue, a tree, a heap, and a graph.

[0120] In step 110, the server aggregates the detection results of each terminal and generates the data table and sends it to the management end. The data list can be expressed by at least one of an array, a linked list, a queue, a tree, a heap and a graph to meet the management end's needs for different data presentation methods. The management end can select different data presentation methods according to different detection tasks to make the detection results intuitive and clear. The management end can select the data of a module in the data table to directly export it, which is convenient for handling violations.

[0121] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0122] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0123] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for checking genuine software, the electronic device, and the storage medium described in any of the above embodiments are implemented.

[0124] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 310, a memory 320, an input / output interface 330, a communication interface 340, and a bus 350. The processor 310, the memory 320, the input / output interface 330, and the communication interface 340 are connected to each other in communication within the device through the bus 350.

[0125] The processor 310 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0126] The memory 320 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 320 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 320 and are called and executed by the processor 310.

[0127] The input / output interface 330 is used to connect the input / output module to realize information input and output. The input / output module can be configured as a component in the device (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0128] The communication interface 340 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0129] The bus 350 comprises a pathway that transmits information between the various components of the device (eg, the processor 310 , the memory 320 , the input / output interface 330 , and the communication interface 340 ).

[0130] It should be noted that, although the above device only shows the processor 310, the memory 320, the input / output interface 330, the communication interface 340 and the bus 350, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0131] The electronic device of the above-mentioned embodiment is used to implement the corresponding genuine software checking method, electronic device and storage medium in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0132] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the genuine software checking method, electronic device and storage medium described in any of the above embodiments.

[0133] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0134] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the genuine software checking method, electronic device and storage medium described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0135] It should be noted that the embodiments of the present application can be further described in the following manner:

[0136] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0137] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0138] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0139] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A method for checking genuine software, characterized in that: include: The platform receives the specified judgment rule sent by the management end, and distributes the judgment rule to the terminal, wherein the judgment rule includes a predetermined software version number and a path for searching the software version number; The terminal obtains detection information of the specified software on the terminal according to the software version number search path in the judgment rule, and sends the detection information to the server; The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information; The server sends the detection result to the terminal; The server aggregates the detection results of each terminal, generates a data table and sends it to the management terminal; The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information, including: The detection information is the version number of the specified software on the terminal detected according to the software version number search path, the server matches the predetermined software version number to obtain the meaning represented by the version number of the specified software, obtains the status of the specified software on the terminal, and determines that the violation information is the information that cannot match the version number of the specified software in the predetermined software version number; The detection result is generated by combining the version number of the specified software and the violation information; The judgment rule also includes predetermined terminal information and a path for searching terminal information; The terminal obtains detection information of the specified software on the terminal according to the software version number search path in the judgment rule, and sends the detection information to the server, further comprising: The terminal obtains the specified software version number on the terminal according to the software version number search path, obtains the terminal IP address or MAC address according to the terminal information search path, combines the specified software version number with the terminal IP address or MAC address to generate the detection information, and sends the detection information to the server; The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information, further comprising: The server obtains the judgment rule from the platform, extracts the predetermined software version number and the predetermined terminal information from the judgment rule, compares the matching of the predetermined software version number and the predetermined terminal information with the difference between the matching of the specified software version number and the terminal IP address or MAC address in the detection information, obtains the corresponding difference result, generates a detection result based on the difference result and sends it to the terminal.

2. The method for checking genuine software according to claim 1, characterized in that: Before the terminal receives the judgment rule sent by the platform, the method further includes: The management end formulates the judgment rule, and then sends the judgment rule to the platform end; The platform receives the judgment rule, saves the judgment rule, and sends the judgment rule to the terminal; The judgment rule includes a predetermined software version number, a path for searching the software version number, predetermined terminal information, and a path for searching the terminal information.

3. The method for checking genuine software according to claim 1, characterized in that: The management end sends the specified judgment rule to the platform end, and distributes the judgment rule to the terminal, wherein the judgment rule also includes a predetermined software serial number and a path for searching the software serial number; The terminal obtains the specified software version number on the terminal according to the software version number search path, obtains the specified software serial number on the terminal according to the software serial number search path, combines the specified software version number and the specified software serial number to generate the detection information, and sends the detection information to the server; The server obtains the judgment rule from the platform, extracts the predetermined software version number from the judgment rule, and generates a detection result according to the predetermined software version number and the detection information, further comprising: The server obtains the judgment rule from the platform, extracts the predetermined software version number and the predetermined software serial number according to the judgment rule, compares the matching status of the predetermined software version number and the predetermined software serial number with the matching status of the specified software version number and the specified software serial number in the detection information, obtains the corresponding difference result according to the comparison, generates the detection result according to the difference result and sends it to the terminal.

4. The method for checking genuine software according to claim 3, characterized in that: Before the terminal receives the judgment rule sent by the platform, the method further includes: The management end formulates the judgment rule, and then sends the judgment rule to the platform end; The platform receives the judgment rule, saves the judgment rule, and sends the judgment rule to the terminal; The judgment rules include pre-setting a software version number, searching a path for the software version number, pre-setting a software serial number, and searching a path for the software serial number.

5. The method for checking genuine software according to claim 1, characterized in that: The method further comprises: The management terminal periodically updates or modifies the judgment rules; The management end sends the updated or modified judgment rule to the platform end.

6. The method for checking genuine software according to claim 1, characterized in that: The data table includes at least one of the following: Arrays, linked lists, queues, trees, heaps, and graphs.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.

8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Version confirmation method and system, electronic equipment and storage medium

    CN112486946A