Information query method and related product
By attaching a special QR code containing SN barcode information and query assistant website information on the server and using routing navigation technology to automatically open the query assistant, the problem of complex information query and low accuracy in the existing technology is solved, and efficient and accurate information query is achieved.
Patent Information
- Application Number
- CN202410502068.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2025-10-24
AI Technical Summary
In the prior art, the server information query process is complex and has low accuracy and efficiency, and is particularly prone to human error when querying spare part codes.
By obtaining the SN barcode information from the server, using a dedicated QR code to record the SN barcode information and the query assistant website information, and using routing navigation technology to automatically open the query assistant, the query process is simplified and accuracy and efficiency are improved.
There is no need to manually copy barcodes and query URLs, and the query assistant can be called directly, which simplifies the query process, improves the efficiency and accuracy of information query, and enhances the flexibility and stability of query.
Smart Images

Figure CN120832452A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computers, in particular to an information query method and related products. BACKGROUND
[0002] In order to better run and have powerful functions, the server often involves more types and numbers of accessories and components, and there are scenarios of querying various information of the server when performing customs clearance or arriving at the customer site, and when the customer performs maintenance query and later maintenance.
[0003] Taking the query of spare parts as an example, there may be dozens of types of spare parts involved in a component of the server, and the number of spare part codes involved is huge. The existing technology usually queries the spare part code in the following way: the user first obtains the information corresponding to the damaged component from the baseboard management controller (BMC) management interface or the log, or even by pulling out the damaged component, and then manually records the information, and then obtains the spare part code involved in the damaged component by telephone consultation, and then applies for the spare parts. In this way, the whole information query process is too complex, and the manual recording process is also prone to errors, thereby causing the problems of low accuracy and efficiency of information query.
[0004] Therefore, how to improve the efficiency of information query while ensuring the accuracy of information query is a problem that needs to be solved by those skilled in the art. SUMMARY
[0005] Based on the above problems, the embodiments of the present application provide an information query method and related products, which directly call a related query assistant for query after obtaining the serial number (SN) barcode information of the server, and then obtain the corresponding server information, thereby solving the problems of low efficiency and accuracy of information query in the prior art.
[0006] In a first aspect, the embodiments of the present application provide an information query method, comprising: obtaining a target two-dimensional code; the target two-dimensional code includes SN barcode information of a server to be queried and query assistant website information corresponding to the SN barcode information; analyzing the target two-dimensional code, and opening a query assistant corresponding to the query assistant website information based on routing navigation technology; querying server information corresponding to the server to be queried based on the query assistant. In this way, the embodiments of the present application directly call a related query assistant for query after obtaining the SN barcode information of the server, and obtain the corresponding server information, thereby eliminating the need for manual transcription of the barcode and query of the query assistant website corresponding to the current server, simplifying the query process, and improving the efficiency and accuracy of information query.
[0007] In a possible implementation, the server information corresponding to the server to be queried is queried based on the query assistant, including: automatically inputting the SN barcode information into a fixed input window of the query assistant, and exporting the server information corresponding to the server to be queried. In this way, the embodiment of the present application introduces a query method, which automatically inputs the SN barcode into the query assistant, and then exports the server information corresponding to the server to be queried. On the one hand, the uniqueness of the SN barcode improves the accuracy of the query, and on the other hand, the query assistant is automatically inputted, and the barcode does not need to be manually transcribed, thereby improving the efficiency of information query.
[0008] In a possible implementation, the query assistant corresponding to the query assistant website information is opened, including: jumping to a query main page of the query assistant corresponding to the query assistant website information; the server information function module corresponding to the server to be queried is displayed in the query main page; the server information function module includes maintenance information, compatibility list and spare parts list. In this way, the embodiment of the present application introduces a jumping method, which jumps to the query main page including a plurality of server information function modules after scanning the code, clearly displays a plurality of data query types for the user, and improves the flexibility of user query.
[0009] In a possible implementation, the server information corresponding to the server to be queried is queried based on the query assistant, including: determining a target query module from the server information function module in response to a selection operation of the user; and exporting target special information related to the target query module based on the query assistant. In this way, the embodiment of the present application introduces a query method, which lists a plurality of server information function modules based on the query main page, responds to the instruction of the user selecting a query module, and exports corresponding target special information for the user, thereby improving the accuracy and flexibility of information query.
[0010] In a possible implementation, the target special information related to the target query module is exported based on the query assistant, including: screening target special information corresponding to the target query module based on a special function database; the special function database corresponds to the query assistant, and includes all related data of the server to be queried; and the target special information is exported. In this way, the embodiment of the present application introduces a special function database, which corresponds to the query assistant, and stores all related data corresponding to different SN barcodes in the special function database, thereby accurately exporting corresponding target special information after determining the server to be queried, and improving the accuracy and efficiency of information query.
[0011] In a possible implementation, the acquiring the target two-dimensional code comprises: opening a scanning tool of a special APP; scanning a specific two-dimensional code of the server to be queried based on the scanning tool, and acquiring the specific two-dimensional code as the target two-dimensional code. In this way, the scanning tool of the special APP is introduced, the target two-dimensional code is acquired through simple scanning, the process of acquiring the target two-dimensional code is simplified, and the efficiency of information query is improved.
[0012] In a possible implementation, before the parsing the target two-dimensional code and opening the query assistant corresponding to the query assistant website information, the method further comprises: checking the target two-dimensional code; and if the checking fails, prompting an error. In this way, the two-dimensional code checking is introduced, the target two-dimensional code is checked to determine whether the SN barcode information and the query assistant website information are included in the target two-dimensional code at the same time, the success of information query is ensured, and the stability of information query is improved.
[0013] In a possible implementation, the prompting the error comprises: showing an error label of the two-dimensional code to the user. In this way, the error showing mode is introduced, the error label of the two-dimensional code is directly shown to the user when the two-dimensional code checking fails, the processing efficiency is improved, and the readability of the user is improved.
[0014] In a second aspect, an information query apparatus is provided, comprising:
[0015] an acquiring module configured to acquire a target two-dimensional code; the target two-dimensional code comprising SN barcode information of a server to be queried and query assistant website information corresponding to the SN barcode information;
[0016] a parsing module configured to parse the target two-dimensional code, and open a query assistant corresponding to the query assistant website information based on a routing navigation technology;
[0017] a querying module configured to query server information corresponding to the server to be queried based on the query assistant.
[0018] In a third aspect, a server is provided, comprising: a memory configured to store a computer program; and a processor configured to execute the computer program to implement the steps of the information query method.
[0019] As can be seen from the above technical solutions, compared with the prior art, the embodiments of the present application have the following advantages:
[0020] The embodiment of the present application first obtains the target QR code. The target QR code includes the SN barcode information of the server to be queried and the query assistant website information corresponding to the SN barcode information. The target QR code is then parsed, and the query assistant corresponding to the query assistant website information is opened based on the routing navigation technology. Finally, the server information corresponding to the server to be queried is queried based on the query assistant. In this way, after obtaining the SN barcode information of the server, the relevant query assistant is directly called to query and obtain the corresponding server information, thereby eliminating the need to manually transcribe the barcode and query the query assistant website corresponding to the current server, simplifying the query process and improving the efficiency and accuracy of information query. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A flowchart of an information query method provided in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of the homepage of a dedicated APP provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a read routing configuration method provided in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of a core device provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of a server information function module provided in an embodiment of the present application;
[0026] Figure 6 A schematic diagram of a server information query step provided in an embodiment of the present application;
[0027] Figure 7 A schematic diagram of the structure of an information query device provided in an embodiment of the present application;
[0028] Figure 8 A server is provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0030] In the description of the embodiments of the present application, the words "exemplary", "for example", or "e.g." are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary", "for example", or "e.g." should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the embodied words are used to present concepts in a concrete manner.
[0031] In the description of the embodiments of the present application, the term "and / or", only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, B alone, and A and B together. In addition, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refer to two or more systems, and multiple terminals refer to two or more terminals.
[0032] In addition, the terms "first", "second", are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more features. The terms "include", "contain", "have" and their variants mean "include but not limited to", unless otherwise specifically emphasized.
[0033] In the following, some terms in the present embodiment are explained. It should be noted that these explanations are for the convenience of those skilled in the art to understand, and do not limit the scope of protection required by the present application.
[0034] The route navigation (Vue-router) is a link path management system of a web application (WebApp). The route here does not refer to the hardware router we usually say, but the path manager of a single page application (Single Page web Application, SPA). Vue-router is the official routing plugin of vue.js, which is deeply integrated with vue.js and is suitable for building single-page applications. The single-page application of Vue is based on routing and components, and the routing is used to set the access path and map the path and components. The single-page application of Vue-router is the switching between paths, which is the switching of components, and the essence of the routing module is to establish the mapping relationship between the uniform resource locator (Uniform Resource Locator, URL) and the page.
[0035] BMC and Intelligent Platform Management Interface (IPMI) are the basic core function subsystems of the server, responsible for the core functions of server hardware state management, operating system management, health state management, power consumption management, etc.
[0036] SN code is the abbreviation of Serial Number, also known as SerialNo, that is, product serial number. The product serial number is introduced to verify that the product is a genuine product, to protect the rights and interests of users and to enjoy legal services. Each genuine product corresponds to a set of product serial number, that is, SN code, when produced. SN code has several classifications: software SN code, mobile phone SN code, mobile phone SN code, etc.
[0037] As described above, the existing information query method has the problems of low information query efficiency and accuracy. Specifically, the server is equipped with many types and quantities of accessories and components, and there are scenarios for querying the information of various types of servers when performing customs clearance or arriving at the customer site, customer maintenance query, and later maintenance. Therefore, the existing information query method is mostly in the form of manual cooperation. For example, the user needs to first obtain the information of the damaged component from the BMC management interface or the log, or even by pulling out the damaged component, and manually record it, then obtain the spare part code involved in the damaged component through telephone consultation, and then apply for spare parts. Among them, the components recorded in the BMC are not complete, and it is very troublesome to obtain the damaged components from the log. In this way, the entire information query process is too complex, and the human recording process is also prone to errors, resulting in low accuracy and efficiency of information query.
[0038] To solve the above problems, the embodiments of the present application provide an information query method, which comprises: first, obtaining a target two-dimensional code. The target two-dimensional code includes SN code information of a server to be queried and query assistant website information corresponding to the SN code information. Then, the target two-dimensional code is analyzed, and the query assistant corresponding to the query assistant website information is opened based on the routing navigation technology. Finally, the server information corresponding to the server to be queried is queried based on the query assistant.
[0039] In this way, after obtaining the SN code information of the server, the relevant query assistant is directly called for query, and the corresponding server information is obtained, so that manual transcription of the code and query of the query assistant website corresponding to the current server are not required, simplifying the query process and improving the information query efficiency.
[0040] It should be noted that the information query method and related products provided by the present application can be applied to the field of computer technology. The above is only an example and does not limit the application field of the information query method and related products provided by the present application.
[0041] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0042] Figure 1 The flowchart of the information query method provided by the embodiments of the present application is shown in Figure 1 The information query method provided by the embodiments of the present application can include:
[0043] S101: Obtain a target two-dimensional code; the target two-dimensional code includes SN barcode information of a server to be queried and query assistant website information corresponding to the SN barcode information.
[0044] In actual applications, an identity mark that uniquely identifies the server can be affixed to each server machine and / or lower-level components, generally an SN barcode. The existing information query method can be implemented based on a query assistant, and the server information corresponding to the input barcode is obtained by inputting the SN barcode into the query assistant. However, the query assistants corresponding to different SN barcodes are not the same, and to find the query assistant corresponding to the current SN barcode, the user needs to query through the support website or 400 phone, etc. The acquisition method is cumbersome and requires manual transcription, which reduces accuracy. To this end, the embodiment of the present application provides a special QR code, in which the SN barcode information and the query assistant website information corresponding to the SN barcode are written together, so that the information query system can obtain the SN barcode information of the server to be queried and the corresponding query assistant website information by parsing the special QR code. For example, consider the spare parts search assistant's website: https: / / support.kunlunit.com / server-spareparts / # / zh / home. Server A has a barcode SN of 2106199QMHXHPA000001. This barcode can be embedded into a dedicated URL, yielding https: / / support.kunlunit.com / server-spareparts / # / zh / home?SN=2106199QMHXHPA000001. A QR code generator can then use the URL with the embedded SN to map it to a unique QR code for Server A and affix it to the server. If one or more servers have such a dedicated QR code, the information query system can, based on user needs, retrieve the dedicated QR code attached to a specific server as the target QR code for subsequent parsing and querying. In this way, a dedicated QR code is introduced to simultaneously record the SN barcode information of the server to be queried and the query assistant website information corresponding to the SN barcode information, which reduces the difficulty of obtaining the SN barcode and the time of obtaining the corresponding query assistant website, thereby improving the efficiency of information query.
[0045] In addition, since the methods of obtaining the target QR code are different, the embodiments of the present application can illustrate a possible acquisition method.
[0046] In one embodiment, obtaining the target QR code includes:
[0047] Open the dedicated app's scanning tool;
[0048] The specific QR code of the server to be queried is scanned based on the scan tool, and the specific QR code is obtained as the target QR code.
[0049] In actual applications, the information query system introduces a dedicated information query APP, using the terminal as a carrier. Users can open the scanning tool of the dedicated APP to scan the dedicated QR code on the server machine, thereby obtaining the target QR code. Figure 2 This is a schematic diagram of a homepage of a dedicated APP provided in an embodiment of the present application. Figure 2 As shown, you can click the "+" button on the right to open the Scan tool and scan the server-specific QR code to obtain and retrieve specific database information. Alternatively, you can manually enter only the SN barcode or only the Bill of Materials (BOM) code separated by English commas to retrieve the database. It should be noted that the terminal, as the carrier of the dedicated APP, needs to have a camera function.
[0050] S102: Parse the target QR code and open the query assistant corresponding to the query assistant website information based on routing navigation technology.
[0051] In actual applications, the target QR code includes the SN barcode information of the server to be queried and the query assistant website information corresponding to the SN barcode information. Therefore, the information query system can obtain the SN barcode information and the query assistant website information from the target QR code through a simple decoding operation. However, in order to automatically input the obtained SN barcode into the corresponding query assistant to query the server to be queried after parsing, and avoid manual entry steps, it is also necessary to process the query assistant website, and enable the query assistant website to read the route based on the routing navigation technology, and send instructions to the website by embedding the SN in the URL. Specifically, when using "vue-router" in Vue for routing navigation, the two functions "useRouter" and "useRoute" can be used to obtain the current routing information. First, the "useRouter" function can be used to obtain a "router" object, which provides some routing-related methods and properties. Among them, the "router.push" method can be used to jump to the route, the "router.replace" method can be used to replace the current route, and the "router.go" method can be used to move forward or backward. Figure 3 A schematic diagram of a read routing configuration method provided in an embodiment of the present application. Figure 3As shown, the memory configuration helper first imports the useRouter and useRoute functions from the vue-router module by `import{useRouter,useRoute}from'vue-router'`. Then it uses the useRouter function to get a router object, through which routing navigation operations can be performed. Finally, the useRoute function is used to obtain the information of the current route, returning an object containing the current route information. In this way, the read route is implemented based on the background query helper website. After the information query system parses the SN barcode information of the target server and the corresponding query helper website information, it can automatically open the query helper corresponding to the query helper website information, improving the efficiency and accuracy of information query.
[0052] In addition, since the obtained two-dimensional codes are not the same, the embodiments of the present application can describe a possible two-dimensional code processing method.
[0053] In one case, before the target two-dimensional code is parsed and the query helper corresponding to the query helper website information is opened, it further includes:
[0054] The target two-dimensional code is verified.
[0055] If the verification fails, an error is prompted.
[0056] In actual application, there are many two-dimensional codes, and different data is written in different two-dimensional codes. Therefore, in order to ensure that the obtained two-dimensional code is the required one, the target two-dimensional code needs to be verified after being obtained by the information query system, so as to avoid the problem of system error or repeated parsing caused by parsing the wrong two-dimensional code. If the verification is successful, the information query process continues; if the verification fails, an error is prompted to the user. In this way, the verification of the target two-dimensional code can determine whether the target two-dimensional code contains SN barcode information and query helper website information at the same time, and further ensure that the information query can be successful, improving the stability of information query.
[0057] In addition, since the prompt method is not the same, the embodiments of the present application can describe a possible prompt method.
[0058] In one case, the error prompt includes:
[0059] The user is shown a two-dimensional code error mark.
[0060] In practical applications, there are many forms of error prompts, such as picture form, text form, and background color form, etc., which can be set by the user as needed. The information query system in the embodiment of the application can show the user the word "two-dimensional code error" on the verification page after the target two-dimensional code fails to pass verification, and provide a return option for the user to click and return to the system main page. In this way, when the two-dimensional code fails to pass verification, the user is directly shown the two-dimensional code error word, which on the one hand improves the processing efficiency, and on the other hand improves the readability of the user.
[0061] S103: querying the server information corresponding to the server to be queried based on the query assistant.
[0062] In practical applications, the server information of the server pointed to by the SN barcode can be directly queried by using the query assistant corresponding to the SN barcode. In order to realize automatic jumping, the query assistant website has been realized to read the route based on the route navigation technology before information query. Therefore, when the information query system parses the target two-dimensional code and obtains the query assistant website information, it can automatically jump to the query assistant page, input the SN barcode obtained by parsing the target two-dimensional code into the query assistant to query the server to be queried, and obtain the corresponding server information. In this way, the SN barcode is automatically input into the query assistant, without the need for manual transcription of the barcode, thereby improving the efficiency and accuracy of information query.
[0063] In summary, Figure 4 A core device schematic diagram is provided for the embodiment of the application. As shown in 4, before the query process, a server-specific two-dimensional code (including SN barcode information and a special two-dimensional code corresponding to the query assistant website information) is generated by using a specific two-dimensional code generation device, a special APP is loaded on a terminal device, a two-dimensional code verification rule and a database system containing server-related information are constructed, and the read route of the query assistant website is set based on the route navigation technology. In this way, when information query is performed, the terminal (such as a mobile phone) loaded with the special APP first acquires the specific two-dimensional code device (special two-dimensional code / target two-dimensional code) through the scan tool of the special APP, then performs barcode verification, if the verification is successful, connects the server information database system, and performs web page jumping based on the web page jumping system to export the server information corresponding to the server to be queried.
[0064] In addition, since the ways of querying server information are not the same, the embodiment of the application can describe one possible query method.
[0065] In one case, the querying the server information corresponding to the server to be queried based on the query assistant comprises:
[0066] The SN barcode information is automatically input into a fixed input window of the query assistant, and server information corresponding to the server to be queried is exported.
[0067] In actual application, after the information query system parses the target two-dimensional code, the query assistant corresponding to the query assistant website information is automatically opened based on routing navigation technology, and the SN barcode obtained after parsing the target two-dimensional code is automatically input into a fixed input window of the query assistant. The query assistant calls a pre-set database to query the server to be queried corresponding to the SN barcode, and exports server information corresponding to the server to be queried. In this way, the uniqueness of the SN barcode improves the accuracy of the query, and on the other hand, by automatically inputting the query assistant, manual transcription of the barcode is not required, thereby improving the efficiency of information query.
[0068] In addition, since the opening modes of the query assistant are not the same, the embodiment of the present application can be described in terms of one possible opening mode.
[0069] In one case, the opening of the query assistant corresponding to the query assistant website information comprises:
[0070] Jumping to a query main page of the query assistant corresponding to the query assistant website information;
[0071] The query main page displays a server information function module corresponding to the server to be queried;
[0072] The server information function module comprises maintenance information, a compatibility list, and a spare parts list.
[0073] In actual application, the entire life cycle of the server, from delivery to customer site maintenance, repair, positioning and other aspects will involve querying related information or data of the server. The server delivery, maintenance, repair and positioning require multiple resource libraries. Therefore, the embodiment of the present application introduces a server information function module to facilitate users to query certain specific information. Specifically, Figure 5 A schematic diagram of a server information function module provided by the embodiment of the present application. In combination with Figure 5As shown, the query main page address of the query assistant can be written into the special two-dimensional code as the query assistant website information. In this way, when the information query system parses the target two-dimensional code, it can directly jump to the query main page of the query assistant. The query assistant calls out the data corresponding to the server to be queried from the system database through the key SN information, divides the query data according to the server information function module, and expands the server information function module for the user to conduct information query in a targeted manner. The server information function module can include maintenance information, compatibility list, spare parts list, and customs clearance data, etc. By jumping to the query main page including multiple server information function modules after scanning the code, the user is clearly shown multiple data query types, thereby improving the flexibility of user query.
[0074] In addition, since the ways of querying server information are different, the embodiments of the present application can describe another possible query method.
[0075] In one case, the server information corresponding to the server to be queried based on the query assistant query includes:
[0076] In response to the selection operation of the user, a target query module is determined from the server information function module;
[0077] Based on the query assistant, target special information related to the target query module is exported.
[0078] In actual application, the user can select the module to be queried from the multiple server information function modules displayed on the query main page by touch screen clicking or mouse pointer clicking, and the information query system takes the module as the target query module. Based on the query assistant, the target special information related to the target query module of the server to be queried is queried. Taking spare parts query as an example, the user can click the server information function module named spare parts list, the information query system takes it as the target query module, and exports the spare parts list information of each component type related to the server to be queried for the user, which includes but is not limited to code, spare part attribute, spare part type, and Chinese description, etc. In this way, based on the multiple server information function modules listed on the query main page, the corresponding target special information is exported for the user in a targeted manner in response to the instruction of the user selecting a query module, thereby improving the accuracy and flexibility of information query.
[0079] In addition, since the ways of exporting target special information are different, the embodiments of the present application can describe one possible exporting method.
[0080] In one case, the server information corresponding to the server to be queried based on the query assistant query includes:
[0081] screening target special information corresponding to the target query module based on a special function database; the special function database corresponds to the query assistant and includes all related data of the server to be queried;
[0082] exporting the target special information.
[0083] In actual application, the special two-dimensional code of the server writes the corresponding SN barcode information and the query assistant website information corresponding to the SN barcode information. The query assistant website information is used to indicate the website of the query assistant to be jumped, wherein the query assistant is previously provided with a corresponding special function database. In the special function database, the key of all data is bound with the SN barcode. Through the SN unique identification code, the component composition information of the server to be queried, the maintenance signing time, the corresponding server model and compatibility information, the spare part attribute and list, the information required to be provided for customs clearance and other related data can be distinguished and displayed based on the server information function module. Specifically, taking the spare part query as an example, the special function database pre-stores a plurality of server corresponding component composition information, maintenance signing time, corresponding server model and compatibility information, spare part attribute and list, information required to be provided for customs clearance and other related data according to different SN barcodes. When the information query system obtains and analyzes the target two-dimensional code corresponding to the server to be queried, the query assistant is automatically opened, and the query main page including a plurality of server information function modules is displayed for the user. If the user clicks the spare part list, the information query system will automatically screen all related data (code, spare part attribute, spare part type and Chinese description, etc.) corresponding to the spare part list from the special function database based on the query assistant, and export and display for the user to view. In this way, the special function database corresponds to the query assistant, and all related data is stored in the special function database based on different SN barcodes, so that the corresponding target special information is accurately exported after the server to be queried is determined, and the accuracy and efficiency of information query are improved.
[0084] In summary, Figure 6 A schematic diagram of a server information query step is provided for the embodiments of the present application. The above and other objects, features and advantages of the present application will become apparent from the following description of embodiments thereof, taken in conjunction with the accompanying drawings. Figure 6As shown, the specific two-dimensional code (server-specific two-dimensional code) includes server SN bar information and a special function database link of the application. The special function database link included in each specific two-dimensional code is based on a routing navigation technology and two-dimensional code association, so that after the terminal scans the specific two-dimensional code, it can directly jump to the corresponding website and perform information query. Specifically, the user scans the specific two-dimensional code by using a terminal (such as a mobile phone) loaded with a special APP, and performs identification. The information query system checks the bar code. If the check fails, an error is prompted. If the check succeeds, the information database corresponding to the server SN bar code (the special function database corresponding to the SN bar code) is obtained, and the server information function module is used to display the query data to the user, such as maintenance information, spare parts list, compatibility list, and customs clearance data, etc. In this way, the efficiency and accuracy of information query are improved.
[0085] To sum up, the embodiment of the application first acquires a target two-dimensional code. The target two-dimensional code includes SN bar code information of a server to be queried and query assistant website information corresponding to the SN bar code information. Then the target two-dimensional code is parsed, and a query assistant corresponding to the query assistant website information is opened based on a routing navigation technology. Finally, server information corresponding to the server to be queried is queried based on the query assistant. In this way, after the SN bar code information of the server is acquired, the related query assistant is directly called for query, and the corresponding server information is acquired, so that manual transcription of the bar code and query of the query assistant website address corresponding to the current server are not needed, the query process is simplified, and the efficiency and accuracy of information query are improved.
[0086] Based on the information query method provided in the above embodiment, the embodiment of the application further provides an information query device. The information query device is described below in combination with the embodiments and the drawings.
[0087] Figure 7 A structural schematic diagram of an information query device provided in the embodiment of the application is shown. In combination with Figure 7 As shown, the information query device 700 provided in the embodiment of the application includes:
[0088] The acquisition module 701 is configured to acquire a target two-dimensional code. The target two-dimensional code includes SN bar code information of a server to be queried and query assistant website information corresponding to the SN bar code information.
[0089] The parsing module 702 is configured to parse the target two-dimensional code, and open a query assistant corresponding to the query assistant website information based on a routing navigation technology.
[0090] The query module 703 is configured to query server information corresponding to the server to be queried based on the query assistant.
[0091] As an implementation form, for how to query the server information, the query module 703 is specifically used for:
[0092] The SN barcode information is automatically input into the fixed input window of the query assistant, and the server information corresponding to the server to be queried is exported.
[0093] As an implementation form, for how to open the query assistant, the analysis module 702 is specifically used for:
[0094] Jump to the query main page of the query assistant corresponding to the query assistant website information;
[0095] The server information function module corresponding to the server to be queried is displayed in the query main page;
[0096] The server information function module includes maintenance information, compatibility list and spare parts list.
[0097] As an implementation form, for how to query the server information, the query module 703 is specifically used for:
[0098] In response to the selection operation of the user, the target query module is determined from the server information function module;
[0099] Based on the query assistant, the target special information related to the target query module is exported.
[0100] As an implementation form, for how to export the target special information, the query module 703 is specifically used for:
[0101] Based on the special function database, the target special information corresponding to the target query module is screened; the special function database corresponds to the query assistant, and includes all related data of the server to be queried;
[0102] The target special information is exported.
[0103] As an implementation form, for how to obtain the target two-dimensional code, the acquisition module 701 is specifically used for:
[0104] Open the scan tool of the special APP;
[0105] Based on the scan tool, the specific two-dimensional code of the server to be queried is scanned, and the specific two-dimensional code is obtained as the target two-dimensional code.
[0106] As an implementation form, for how to determine the validity of the target two-dimensional code, the information query device 700 further includes a verification module;
[0107] a checking module configured to check the target two-dimensional code;
[0108] If the checking fails, an error is prompted.
[0109] As an implementation, the above prompting of the error includes, as to how to prompt the error:
[0110] showing the user an error mark of the two-dimensional code.
[0111] In summary, the embodiment of the application first acquires a target two-dimensional code. The target two-dimensional code includes SN barcode information of a server to be queried and query assistant website information corresponding to the SN barcode information. Then the target two-dimensional code is parsed, and a query assistant corresponding to the query assistant website information is opened based on a routing navigation technology. Finally, server information corresponding to the server to be queried is queried based on the query assistant. In this way, after the SN barcode information of the server is acquired, a related query assistant is directly called for querying, and corresponding server information is acquired, so that manual transcription of the barcode and manual searching for a query assistant website corresponding to the current server are not needed, the query process is simplified, and the efficiency and accuracy of information query are improved.
[0112] In addition, the application further provides a server, which includes a memory configured to store a computer program and a processor configured to execute the computer program to implement the steps of the above information query method.
[0113] In addition, the application further provides a readable storage medium, which has a computer program stored thereon. The computer program is executed by a processor to implement the steps of the above information query method.
[0114] Figure 8 A server structure diagram is provided for the embodiment of the application, which is shown in combination with Figure 8 The server 800 includes a processor 810 and a memory 820. The memory 820 stores computer instructions. The processor 810 is configured to execute the computer instructions, so that the server 800 executes the above information query method based on the DBUS interface.
[0115] In some embodiments, the processor 810 can be a CPU, and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.
[0116] In some embodiments, the memory 820 can be a volatile memory or a non-volatile memory, such as a register or the like. Specifically, the volatile memory refers to the memory in which the data stored therein will be lost when the power supply is interrupted. Among them, the volatile memory is mainly random access memory (RAM), including static random access memory (SRAM) and dynamic random access memory (DRAM). The non-volatile memory refers to the memory in which the data stored therein will not be lost when the power supply is interrupted. Common non-volatile memories include read only memory (ROM), optical disc, magnetic disc, solid state disk and various memory cards based on flash memory technology, etc.
[0117] In some embodiments, the memory 820 has executable code, and the memory 820 executes the code to implement the information query method based on the DBUS interface.
[0118] The communication interface 830 is used for communication with the outside, for example, the communication interface 830 serves as an external interface, which receives a request for creating a virtual machine, and can also receive various parameters required for creating the virtual machine through the communication interface 830.
[0119] The bus can be a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (eisa) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of understanding, Figure 8 Only one thick line is used to represent it, but it does not mean that there is only one bus or only one type of bus.
[0120] It should be understood that the above-mentioned servers are only schematic representations. In actual use, the above-mentioned servers can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers. They can also be cloud servers that provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as basic cloud computing services such as large databases and artificial intelligence platforms. When the above-mentioned servers are server clusters or distributed systems composed of multiple physical servers, multiple physical servers can form a blockchain, and each physical server is a node on the blockchain. The physical type of the service area can be a rack server, a high-density server, a GPU server, a tower server, or a blade server, a whole cabinet server, etc., which is not specifically limited in this application.
[0121] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An information search method characterized by comprising: The method comprises: acquiring a target two-dimensional code; the target two-dimensional code comprises SN barcode information of a server to be queried and query assistant website information corresponding to the SN barcode information; analyzing the target two-dimensional code and opening a query assistant corresponding to the query assistant website information based on a routing navigation technology; querying server information corresponding to the server to be queried based on the query assistant.
2. The method of claim 1, wherein, The querying server information corresponding to the server to be queried based on the query assistant comprises: automatically inputting the SN barcode information into a fixed input window of the query assistant and exporting server information corresponding to the server to be queried.
3. The method of claim 1, wherein, The opening a query assistant corresponding to the query assistant website information comprises: jumping to a query main page of the query assistant corresponding to the query assistant website information; the query main page displays a server information function module corresponding to the server to be queried; the server information function module comprises maintenance information, a compatibility list and a spare parts list.
4. The method of claim 3, wherein, The querying server information corresponding to the server to be queried based on the query assistant comprises: determining a target query module from the server information function module in response to a selection operation of a user; exporting target special information related to the target query module based on the query assistant.
5. The method of claim 4, wherein, The exporting target special information related to the target query module based on the query assistant comprises: filtering target special information corresponding to the target query module based on a special function database; the special function database corresponds to the query assistant and comprises all related data of the server to be queried; exporting the target special information.
6. The method of claim 1, wherein, The acquiring a target two-dimensional code comprises: opening a scanning tool of a special APP; scanning a specific two-dimensional code of a server to be queried based on the scanning tool and acquiring the specific two-dimensional code as a target two-dimensional code.
7. The method of claim 1, wherein, Before the analyzing the target two-dimensional code and opening a query assistant corresponding to the query assistant website information, the method further comprises: verifying the target two-dimensional code; if the verification fails, prompting an error.
8. The method according to claim 7, characterized in that The prompting an error comprises: showing an error word to a user.
9. An information inquiry apparatus characterized by comprising: The method comprises: an acquisition module configured to acquire a target two-dimensional code; the target two-dimensional code comprises SN barcode information of a server to be queried and query assistant website information corresponding to the SN barcode information; an analysis module configured to analyze the target two-dimensional code and open a query assistant corresponding to the query assistant website information based on a routing navigation technology; a query module configured to query server information corresponding to the server to be queried based on the query assistant.
10. A server, characterized by The method comprises: a memory configured to store a computer program; a processor configured to execute the computer program to implement steps of the information query method according to any one of claims 1 to 8.