Data information acquisition method and device, equipment and storage medium

By receiving user request messages, parsing the database key information, and accessing the service registry to obtain the address information of the business modules, the problem of severe service coupling in the bank's distributed office system was solved, achieving efficient acquisition of data information and low coupling and high cohesion of the system.

CN116600011BActive Publication Date: 2026-05-01CHINA CONSTRUCTION BANK +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2023-05-06
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The bank's original distributed office system had a complex structure, resulting in severe service coupling and making it impossible to effectively transform it into a new office product, which affected access to and retrieval of data information.

Method used

By receiving user request messages, parsing the database sharding key information, accessing the service registry, obtaining the first service address information, determining the business module, and feeding back the corresponding data information to the terminal device, service coupling is simplified.

Benefits of technology

It has achieved cost reduction, efficiency improvement, and simplification of the problem of severe service coupling caused by complex structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116600011B_ABST
    Figure CN116600011B_ABST
Patent Text Reader

Abstract

The application provides a data information acquisition method and device, equipment and a storage medium, and relates to the technical field of data information processing. The method receives a user request message, analyzes the user request message to obtain database key information, receives first service address information, determines a business module corresponding to the first service address information according to the first service address information, determines data information corresponding to the user request message according to the business module, and feeds back the data information to a terminal device. By using the technical scheme, the original office system can be simplified to reduce the service coupling and improve the efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Data information acquisition methods, devices, equipment and storage media Technical Field

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

[0002] Currently, new office products have been developed based on the bank's existing office system. However, the existing office system involves some complex distributed platforms that play a very important role in the office process. However, due to the complexity of the distributed platform's structure, it is not conducive to its transformation into the new office product, which in turn makes it impossible to access and obtain data information using the new office system.

[0003] Therefore, there is an urgent need for a data acquisition method that can simplify the calling process of the original office system, which suffers from severe service coupling due to its complex structure, thereby reducing costs and improving efficiency. Summary of the Invention

[0004] This application provides a data information acquisition method, apparatus, device, and storage medium, which can simplify the calling form of the original office system due to the complex structure and serious service coupling, thereby achieving the purpose of reducing costs and improving efficiency.

[0005] Firstly, this application provides a data information acquisition method, the method comprising:

[0006] The system receives user request messages and parses them to obtain database sharding key information; wherein the user request message is sent by a terminal device; and the database sharding key information is used to access the service registry.

[0007] Receive first service address information; wherein, the first service address information is filtered out by the service registry after receiving the database key information;

[0008] Based on the first service address information, the business module corresponding to the first service address information is determined; wherein, the first service address information represents the address information of the accessed business module;

[0009] Based on the business module, determine the data information corresponding to the user request message, and feed the data information back to the terminal device.

[0010] In one example, determining the business module corresponding to the first service address information based on the first service address information includes:

[0011] Based on the first service address information, determine the first application system code corresponding to the first service address information;

[0012] Based on the first application system code, a first application system corresponding to the first application code is determined; wherein, the first application system includes multiple business modules;

[0013] The business module is determined in the first application system.

[0014] In one example, determining the data information corresponding to the user request message based on the business module and feeding the data information back to the terminal device includes:

[0015] Based on the business module, determine the database information associated with the business module;

[0016] The system retrieves the data information corresponding to the user request message from the database and sends the data information back to the terminal device.

[0017] In one example, the first service address information is filtered by the service registry after receiving the database sharding key information, including:

[0018] The first service address information is selected by the service registry center from the second service address information based on the database key information; wherein, the second service address information is pre-stored in the service registry center.

[0019] In one example, after determining the first application system corresponding to the first application code based on the first application system code, the method further includes:

[0020] If the first application system is in an abnormal operating state, an abnormal message is sent to the gateway device;

[0021] The gateway device receives third service address information and determines the second application system code corresponding to the third service address information based on the third service address information; wherein the third service address information is obtained by the gateway device from the service registry center based on the abnormal message.

[0022] Based on the second application system code, determine the second application system corresponding to the second application code.

[0023] In one example, the business modules of the first application system are the same as those of the second application system.

[0024] In one example, different business modules can call each other.

[0025] Secondly, this application provides a data information acquisition device, the device comprising:

[0026] The first receiving unit is used to receive user request messages and parse the user request messages to obtain database sharding key information; wherein, the user request message is sent by a terminal device; and the database sharding key information is used to access the service registry center.

[0027] The second receiving unit is used to receive the first service address information; wherein the first service address information is filtered out by the service registration center after receiving the database key information;

[0028] The first determining unit is configured to determine the business module corresponding to the first service address information based on the first service address information; wherein the first service address information represents the address information of the accessed business module.

[0029] The second determining unit is used to determine the data information corresponding to the user request message according to the business module, and to feed the data information back to the terminal device.

[0030] In one example, the first defined unit includes:

[0031] The first determining module is used to determine the first application system code corresponding to the first service address information based on the first service address information;

[0032] The second determining module is used to determine the first application system corresponding to the first application code based on the first application system code; wherein the first application system includes multiple business modules;

[0033] The third determining module is used to determine the business module in the first application system.

[0034] In one example, the second determining unit includes:

[0035] The fourth determining module is used to determine the database information associated with the business module based on the business module.

[0036] The feedback module is used to obtain data information corresponding to the user request message from the database and feed the data information back to the terminal device.

[0037] In one example, the first service address information is filtered by the service registry after receiving the database sharding key information, including:

[0038] The first service address information is selected by the service registry center from the second service address information based on the database key information; wherein, the second service address information is pre-stored in the service registry center.

[0039] In one example, the device further includes:

[0040] The sending unit is used to send an abnormal message to the gateway device if the first application system is in an abnormal operating state.

[0041] The third receiving unit is configured to receive third service address information and determine the second application system code corresponding to the third service address information based on the third service address information; wherein the third service address information is obtained by the gateway device from the service registration center based on the abnormal message;

[0042] The third determining unit is used to determine the second application system corresponding to the second application code based on the second application system code.

[0043] In one example, the business modules of the first application system are the same as those of the second application system.

[0044] In one example, different business modules can call each other.

[0045] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0046] The memory stores computer-executed instructions;

[0047] The processor executes computer execution instructions stored in the memory to implement the method as described in the first aspect.

[0048] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect.

[0049] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect.

[0050] This application provides a data information acquisition method, apparatus, device, and storage medium. It involves receiving a user request message and parsing the message to obtain database sharding key information. The user request message is sent by a terminal device. The database sharding key information is used to access a service registry. The method includes receiving first service address information, which is selected by the service registry after receiving the database sharding key information. Based on the first service address information, the method determines the business module corresponding to it, where the first service address information represents the address information of the accessed business module. Based on the business module, the method determines data information corresponding to the user request message and feeds this data information back to the terminal device. This technical solution simplifies the complex service coupling of traditional office systems, thereby reducing costs and improving efficiency. Attached Figure Description

[0051] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0052] Figure 1a is a flowchart illustrating a data information acquisition method according to Embodiment 1 of this application;

[0053] Figure 1b is a schematic diagram of the interaction between a terminal device, a gateway device, and a service registration center according to Embodiment 1 of this application;

[0054] Figure 2a is a flowchart illustrating a data information acquisition method according to Embodiment 2 of this application;

[0055] Figure 2b is a schematic diagram of a calling process between business modules according to Embodiment 2 of this application;

[0056] Figure 3 is a schematic diagram of a data information acquisition device according to Embodiment 3 of this application;

[0057] Figure 4 is a schematic diagram of a data information acquisition device according to Embodiment 4 of this application;

[0058] Figure 5 is a block diagram illustrating an electronic device according to an exemplary embodiment.

[0059] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0060] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0061] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0062] Figure 1a is a schematic flowchart of a data information acquisition method according to Embodiment 1 of this application. Embodiment 1 includes the following steps:

[0063] S101. Receive user request messages and parse them to obtain database sharding key information; wherein, the user request message is sent by the terminal device; the database sharding key information is used to access the service registry center.

[0064] In one example, the terminal device can be a computer, tablet, or mobile phone. The executing entity in this implementation is a gateway device, which can be Zuul.

[0065] Zuul is a server that provides services such as dynamic routing, monitoring, and resilient security. Zuul acts as a bridge between end devices and application systems. Zookeeper, the service registry, is a distributed, open-source application that provides consistency services for distributed applications, including configuration management and distributed synchronization.

[0066] Gateway devices can access the service registry center through sharding key information. After receiving a user request message from a terminal device, the gateway device parses the user request message, extracts the sharding key information, and sends the sharding key information to the service registry center for processing.

[0067] S102. Receive the first service address information; wherein, the first service address information is selected by the service registry center after receiving the database key information.

[0068] In this embodiment, after receiving the database sharding key information, the service registration center analyzes the database sharding key information to obtain the region code and the first service address information. The region code indicates the region accessed by the user request message. For example, if the region code is 000, where 000 represents the Hebei region, it means that the user request message is requesting access to the business module in the Hebei region.

[0069] S103. Determine the business module corresponding to the first service address information based on the first service address information; wherein, the first service address information represents the address information of the accessed business module.

[0070] In this embodiment, the business module can be a document sending module, a document receiving module, and a receipt module. Those skilled in the art should understand that the types of business modules are not limited to those listed above; this embodiment only provides a simple example. Furthermore, the document sending module is used to send email information, and the document receiving module is used to receive email information. For example, if the business module corresponding to the first service address information is a document sending module for the Hebei region, then a document sending module for the Hebei region is determined.

[0071] S104. Based on the business module, determine the data information corresponding to the user request message and feed the data information back to the terminal device.

[0072] In this embodiment, different business modules acquire different data information. When the gateway device acquires the data information corresponding to the business module, it feeds the data information back to the terminal device.

[0073] To better illustrate this, Figure 1b shows a schematic diagram of the interaction between a terminal device, a gateway device, and a service registry. Specifically, the steps are as follows:

[0074] S10. The terminal device sends a user request message to the gateway device.

[0075] S20. The gateway device parses the user request message to obtain the database sharding key information.

[0076] S30, the gateway device sends the database partitioning key information to the service registration center.

[0077] S40. After receiving the database key information, the service registration center filters out the first service address information.

[0078] S50, the service registration center sends the first service address information to the gateway device.

[0079] S60. The gateway device determines the data information corresponding to the user request message based on the first service address information.

[0080] The S70 gateway device feeds back data information to the terminal device.

[0081] This application provides a data information acquisition method that receives a user request message and parses the message to obtain database sharding key information. The user request message is sent by a terminal device. The database sharding key information is used to access a service registry. The method involves receiving first service address information, which is selected by the service registry after receiving the database sharding key information. Based on the first service address information, the method determines the business module corresponding to it, where the first service address information represents the address information of the accessed business module. Based on the business module, the method determines data information corresponding to the user request message and feeds this data information back to the terminal device. This technical solution simplifies the complex service coupling issues inherent in traditional office systems, thereby reducing costs and improving efficiency.

[0082] Figure 2a is a schematic flowchart of a data information acquisition method according to Embodiment 2 of this application. Embodiment 2 includes the following steps:

[0083] S201. Receive a user request message and parse the user request message to obtain the database sharding key information; wherein, the user request message is sent by the terminal device; the database sharding key information is used to access the service registry center.

[0084] For example, this step can refer to step S101 above, and will not be repeated here.

[0085] S202. Receive first service address information; wherein the first service address information is selected by the service registration center from the second service address information based on the database key information; wherein the second service address information is pre-stored in the service registration center.

[0086] In this embodiment, the second service address information is pre-registered in the service registry by the business module, smart form, and object storage, and the second service address information is a preset number of address information tables. After the service registry receives the database sharding key information, it filters out the target service address information from the second service address information and uses the target service address information as the first service address information.

[0087] S203. Determine the first application system code corresponding to the first service address information based on the first service address information.

[0088] In this embodiment, the first application system code can be AAA. Therefore, after obtaining AAA, the first application system can be accurately located. Specifically, the first application system code can be found in a preset position within the first service address information.

[0089] In one example, after determining the first application system corresponding to the first application code based on the first application system code, the process further includes:

[0090] If the first application system is in an abnormal operating state, an abnormal message is sent to the gateway device;

[0091] The gateway device receives third service address information and determines the second application system code corresponding to the third service address information based on the third service address information; wherein, the third service address information is obtained by the gateway device from the service registry center based on the abnormal message;

[0092] Based on the second application system code, determine the second application system corresponding to the second application code.

[0093] In one example, the business modules of the first application system are the same as those of the second application system.

[0094] In this embodiment, if the first application system experiences an abnormal operating status, such as being corrupted or overloaded, an error message is sent to the gateway device. The gateway device then retrieves the third service address information from the service registry. This third service address information corresponds to the second application system code, and the second application system is the same as the first application system. The gateway device then determines the second application system code corresponding to the third service address information and locates the second application system among multiple application systems based on this code.

[0095] Furthermore, the service registry can also determine the third service address information from the second service address information based on the load information. The load information indicates the operational status of multiple application systems that are identical to the first application system.

[0096] S204. Determine the first application system corresponding to the first application code based on the first application system code; wherein, the first application system includes multiple business modules.

[0097] For example, the first application system is first determined based on the first application system code, and then each business module is traversed in the first application system.

[0098] S205. Determine the business modules in the first application system.

[0099] In this embodiment, the business module is determined in the first application system by a preset bit in the first application system code. For example, the first application system code is A00H, and the fourth bit represents the code of the business module.

[0100] S206. Based on the business module, determine the database information associated with the business module.

[0101] In one example, different business modules can call each other.

[0102] In this embodiment, different business modules correspond to different database information. For example, business module A corresponds to database information A, and business module B corresponds to database information B. For better illustration, please refer to Figure 2b, which shows a schematic diagram of a calling process between business modules. In this embodiment, if business module A needs to call business module B, when triggered, business module A retrieves the service address information table associated with itself from the service registry and stores it in the database information corresponding to business module A. Since business module A needs to call business module B, it retrieves the fourth service address information corresponding to business module B from the database information corresponding to business module A.

[0103] S207. Obtain the data information corresponding to the user request message from the database and send the data information back to the terminal device.

[0104] In this embodiment, if the business module is identified as A, it can access the A database information and find the content corresponding to the user request message in the A database information. The data information related to the content is then fed back to the terminal device, which is the device that initiated the user request message.

[0105] This application provides a data information acquisition method that, based on a first service address, determines the first application system code corresponding to the first service address, identifies the first application system corresponding to the first application system code, determines the business module within the first application system, determines the database information associated with the business module, retrieves the data information corresponding to the user request message from the database, and feeds the data information back to the terminal device. This technical solution achieves precise separation of users and services, ensuring that each group of application systems is independent and does not affect each other, thus achieving the goal of low coupling and high cohesion between system services.

[0106] Figure 3 is a schematic diagram of a data information acquisition device according to Embodiment 3 of this application. Specifically, the device 30 in Embodiment 3 includes:

[0107] The first receiving unit 301 is used to receive user request messages and parse the user request messages to obtain database sharding key information; wherein, the user request message is sent by the terminal device; and the database sharding key information is used to access the service registry center.

[0108] The second receiving unit 302 is used to receive the first service address information; wherein the first service address information is selected by the service registration center after receiving the database key information.

[0109] The first determining unit 303 is used to determine the business module corresponding to the first service address information based on the first service address information; wherein the first service address information represents the address information of the accessed business module.

[0110] The second determining unit 304 is used to determine the data information corresponding to the user request message according to the business module, and to feed the data information back to the terminal device.

[0111] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0112] Figure 4 is a schematic diagram of a data information acquisition device according to Embodiment 4 of this application. Specifically, the device 40 in Embodiment 4 includes:

[0113] The first receiving unit 401 is used to receive user request messages and parse the user request messages to obtain database sharding key information; wherein, the user request message is sent by the terminal device; and the database sharding key information is used to access the service registry center.

[0114] The second receiving unit 402 is used to receive the first service address information; wherein the first service address information is selected by the service registration center after receiving the database key information.

[0115] The first determining unit 403 is used to determine the business module corresponding to the first service address information based on the first service address information; wherein the first service address information represents the address information of the accessed business module.

[0116] The second determining unit 404 is used to determine the data information corresponding to the user request message according to the business module, and to feed the data information back to the terminal device.

[0117] In one example, the first determining unit 403 includes:

[0118] The first determining module 4031 is used to determine the first application system code corresponding to the first service address information based on the first service address information.

[0119] The second determining module 4032 is used to determine the first application system corresponding to the first application code based on the first application system code; wherein the first application system includes multiple business modules.

[0120] The third determining module 4033 is used to determine the business module in the first application system.

[0121] In one example, the second determining unit 404 includes:

[0122] The fourth determination module 4041 is used to determine the database information associated with the business module based on the business module.

[0123] Feedback module 4042 is used to retrieve data information corresponding to user request messages from the database and feed the data information back to the terminal device.

[0124] In one example, the first service address information is filtered by the service registry after receiving the sharding key information, and includes:

[0125] The first service address information is selected by the service registry center from the second service address information based on the database key information; the second service address information is pre-stored in the service registry center.

[0126] In one example, device 40 further includes:

[0127] The sending unit 405 is used to send an exception message to the gateway device if the first application system is in an abnormal operating state.

[0128] The third receiving unit 406 is used to receive the third service address information and determine the second application system code corresponding to the third service address information based on the third service address information; wherein, the third service address information is obtained by the gateway device from the service registration center based on the abnormal message.

[0129] The third determining unit 407 is used to determine the second application system corresponding to the second application code based on the second application system code.

[0130] In one example, the business modules of the first application system are the same as those of the second application system.

[0131] In one example, different business modules can call each other.

[0132] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0133] Figure 5 is a block diagram illustrating an electronic device according to an exemplary embodiment. The device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0134] The device 500 may include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.

[0135] Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.

[0136] Memory 504 is configured to store various types of data to support the operation of device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0137] Power supply component 506 provides power to various components of device 500. Power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 500.

[0138] Multimedia component 508 includes a screen that provides an output interface between device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0139] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.

[0140] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0141] Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500. For example, sensor assembly 514 may detect the on / off state of device 500, the relative positioning of components such as the display and keypad of device 500, changes in the position of device 500 or a component of device 500, the presence or absence of user contact with device 500, the orientation or acceleration / deceleration of device 500, and temperature changes of device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0142] Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices. Device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0143] In an exemplary embodiment, the apparatus 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0144] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by a processor 520 of the device 500 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0145] A non-transitory computer-readable storage medium, wherein when the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is able to perform a data information acquisition method of the electronic device.

[0146] This application also discloses a computer program product, including a computer program that, when executed by a processor, implements the data information acquisition method as described in this embodiment.

[0147] Various embodiments of the systems and technologies described above in this application can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0148] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or electronic device.

[0149] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0150] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0151] The systems and technologies described herein can be implemented in computing systems that include back-end components (e.g., as data electronic devices), or computing systems that include middleware components (e.g., application electronic devices), or computing systems that include front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0152] Computer systems can include client and electronic devices. Clients and electronic devices are generally geographically separated and typically interact via communication networks. The client-electronic device relationship is created by computer programs running on the respective computers and having a client-electronic device relationship with each other. The electronic device can be a cloud electronic device, also known as a cloud computing electronic device or cloud host, a host product within the cloud computing service system, addressing the shortcomings of traditional physical hosts and VPS services ("Virtual Private Server," or simply "VPS") in terms of management difficulty and weak business scalability. The electronic device can also be an electronic device in a distributed system or an electronic device incorporating blockchain technology. It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application is achieved, and this is not limited herein.

[0153] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0154] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for acquiring data information, characterized in that, The method includes: receiving a user request message and parsing the user request message to obtain database sharding key information; wherein the user request message is sent by a terminal device; the database sharding key information is used to access a service registry center, and the database sharding key information includes address information and a region code for database sharding access; receiving first service address information; wherein the first service address information is filtered by the service registry center after receiving the database sharding key information, and the first service address information is associated with an application system code; determining the business module corresponding to the region of the first service address information based on the first service address information and the region code; wherein the first service address information represents the address information of the accessed business module; determining the database information associated with the business module based on the business module; obtaining data information corresponding to the user request message from the database, and feeding the data information back to the terminal device; wherein different business modules support mutual calls, different business modules correspond to different database information, when calling a business module, obtaining a service address information table associated with the business module from the service registry center, and storing the service address information associated with the business module in the database information corresponding to the business module, based on... The process involves obtaining the fourth service address information of the business module called from the database information corresponding to the business module; determining the business module corresponding to the first service address information based on the first service address information includes: determining the first application system code corresponding to the first service address information based on the first service address information; determining the first application system corresponding to the first application system code based on the first application system code; wherein, the first application system includes multiple business modules; determining the business module in the first application system by using a preset bit of the first application system code; after determining the first application system corresponding to the first application system code based on the first application system code, the process further includes: if the operating status of the first application system is abnormal, sending an abnormal message to the gateway device; receiving third service address information and determining the second application system code corresponding to the third service address information based on the third service address information; wherein, the third service address information is obtained by the gateway device from the service registration center based on the abnormal message; determining the second application system corresponding to the second application system code based on the second application system code; the business modules of the first application system and the second application system are the same.

2. The method according to claim 1, characterized in that, The first service address information is filtered by the service registry after receiving the database key information, including: the first service address information is filtered by the service registry from the second service address information based on the database key information; wherein, the second service address information is pre-stored in the service registry.

3. A data information acquisition device, characterized in that, The apparatus includes: a first receiving unit, configured to receive a user request message and parse the user request message to obtain database sharding key information; wherein the user request message is sent by a terminal device; the database sharding key information is used to access a service registry center, and the database sharding key information includes address information and a region code for database sharding access; a second receiving unit, configured to receive first service address information; wherein the first service address information is filtered by the service registry center after receiving the database sharding key information, and the first service address information is associated with an application system code; a first determining unit, configured to determine the business module corresponding to the region of the first service address information based on the first service address information and the region code; wherein the first service address information represents the address information of the accessed business module; a second determining unit, configured to determine the database information associated with the business module based on the business module; obtain data information corresponding to the user request message from the database, and feed the data information back to the terminal device; wherein different business modules support mutual calls, different business modules correspond to different database information, and when a business module is called, the service address information associated with the business module is obtained from the service registry center. The table is used to store the service address information associated with the business module in the database information corresponding to the business module, and to obtain the fourth service address information of the called business module based on the database information corresponding to the business module; the first determining unit is specifically used to determine the first application system code corresponding to the first service address information according to the first service address information; and to determine the first application system corresponding to the first application system code according to the first application system code; wherein, the first application system includes multiple business modules; and to determine the business module in the first application system by a preset bit of the first application system code; the sending unit is used to send an abnormal message to the gateway device if the running status of the first application system is abnormal; the third receiving unit is used to receive the third service address information and determine the second application system code corresponding to the third service address information according to the third service address information; wherein, the third service address information is obtained by the gateway device from the service registration center according to the abnormal message; the third determining unit is used to determine the second application system corresponding to the second application system code according to the second application system code; the business module of the first application system is the same as the business module of the second application system.

4. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of claims 1-2.

5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-2.

6. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-2.

Citation Information

Patent Citations

  • Data request connection management method and device, equipment and storage medium

    CN113177179A

  • Load balancing implementation method and device, equipment and storage medium

    CN113934512A

  • Management system, terminal, management method, and storage medium

    CN114900559A