Information acquisition method, device, equipment and storage medium

CN115907653BActive Publication Date: 2026-09-25CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211434012.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2026-09-25
Estimated Expiration
2042-11-16

AI Technical Summary

Technical Problem

[0003]在上述方法中,有许多常态化的信息交互工作需要运维人员随时处理,使得信息反馈工作碎片化,从而导致大量工作无法连贯的集中精力地完成,大大降低了解决深度问题的工作效率

Benefits of technology

[0016]本申请提供了一种信息获取方法、装置、设备及存储介质,应用于从服务器获取信息的场景中。在需要从服务器获取目标信息时,服务器可以从保存有多项信息获取任务的多个文档中,获取多种任务类型的信息获取任务,从而针对多项信息获取任务中的目标信息获取任务,确定目标信息获取任务对应的虚拟机标识和项目标识,以通过虚拟机标识对应的目标虚拟机中的目标程序执行目标信息获取任务,并获取目标信息获取任务对应的目标信息,最终通过第一API接口将目标信息添加至目标信息获取任务对应的目标文档中,实现对目标信息的获取。通过上述方法,在需要从服务器获取目标信息时,可以将获取目标信息的任务添加至对应的文档中,从而服务器可以基于文档中包括的信息获取任务,获取对应的信息并添加在对应的文档中,以供用户查看。而无需运维人员通过手动的形式从服务器中获取所需的信息,从而可以提高从服务器获取信息的效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115907653B_ABST
    Figure CN115907653B_ABST
Patent Text Reader

Abstract

The application discloses an information acquisition method and device, equipment and a storage medium, relates to the computer technical field, and is used for improving the information interaction efficiency between the front desk staff of an operator and a background server, and comprises the following steps: acquiring a plurality of information acquisition tasks from a plurality of documents, each document in the plurality of documents corresponds to a task type, and each document comprises at least one information acquisition task; for a target information acquisition task in the plurality of information acquisition tasks, determining a virtual machine identifier and a project identifier corresponding to the target information acquisition task, the target information acquisition task being any information acquisition task in the plurality of information acquisition tasks; executing the target information acquisition task through a target program in a target virtual machine corresponding to the virtual machine identifier, and acquiring target information corresponding to the target information acquisition task; and adding the target information into a target document corresponding to the target information acquisition task through a first API interface. The application is applied to the scene of acquiring information from a server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an information acquisition method, apparatus, device, and storage medium. Background Technology

[0002] With the continuous development of network technology, front-end staff of telecom operators need to interact with back-end servers, specifically including information transfer between back-end systems, such as querying network device status, querying network data, and submitting requests to modify settings. Currently, these tasks are accomplished by having specialized operations and maintenance (O&M) personnel in the back-end. When these personnel receive a request from the front-end staff, they first identify the type of problem, determine which category the request corresponds to, and then perform different operations based on the specific problem. The results are then fed back to the front-end staff.

[0003] In the methods described above, many routine information exchanges require constant handling by operations and maintenance personnel, resulting in fragmented information feedback and hindering the focused and continuous completion of a large amount of work, significantly reducing the efficiency of solving in-depth problems. Furthermore, repetitive and mechanical tasks are susceptible to human error and prolonged delays. Therefore, the current efficiency of information exchange between front-end staff and back-end servers in telecom operators is relatively low. Summary of the Invention

[0004] This application provides an information acquisition method, apparatus, device, and storage medium to improve the efficiency of information interaction between front-end staff and back-end servers of operators.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] Firstly, an information acquisition method is provided, comprising: acquiring multiple information acquisition tasks from multiple documents, each document corresponding to a task type, and each document including at least one information acquisition task; for a target information acquisition task among the multiple information acquisition tasks, determining a virtual machine identifier and a project identifier corresponding to the target information acquisition task, wherein the target information acquisition task is any one of the multiple information acquisition tasks, and the project identifier is used to indicate the task type corresponding to the target information acquisition task; executing the target information acquisition task through a target program in a target virtual machine corresponding to the virtual machine identifier, and acquiring the target information corresponding to the target information acquisition task; and adding the target information to the target document corresponding to the target information acquisition task through a first API interface.

[0007] In one possible implementation, for a target information acquisition task among multiple information acquisition tasks, the virtual machine identifier and project identifier corresponding to the target information acquisition task are determined, including: determining the identifier of the target document corresponding to the target information acquisition task, wherein the identifier of the target document is used to indicate the task type corresponding to the target document, and each task type corresponds to a virtual machine identifier and a project identifier; and determining the virtual machine identifier and project identifier corresponding to the target information acquisition task based on the identifier of the target document.

[0008] In one possible implementation, before the target program in the target virtual machine corresponding to the virtual machine identifier executes the target information acquisition task, the method further includes: determining the target virtual machine for executing the target information acquisition task based on the virtual machine identifier, and determining the target program for executing the target information acquisition task based on the project identifier.

[0009] In one possible implementation, before retrieving multiple information retrieval tasks from multiple documents, the method further includes: adding multiple information retrieval tasks to multiple pre-created documents based on information input by the target user, wherein the target user is a user who is allowed to access multiple documents in advance through a second API interface; and determining the execution status of each information retrieval task in the multiple information retrieval tasks as a task to be executed based on the setting parameters input by the target user.

[0010] Secondly, an information acquisition device is provided, comprising: an acquisition unit, a determination unit, and a processing unit; the acquisition unit is configured to acquire multiple information acquisition tasks from multiple documents, each document corresponding to a task type, and each document including at least one information acquisition task; the determination unit is configured to determine, for a target information acquisition task among the multiple information acquisition tasks, a virtual machine identifier and a project identifier corresponding to the target information acquisition task, wherein the target information acquisition task is any one of the multiple information acquisition tasks, and the project identifier is used to indicate the task type corresponding to the target information acquisition task; the processing unit is configured to execute the target information acquisition task through a target program in a target virtual machine corresponding to the virtual machine identifier, and acquire the target information corresponding to the target information acquisition task; the processing unit is further configured to add the target information to the target document corresponding to the target information acquisition task through a first API interface.

[0011] In one possible implementation, the determining unit is further configured to determine the identifier of the target document corresponding to the target information acquisition task, wherein the identifier of the target document is used to indicate the task type corresponding to the target document, and each task type corresponds to a virtual machine identifier and a project identifier; the determining unit is further configured to determine the virtual machine identifier and project identifier corresponding to the target information acquisition task based on the identifier of the target document.

[0012] In one possible implementation, the determining unit is further configured to determine the target virtual machine for performing the target information acquisition task based on the virtual machine identifier, and to determine the target program for performing the target information acquisition task based on the project identifier.

[0013] In one possible implementation, the processing unit is further configured to add multiple information retrieval tasks to multiple pre-created documents based on information input by the target user, wherein the target user is a user who is allowed to access multiple documents in advance through a second API interface; the determining unit is further configured to determine the execution status of each information retrieval task in the multiple information retrieval tasks as a task to be executed based on the setting parameters input by the target user.

[0014] Thirdly, an electronic device includes a processor and a memory; wherein the memory stores one or more programs, the one or more programs including computer-executable instructions, and when the electronic device is running, the processor executes the computer-executable instructions stored in the memory to cause the electronic device to perform an information acquisition method as described in the first aspect.

[0015] Fourthly, a computer-readable storage medium is provided for storing one or more programs, the one or more programs including instructions that, when executed by a computer, cause the computer to perform an information acquisition method as described in the first aspect.

[0016] This application provides an information acquisition method, apparatus, device, and storage medium applied to scenarios involving information retrieval from a server. When it is necessary to retrieve target information from a server, the server can retrieve information retrieval tasks of various task types from multiple documents containing multiple information retrieval tasks. For the target information retrieval task among the multiple information retrieval tasks, the server determines the virtual machine identifier and project identifier corresponding to the target information retrieval task. The target program in the target virtual machine corresponding to the virtual machine identifier executes the target information retrieval task and retrieves the target information corresponding to the target information retrieval task. Finally, the target information is added to the target document corresponding to the target information retrieval task through a first API interface, thus achieving the retrieval of the target information. Using this method, when it is necessary to retrieve target information from the server, the task for retrieving target information can be added to the corresponding document. The server can then retrieve the corresponding information based on the information retrieval tasks included in the document and add it to the corresponding document for user viewing. This eliminates the need for maintenance personnel to manually retrieve the required information from the server, thereby improving the efficiency of information retrieval from the server. Attached Figure Description

[0017] Figure 1 A schematic diagram of an information acquisition system structure provided for an embodiment of this application;

[0018] Figure 2A flowchart illustrating an information acquisition method provided in an embodiment of this application. Figure 1 ;

[0019] Figure 3 A flowchart illustrating an information acquisition method provided in an embodiment of this application. Figure 2 ;

[0020] Figure 4 A flowchart illustrating an information acquisition method provided in an embodiment of this application. Figure 3 ;

[0021] Figure 5 A flowchart illustrating an information acquisition method provided in an embodiment of this application. Figure 4 ;

[0022] Figure 6 A schematic diagram of a document-based information interaction and process automation program system structure provided for embodiments of this application;

[0023] Figure 7 A flowchart illustrating an information acquisition method provided in an embodiment of this application. Figure 5 ;

[0024] Figure 8 A schematic diagram of an information acquisition device provided for an embodiment of this application;

[0025] Figure 9 This is a schematic diagram of an electronic device structure provided for an embodiment of this application. Detailed Implementation

[0026] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0027] In the description of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" and "multiple" refer to two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.

[0028] Currently, when front-end staff need to retrieve information from the back-end server, specialized operations and maintenance (O&M) personnel are required in the back-end. Upon receiving a request from the front-end staff, the O&M personnel first identify the type of problem, determine the relevant issue, and then perform different operations accordingly. The results are then relayed back to the front-end staff. Specifically, the information exchange between front-end staff and back-end O&M personnel is achieved through chat software. However, chat software does not provide application programming interfaces (APIs) for secondary development, and developing secondary applications from the lower levels is quite difficult. Although various third-party information exchange robots are available on the market, due to concerns about enterprise information security and stability, companies handling confidential information cannot use them.

[0029] This application provides an information acquisition method that addresses the problem of front-end and back-end information interaction by using automated programs to free up back-end maintenance personnel, solving the problems of inefficiency in manual operation and liberating productivity. The system is designed and written in Go language, and the program system automates data query and simplified operation, and uses corresponding interfaces to realize information interaction between the front-end and back-end.

[0030] The information acquisition method provided in this application embodiment can be applied to information acquisition systems. Figure 1 A schematic diagram of one structure of this information acquisition system is shown. For example... Figure 1 As shown, the information acquisition system 20 includes an electronic device 21 and a server 22. Information exchange occurs between the electronic device 21 and the server 22.

[0031] Electronic device 21 can be used in the Internet of Things. Users can add multiple information acquisition tasks to multiple pre-created documents through electronic device 21, and determine the execution status of each information acquisition task as a task to be executed by setting parameters.

[0032] Server 22 can be used for the Internet of Things to obtain multiple information acquisition tasks from multiple documents. For the target information acquisition task among the multiple information acquisition tasks, it determines the virtual machine identifier and project identifier corresponding to the target information acquisition task, so as to execute the target information acquisition task through the target program in the target virtual machine corresponding to the virtual machine identifier and obtain the target information corresponding to the target information acquisition task; thereby adding the target information to the target document corresponding to the target information acquisition task through the first API interface.

[0033] The following description, in conjunction with the accompanying drawings, describes an information acquisition method provided by an embodiment of this application. For example... Figure 2As shown in the embodiment of this application, an information acquisition method is applied to a server, and the method includes S201-S204:

[0034] S201, Task of obtaining multiple pieces of information from multiple documents.

[0035] Each of the multiple documents corresponds to a task type, and each document includes at least one information retrieval task.

[0036] Optionally, the above documents are documents created by the target application. Users can add information retrieval tasks to the corresponding documents according to the type of information they need to obtain.

[0037] Optionally, the server can retrieve multiple documents and parse them to extract multiple information retrieval tasks from the documents.

[0038] For example, the aforementioned documents may include: a wireless alarm query instruction table, a wireless device status query instruction table, a core network user data query instruction table, a bearer line ring query instruction table, and an access network OLT device query instruction table. Each document may include at least one information acquisition task corresponding to the task type.

[0039] S202. For the target information acquisition task among multiple information acquisition tasks, determine the virtual machine identifier and project identifier corresponding to the target information acquisition task.

[0040] Among them, the target information acquisition task is any one of multiple information acquisition tasks, and the project identifier is used to indicate the task type corresponding to the target information acquisition task.

[0041] Optionally, for any information acquisition task (i.e., the target information acquisition task) among multiple information acquisition tasks, the corresponding virtual machine identifier and project identifier can be determined according to the task type of that information acquisition task.

[0042] S203. Execute the target information acquisition task by the target program in the target virtual machine corresponding to the virtual machine identifier, and acquire the target information corresponding to the target information acquisition task.

[0043] For example, when the task type for obtaining target information is determined to be wireless alarm query, automation can be used to first log in to the main device, then log in to the corresponding virtual machine based on the virtual machine identifier, and then enter the corresponding command to query user data in the corresponding network management interface. Data information is then automatically crawled from the content box, and after obtaining the data, the user's target speed limit data is automatically extracted, thereby determining whether the user has been speed-limited, resulting in slow internet access. Similarly, each task type corresponds to a processing module, and different processing methods yield different results. The selection of which module to execute depends on the pre-defined processing module for each task type.

[0044] S204. Add the target information to the target document corresponding to the target information acquisition task through the first API interface.

[0045] Optionally, the server can use web crawlers or other methods to obtain the target information and then feed it back to the corresponding target document through the first application programming interface (API), thereby achieving a closed-loop information acquisition effect.

[0046] Optionally, the first API interface mentioned above can be the online form (Sheet) API interface corresponding to the target application. Updating document content through the Sheet API interface can achieve real-time feedback of information.

[0047] Optionally, after the server adds the target information to the target document corresponding to the target information retrieval task, the user can obtain the required target information by viewing the target document.

[0048] This application provides an information retrieval method applied to scenarios involving information retrieval from a server. When it is necessary to retrieve target information from a server, the server can retrieve information retrieval tasks of various task types from multiple documents containing multiple information retrieval tasks. For the target information retrieval task among the multiple information retrieval tasks, the server determines the virtual machine identifier and project identifier corresponding to the target information retrieval task. The target program in the target virtual machine corresponding to the virtual machine identifier executes the target information retrieval task and retrieves the target information corresponding to the target information retrieval task. Finally, the target information is added to the target document corresponding to the target information retrieval task through a first API interface, thus achieving the retrieval of the target information. Using this method, when it is necessary to retrieve target information from the server, the task for retrieving target information can be added to the corresponding document. The server can then retrieve the corresponding information based on the information retrieval tasks included in the document and add it to the corresponding document for user viewing. This eliminates the need for maintenance personnel to manually retrieve the required information from the server, thereby improving the efficiency of information retrieval from the server.

[0049] In a design, such as Figure 3 As shown, in the information acquisition method provided in this application embodiment, the method in step S202 above may specifically include steps S301-S302:

[0050] S301. Determine the identifier of the target document corresponding to the target information acquisition task.

[0051] The target document identifier is used to indicate the task type corresponding to the target document. Each task type corresponds to a virtual machine identifier and a project identifier.

[0052] Optionally, the server can obtain the target document corresponding to the task based on the target information, determine the identifier of the target document, and thus determine the task type corresponding to the target document.

[0053] For example, as shown in Table 1, the target document includes multiple information acquisition tasks. The identifier of the target document is the name of the target document (Wireless Alarm Query Indication Table), thereby determining that the task type of the multiple information acquisition tasks included in the target document is wireless alarm query.

[0054] Table 1

[0055]

[0056] S302. Determine the virtual machine identifier and project identifier corresponding to the target information acquisition task based on the identifier of the target document.

[0057] Optionally, after determining the identifier of the target document, the virtual machine identifier and project identifier corresponding to the target information acquisition task can be determined based on a pre-determined correspondence table between the document identifier, virtual machine identifier, and project identifier.

[0058] For example, as shown in Table 2, the virtual machine identifier and project identifier for each task type are shown in various task types.

[0059] Among them, the virtual machine identifier corresponding to wireless alarm query is 1 and the project identifier is 8076; the virtual machine identifier corresponding to wireless device status query is 1 and the project identifier is 8057; the virtual machine identifier corresponding to core network user data query is 3 and the project identifier is 9415; the virtual machine identifier corresponding to bearer line ring query is 2 and the project identifier is 7456; and the virtual machine identifier corresponding to access network OLT device query is 4 and the project identifier is 6587.

[0060] Table 2

[0061] Wireless alarm query 8076 1 Wireless device status query 8057 1 Core network user data query 9415 3 Ring-shaped query of carrying lines 7456 2 Access Network OLT Device Query 6587 4

[0062] In a design, such as Figure 4 As shown, in an information acquisition method provided in this application embodiment, before the method in step S203 above, it may further include S401:

[0063] S401. Determine the target virtual machine for executing the target information acquisition task based on the virtual machine identifier, and determine the target program for executing the target information acquisition task based on the project identifier.

[0064] Optionally, after determining the virtual machine identifier and project identifier corresponding to the target information acquisition task, the server can assign the target information acquisition task to the corresponding target virtual machine for execution, and determine the target program for executing the target information acquisition task from multiple programs corresponding to the target virtual machine, so as to execute the target information acquisition task through the target program in the target virtual machine.

[0065] In a design, such as Figure 5 As shown, in an information acquisition method provided in this application embodiment, before the method in step S201 above, it may further include S501-S502:

[0066] S501. Based on the information input by the target user, add multiple information retrieval tasks to multiple pre-created documents.

[0067] The target users are those who are pre-configured through the second API interface and are allowed access to multiple documents.

[0068] Optionally, when a user needs to retrieve information from the server, they can add information retrieval tasks to multiple pre-created documents, so that the server can automatically retrieve and execute the information retrieval tasks and return the corresponding information in the documents.

[0069] Optionally, the target document can be used by multiple user schemes, allowing multiple users to add information retrieval tasks to multiple documents separately.

[0070] Optionally, user access permissions for multiple documents can be pre-set via the second API interface to add or remove users allowed to access multiple documents, thereby ensuring the security of multiple documents.

[0071] Optionally, the second API interface can be the file management (Drive) API interface corresponding to the target application.

[0072] Optionally, across multiple documents, relevant information can be extracted by searching for keywords within the content.

[0073] For example, a user (such as a front desk staff member) can use a target application to find the desired target document from multiple documents and fill in the information to be queried or manipulated in the target document. By selecting "Yes" at the "Execute?" option, the server can assign and execute the information retrieval task.

[0074] S502. Based on the setting parameters input by the target user, determine the execution status of each information acquisition task in the multiple information acquisition tasks as a task to be executed.

[0075] For example, as shown in Table 1, users can also set the execution status of each information acquisition task to a pending task, that is, the information corresponding to "whether to execute" for each information acquisition task in Table 1 is "yes".

[0076] Optional, such as Figure 6 As shown, the server may include a document-based information interaction and process automation system. This system may include a document information interaction module and an automated operation library management module. The document information interaction module can connect to the online document content based on the data processing API interface corresponding to the document. Then, based on the content completion rate and feedback status, data is extracted for decision tree analysis. The automated operation library management module can generate fixed instruction information based on the data information provided by the document information interaction module, corresponding to pre-packaged operation packages, and execute different automated operations according to different feedback requirements. Examples include querying certain data or performing certain actions. After the task is completed, the information is fed back to the document (i.e., the content in the document is modified).

[0077] Optionally, the document-based information interaction and workflow automation system can be a system platform built using the Go programming language. It can utilize the Drive API interface corresponding to the document to set user access permissions, add and delete collaborating members, control basic document security, and perform keyword searches to extract relevant information. Furthermore, it can update document content through the Sheet API interface corresponding to the document, enabling real-time feedback on information retrieval results.

[0078] For example, such as Figure 7As shown, taking wireless device status query as an example, after the server obtains the wireless device status query information retrieval task from multiple documents through the document information interaction module, it can select the corresponding virtual machine (e.g., virtual machine 1) through the automated operation library management module, and execute the information retrieval task through operation 1 (i.e., the program corresponding to the information retrieval task) in the virtual machine. After obtaining the required information, it feeds the information back to the document through the document information interaction module. Specifically, the server can first log in to the main device automatically, then log in to the corresponding virtual machine according to the virtual machine identifier, and then enter the corresponding command to query user data in the corresponding network management interface. Then, it automatically crawls data information from the content box, and automatically cleans the user's target speed limit data after obtaining the data, thereby determining whether the user has been speed-limited, resulting in slow internet access. Similarly, each task type corresponds to a processing module, and different results are obtained according to different processing methods. The selection of which module to execute depends on the preset processing module for different task types.

[0079] For example, as shown in Table 3, this is the updated target document obtained after the server feeds back the target information to the target document.

[0080] Table 3

[0081]

[0082] In this embodiment, the document information interaction module can realize a customized automated interaction method, and the automated operation library management module, combined with the instruction library and virtual machine, realizes multi-threaded automated management operations, reducing manpower and material costs and improving operational efficiency and response speed.

[0083] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0084] This application embodiment can divide an information acquisition device into functional modules based on the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0085] Figure 8 This is a schematic diagram of the structure of an information acquisition device provided in an embodiment of this application. Figure 8 As shown, an information acquisition device 40 is used to improve the efficiency of information interaction between front-end staff and back-end servers of operators, for example, for performing... Figure 2 The present invention discloses an information acquisition method. The information acquisition device 40 includes: an acquisition unit 401, a determination unit 402, and a processing unit 403;

[0086] The acquisition unit 401 is used to acquire multiple information acquisition tasks from multiple documents, each document in the multiple documents corresponds to a task type, and each document includes at least one information acquisition task;

[0087] The determining unit 402 is used to determine the virtual machine identifier and project identifier corresponding to the target information acquisition task among multiple information acquisition tasks. The target information acquisition task is any information acquisition task among multiple information acquisition tasks, and the project identifier is used to indicate the task type corresponding to the target information acquisition task.

[0088] The processing unit 403 is used to execute a target information acquisition task in the target program in the target virtual machine corresponding to the virtual machine identifier, and to acquire the target information corresponding to the target information acquisition task;

[0089] The processing unit 403 is also used to add target information to the target document corresponding to the target information acquisition task through the first API interface.

[0090] In one possible implementation, in an information acquisition device 40 provided in this application embodiment, the determining unit 402 is further used to determine the identifier of the target document corresponding to the target information acquisition task. The identifier of the target document is used to indicate the task type corresponding to the target document. Each task type corresponds to a virtual machine identifier and a project identifier.

[0091] The determining unit 402 is also used to determine the virtual machine identifier and project identifier corresponding to the target information acquisition task based on the identifier of the target document.

[0092] In one possible implementation, in an information acquisition device 40 provided in this application embodiment, the determining unit 402 is further configured to determine the target virtual machine for performing the target information acquisition task based on the virtual machine identifier, and to determine the target program for performing the target information acquisition task based on the project identifier.

[0093] In one possible implementation, in an information acquisition device 40 provided in this application embodiment, the processing unit 403 is further configured to add multiple information acquisition tasks to multiple pre-created documents based on information input by the target user, wherein the target user is a user who is allowed to access multiple documents in advance through a second API interface.

[0094] The determining unit 402 is also used to determine the execution status of each information acquisition task in the multiple information acquisition tasks as a task to be executed based on the setting parameters input by the target user.

[0095] In the case of implementing the functions of the integrated modules described above in hardware, this application provides another possible structural diagram of the electronic device involved in the above embodiments. For example... Figure 9 As shown, an electronic device 60 is used to improve the efficiency of information interaction between front-end staff and back-end servers of operators, for example, for performing... Figure 2 The diagram illustrates an information acquisition method. The electronic device 60 includes a processor 601, a memory 602, and a bus 603. The processor 601 and the memory 602 are connected via the bus 603.

[0096] Processor 601 is the control center of the communication device. It can be a single processor or a collective term for multiple processing elements. For example, processor 601 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0097] As one embodiment, processor 601 may include one or more CPUs, for example Figure 9 CPU 0 and CPU 1 are shown in the diagram.

[0098] The memory 602 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0099] In one possible implementation, the memory 602 can exist independently of the processor 601. The memory 602 can be connected to the processor 601 via a bus 603 and is used to store instructions or program code. When the processor 601 calls and executes the instructions or program code stored in the memory 602, it can implement the information acquisition method provided in this application embodiment.

[0100] In another possible implementation, the memory 602 can also be integrated with the processor 601.

[0101] Bus 603 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0102] It should be pointed out that, Figure 9 The structure shown does not constitute a limitation on the electronic device 60. Except... Figure 9 In addition to the components shown, the electronic device 60 may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0103] As an example, combined Figure 8 The functions implemented by the acquisition unit 401, the determination unit 402, and the processing unit 403 in the electronic device are the same as those of the acquisition unit 401, the determination unit 402, and the processing unit 403. Figure 9 The processor 601 in it has the same function.

[0104] Optional, such as Figure 9 As shown, the electronic device 60 provided in this application embodiment may further include a communication interface 604.

[0105] Communication interface 604 is used to connect with other devices via a communication network. This communication network can be Ethernet, a wireless access network, a wireless local area network (WLAN), etc. Communication interface 604 may include a receiving unit for receiving data and a transmitting unit for transmitting data.

[0106] In one design, the communication interface in the electronic device provided in this application embodiment can also be integrated into the processor.

[0107] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0108] This application also provides a computer-readable storage medium storing instructions. When a computer executes these instructions, the computer performs each step of the method flow shown in the above-described method embodiments.

[0109] Embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform an information acquisition method as described in the above method embodiments.

[0110] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disks, optical fibers, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art.

[0111] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside within an application-specific integrated circuit (ASIC).

[0112] In the embodiments of this application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0113] Since the electronic devices, computer-readable storage media, and computer program products in the embodiments of this application can be applied to the above methods, the technical effects they can achieve can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.

[0114] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application.

Claims

1. An information acquisition method, characterized in that, The method includes: Based on the information input by the target user, multiple information retrieval tasks are added to multiple pre-created documents. The target user is a user who is allowed to access the multiple documents in advance through a second API interface. The second API interface includes a file management API interface corresponding to the target application. Based on the setting parameters input by the target user, the execution status of each information acquisition task in the multiple information acquisition tasks is determined as a task to be executed; Multiple information retrieval tasks are obtained from multiple documents, each document of which corresponds to a task type, and each document includes at least one information retrieval task; the multiple documents include: wireless alarm query indication table, wireless device status query indication table, core network user data query indication table, bearer line ring query indication table, and access network OLT device query indication table. For the target information acquisition task among the multiple information acquisition tasks, determine the virtual machine identifier and project identifier corresponding to the target information acquisition task. The target information acquisition task is any information acquisition task among the multiple information acquisition tasks. The project identifier is used to indicate the task type corresponding to the target information acquisition task. The target program in the target virtual machine corresponding to the virtual machine identifier executes the target information acquisition task and acquires the target information corresponding to the target information acquisition task. The target information is added to the target document corresponding to the target information acquisition task through a first API interface, wherein the first API interface includes an online form API interface corresponding to the target application; the step of determining the virtual machine identifier and project identifier corresponding to the target information acquisition task among the multiple information acquisition tasks includes: The identifier of the target document corresponding to the target information acquisition task is determined. The identifier of the target document is used to indicate the task type corresponding to the target document. Each task type corresponds to a virtual machine identifier and a project identifier. The virtual machine identifier and the project identifier corresponding to the target information acquisition task are determined based on the identifier of the target document.

2. The method according to claim 1, characterized in that, Before the target program in the target virtual machine corresponding to the virtual machine identifier executes the target information acquisition task, the method further includes: The target virtual machine that executes the target information acquisition task is determined based on the virtual machine identifier, and the target program that executes the target information acquisition task is determined based on the project identifier.

3. An information acquisition device, characterized in that, The information acquisition device includes: an acquisition unit, a determination unit, and a processing unit; The processing unit is configured to add multiple information retrieval tasks to multiple pre-created documents based on information input by the target user. The target user is a user who is allowed to access the multiple documents in advance through a second API interface. The second API interface includes a file management API interface corresponding to the target application. The determining unit is used to determine the execution status of each information acquisition task in the multiple information acquisition tasks as a task to be executed based on the setting parameters input by the target user. The acquisition unit is used to acquire multiple information acquisition tasks from multiple documents. Each document in the multiple documents corresponds to a task type, and each document includes at least one information acquisition task. The multiple documents include: a wireless alarm query indication table, a wireless device status query indication table, a core network user data query indication table, a bearer line ring query indication table, and an access network OLT device query indication table. The determining unit is further configured to determine, for the target information acquisition task among the multiple information acquisition tasks, a virtual machine identifier and a project identifier corresponding to the target information acquisition task, wherein the target information acquisition task is any information acquisition task among the multiple information acquisition tasks, and the project identifier is used to indicate the task type corresponding to the target information acquisition task; The processing unit is further configured to execute the target information acquisition task through the target program in the target virtual machine corresponding to the virtual machine identifier, and acquire the target information corresponding to the target information acquisition task; The processing unit is further configured to add the target information to the target document corresponding to the target information acquisition task through a first API interface, wherein the first API interface includes an online table API interface corresponding to the target application; The determining unit is further configured to determine the identifier of the target document corresponding to the target information acquisition task, wherein the identifier of the target document is used to indicate the task type corresponding to the target document, and each task type corresponds to a virtual machine identifier and a project identifier; The determining unit is further configured to determine the virtual machine identifier and the project identifier corresponding to the target information acquisition task based on the identifier of the target document.

4. The information acquisition device according to claim 3, characterized in that, The determining unit is further configured to determine the target virtual machine that executes the target information acquisition task based on the virtual machine identifier, and to determine the target program that executes the target information acquisition task based on the project identifier.

5. An electronic device, characterized in that, include: A processor and a memory; wherein the memory is used to store one or more programs, the one or more programs including computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions stored in the memory to cause the electronic device to perform an information acquisition method according to any one of claims 1-2.

6. A computer-readable storage medium for storing one or more programs, characterized in that, The one or more programs include instructions that, when executed by a computer, cause the computer to perform an information acquisition method as described in any one of claims 1-2.

Citation Information

Patent Citations

  • Task processing method and device

    CN109597678A

  • Data collection method, device and equipment and storage medium

    CN111061719A

  • Information acquisition method and device, electronic equipment and computer readable storage medium

    CN114896272A