[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111382176A - Information updating method and device - Google Patents

Information updating method and device Download PDF

Info

Publication number
CN111382176A
CN111382176A CN202010131126.8A CN202010131126A CN111382176A CN 111382176 A CN111382176 A CN 111382176A CN 202010131126 A CN202010131126 A CN 202010131126A CN 111382176 A CN111382176 A CN 111382176A
Authority
CN
China
Prior art keywords
service
service request
service type
business
updating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010131126.8A
Other languages
Chinese (zh)
Inventor
陈科
邹斯韬
程榆
汪博
邵小亮
谢隆飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010131126.8A priority Critical patent/CN111382176A/en
Publication of CN111382176A publication Critical patent/CN111382176A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for updating information, and relates to the technical field of computers. One embodiment of the method comprises: acquiring a service request, wherein the service request indicates a service type; according to the service type, increasing the service quantity which is stored in advance and corresponds to the service type; and updating the display information according to the increased business quantity. The embodiment improves the information updating efficiency and improves the real-time property of information updating.

Description

Information updating method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for updating information.
Background
With the development of information technology, more and more management centers or service halls display service data by using data display screens, so that users can visually check statistical results of various service data.
Currently, a data display screen generally obtains data to be displayed by interacting with a database. Specifically, after the server acquires and executes a service request, the data detail corresponding to the service request is recorded in the database. When a data display request sent by the data display screen is received, the server can extract corresponding data details from the database, count the data details, and feed back the statistical result as the data to be displayed to the data display screen, so that the data display screen displays the corresponding statistical result.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in the process of determining the data to be displayed, the server needs to extract detail data related to the data display request from a large amount of data stored in the database, and further perform statistics according to the detail data. When the data volume is large, the efficiency of the statistical process is low, so that the data updating efficiency of the data display screen is low, and the real-time performance is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information updating method and apparatus, when a service request is received, the service quantity of a service type corresponding to the service request is updated in real time, and corresponding display information is updated in time according to the updated service quantity, so that the real-time performance of information updating is ensured, and in the process, interaction with a database is not required, and data corresponding to information to be updated does not need to be extracted from a large amount of data stored in the database, thereby improving the information updating efficiency.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of information updating.
The information updating method of the embodiment of the invention comprises the following steps: acquiring a service request, wherein the service request indicates a service type;
according to the service type, increasing the service quantity which is stored in advance and corresponds to the service type;
and updating the display information according to the increased business quantity.
Alternatively,
the updating the display information according to the increased number of the services includes:
and sending the increased business quantity to a display so that the display updates the displayed display information according to the business quantity.
Alternatively,
the sending the increased number of services to a presenter comprises:
and sending the service quantity to the display through a websocket protocol.
Alternatively,
the step of incrementing the service quantity corresponding to the service type, which is stored in advance, according to the service type includes:
and intercepting the service request through a first service processing engine, and increasing the service quantity corresponding to the service request according to the service type indicated by the service request.
Alternatively,
before the incrementing of the service quantity corresponding to the service request, the method further includes: configuring the first business processing engine and a plurality of business processing logics which can be called by the first business processing engine, wherein the business processing logics respectively correspond to a plurality of business types;
the increasing the number of the services corresponding to the service request includes:
and calling and executing a service processing logic corresponding to the service type according to the service type indicated by the service request through the first service processing engine so as to increase the number of the services.
Alternatively,
and the first business processing engine calls the business processing logic through a dynamic proxy.
Alternatively,
and executing the service request through a second service processing engine, and feeding back an execution result of the service request.
Alternatively,
and storing the number of the service types in a local cache.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an apparatus for updating information.
An information updating apparatus according to an embodiment of the present invention includes: the device comprises an acquisition module, a processing module and an updating module; wherein,
the acquisition module is used for acquiring a service request, and the service request indicates a service type;
the processing module is used for increasing the service quantity which is stored in advance and corresponds to the service type according to the service type;
and the updating module is used for updating the display information according to the increased business quantity.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided an electronic device for information update.
An electronic device for updating information according to an embodiment of the present invention includes: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement a method for information updating according to an embodiment of the present invention.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of an embodiment of the present invention has stored thereon a computer program that, when executed by a processor, implements a method of information updating of an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: after the service request is obtained, the number of services corresponding to the service type is increased according to the service type of the service request, and the display information is updated according to the increased number of services. Therefore, when a service request is received, the service quantity of the service type corresponding to the service request is updated in real time, corresponding display information is updated in time according to the updated service quantity, the real-time performance of information updating is guaranteed, interaction with a database is not needed in the process, data corresponding to the information to be updated does not need to be extracted from a large amount of data stored in the database, and therefore the information updating efficiency is improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram illustrating the main steps of a method for updating information according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the main steps of another information updating method provided according to the embodiment of the invention;
FIG. 3 is a schematic diagram of the main steps of another information updating method provided in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating major blocks of an apparatus for providing information update according to an embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments of the present invention and the technical features of the embodiments may be combined with each other without conflict.
Fig. 1 is a schematic diagram of main steps of a method of information update according to an embodiment of the present invention.
As shown in fig. 1, the method for updating information according to the embodiment of the present invention mainly includes the following steps:
step S101: a service request is obtained, the service request indicating a service type.
In the embodiment of the present invention, the service types corresponding to different service requests may be the same or different. Taking the banking service as an example, when a user applies for hanging up a bank card, the corresponding service type is a loss reporting service, when the user applies for opening an account, the corresponding service type is an account opening service, and when the user applies for reserving withdrawal, the corresponding service type is a reservation service.
Step S102: and according to the service type, increasing the service quantity which is stored in advance and corresponds to the service type.
It is to be understood that the method for updating information provided by the embodiments of the present invention may be implemented by corresponding apparatuses, and for convenience of description, in the following embodiments, an apparatus that can implement the method for updating information is referred to as an information updating apparatus.
Before the method for executing information updating is performed, the service quantity of each service type has its corresponding initial value, for example, when the information updating apparatus is started, the service quantity corresponding to each service type is initialized, the initialized service quantity is the initial value, and then the service quantities corresponding to each service type obtained by initialization can be stored in a local cache, for example, in Redis.
After the service request is obtained, the service request can be intercepted through a first service processing engine, and the number of services corresponding to the service request is increased according to the service type indicated by the service request.
Specifically, before the increment of the service number corresponding to the service request, the first service processing engine and a plurality of service processing logics that can be called by the first service processing engine may be configured in advance, where the plurality of service processing logics correspond to a plurality of service types, respectively; after the first service processing engine intercepts the service request, the first service processing engine can call and execute the service processing logic corresponding to the service type according to the service type indicated by the service request, so as to increase the number of the services.
When the first business processing engine calls the business processing logic, the business processing logic can be called in a dynamic proxy mode. That is, the first business processing engine may invoke the corresponding business processing logic through the proxy class. In configuration, only the service processing logic related to information update may be configured, so that when the service processing logic is executed, only the service number corresponding to the service processing logic is called, and the service number is incremented to implement the update of the service number of the corresponding service type. Wherein the first business processing engine may be an interceptor.
Still taking banking services as an example, the service number corresponding to each service type after initialization is shown in table 1, that is, the initial values of the service numbers corresponding to each service type pre-stored in the cache are all 0.
TABLE 1
Type of service Number of services
Loss of contact 0
Opening an account 0
Appointment 0
When a service request is newly acquired, the first service processing engine intercepts the service request, calls a service processing logic corresponding to a loss reporting service through a proxy class according to a service type (taking the loss reporting service as an example) indicated by the service request, calls the service quantity (0 here) of the loss reporting service stored in a cache when the service processing logic corresponding to the loss reporting service is executed, increases the service quantity to update the service quantity, and stores the updated service quantity in the cache to replace the service quantity corresponding to the service type before updating.
That is, after the service request corresponding to the loss report service is obtained, the service quantity corresponding to each service type stored in the cache is updated from the data shown in table 1 to the data shown in table 2 below:
TABLE 2
Type of service Number of services
Loss of contact 1
Opening an account 0
Appointment 0
By analogy, after a service request corresponding to another loss report service is obtained, the update of the service quantity can be realized in real time again according to the method provided in the above embodiment, and the service quantity corresponding to each service type stored in the cache is updated to the data shown in the following table 3 from the data shown in table 2:
TABLE 3
Figure BDA0002395803020000071
Figure BDA0002395803020000081
Therefore, as shown in fig. 2, the information updating method provided by the embodiment of the present invention may include the following steps:
step S201: configuring the first business processing engine and a plurality of business processing logics which can be called by the first business processing engine, wherein the business processing logics respectively correspond to a plurality of business types.
Step S202: initializing the service quantity corresponding to each service type, and storing the initial value of each initialized service quantity in a local cache.
Step S203: a service request is obtained, the service request indicating a service type.
Step S204: and intercepting the service request by using a first service processing engine, calling a service processing logic corresponding to the service type through a dynamic proxy according to the service type indicated by the service request, and executing the called service processing logic so as to increase the number of the services stored in a local cache.
Step S205: and updating the display information according to the increased business quantity.
In addition, the service request can be executed through a second service processing engine, and the execution result of the service request can be fed back. It can be understood that the step of executing the service request by the second service processing engine and the step of incrementing the service quantity by the first service processing engine may not be in sequence, that is, the process of implementing the increment of the service quantity by the first service processing engine may be performed before the second service processing engine executes the service request, or may be performed after the second service processing engine executes the service request. The first business processing engine may be an interceptor, and the second business processing engine may be a business processor corresponding to a business type. Therefore, the execution process of the service request is decoupled from the incremental process of the service quantity, so that the interaction with a data center is not needed in the data updating process, and only simple calculation is needed in the cache of the information updating device, thereby improving the information updating efficiency.
Step S103: and updating the display information according to the increased business quantity.
In an embodiment of the present invention, the information updating apparatus may send the incremented number of services to a presenter, so that the presenter updates the presented information according to the number of services. In an embodiment of the present invention, the information updating apparatus may send the incremented service quantity to the display through a websocket protocol. In addition, the display can also obtain the increased service quantity from the information updating device through the http protocol.
The display device can be a large-screen display device which is displayed to a user in a service hall, and can also be a large-screen display device which is used for displaying various management data for a management center. Still taking the banking business as an example, the display may be a large display screen for displaying various types of statistical data or monitoring data, for example, the large display screen may display the business quantities of multiple business types respectively corresponding to multiple network points and the statistical data of the business quantity of each network point, so as to facilitate corresponding service resources allocated to the network points according to the business quantities corresponding to different business types in each network point or the statistical data of the business quantities of multiple business types, thereby improving services in a more efficient manner.
For example, when allocating the customer service staff to the network point, the customer service staff with the corresponding service capability may be allocated to the network point according to the ratio of the number of the account opening services of one network point to the number of the reserved services of the network point, for example, when the number of the account opening services of one network point is far less than the number of the reserved services of the network point, the number of the customer service staff with the account opening service capability allocated to the network point will be less than the number of the customer service staff with the reserved service capability.
The displayer can directly display the updated service quantity, and can also display the service quantity or statistical data corresponding to the service quantity in the forms of an airway chart, a thermodynamic diagram or the like. That is, the display information displayed by the display device may be a specific numerical value of the service quantity, or may be an airway map or a thermodynamic diagram.
According to the above embodiment, as shown in fig. 3, the information updating method provided by the embodiment of the present invention may include the following steps:
step S301: a service request is obtained, the service request indicating a service type.
Step S302: and according to the service type, increasing the service quantity which is stored in advance and corresponds to the service type.
Step S303: and sending the increased business quantity to a display through a websocket protocol so that the display updates the displayed display information according to the business quantity.
Therefore, by the information updating method provided by the embodiment of the invention, after the service quantity of the corresponding service type is updated, the service quantity is timely sent to the display through the websocket protocol, so that the display can update the display information of the display in time, and then management personnel can conveniently adjust the corresponding service resource deployment in time according to the updated display information, thereby improving the service processing efficiency and further being beneficial to improving the user experience.
According to the information updating method provided by the embodiment of the invention, after the service request is obtained, the service quantity corresponding to the service type is increased according to the service type of the service request, and the display information is updated according to the increased service quantity. Therefore, when a service request is received, the service quantity of the service type corresponding to the service request is updated in real time, corresponding display information is updated in time according to the updated service quantity, the real-time performance of information updating is guaranteed, interaction with a database is not needed in the process, data corresponding to the information to be updated does not need to be extracted from a large amount of data stored in the database, and therefore the information updating efficiency is improved.
Fig. 4 is a schematic diagram of main blocks of an apparatus for information update according to an embodiment of the present invention.
As shown in fig. 4, the apparatus 400 for updating information according to the embodiment of the present invention includes: an acquisition module 401, a processing module 402 and an update module 403; wherein,
the obtaining module 401 is configured to obtain a service request, where the service request indicates a service type;
the processing module 402 is configured to increment a pre-stored service quantity corresponding to the service type according to the service type;
the updating module 403 is configured to update the display information according to the increased number of services.
In an embodiment of the present invention, the updating module 403 is configured to send the incremented service quantity to a presenter, so that the presenter updates the presented presentation information according to the service quantity.
In an embodiment of the present invention, the update module 403 is configured to send the service quantity to the presenter through a websocket protocol.
In an embodiment of the present invention, the processing module 402 is configured to intercept the service request through a first service processing engine, and increment a service quantity corresponding to the service request according to a service type indicated by the service request.
In an embodiment of the present invention, the processing module 402 is configured to configure the first business processing engine and a plurality of business processing logics that can be called by the first business processing engine, where the plurality of business processing logics respectively correspond to a plurality of business types; and calling and executing a service processing logic corresponding to the service type according to the service type indicated by the service request through the first service processing engine so as to increase the number of the services.
In an embodiment of the present invention, the processing module 402 is configured to enable the first business processing engine to invoke the business processing logic through a dynamic proxy.
In an embodiment of the present invention, the processing module 402 is further configured to enable the second service processing engine to execute the service request, and feed back an execution result of the service request.
In an embodiment of the present invention, the updating module 403 is configured to store the service quantity of the service type in a local cache.
According to the information updating device provided by the embodiment of the invention, after the service request is obtained, the service quantity corresponding to the service type is increased according to the service type of the service request, and the display information is updated according to the increased service quantity. Therefore, when a service request is received, the service quantity of the service type corresponding to the service request is updated in real time, corresponding display information is updated in time according to the updated service quantity, the real-time performance of information updating is guaranteed, interaction with a database is not needed in the process, data corresponding to the information to be updated does not need to be extracted from a large amount of data stored in the database, and therefore the information updating efficiency is improved.
Fig. 5 shows an exemplary system architecture 500 of an information updating method or an information updating apparatus to which an embodiment of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 501, 502, 503. The background management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (e.g., target push information and product information) to the terminal device.
It should be noted that the method for updating information provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the apparatus for updating information is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module, a processing module, and an update module. The names of these modules do not in some cases form a limitation on the module itself, and for example, the acquiring module may also be described as a "module acquiring a service request".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring a service request, wherein the service request indicates a service type; according to the service type, increasing the service quantity which is stored in advance and corresponds to the service type; and updating the display information according to the increased business quantity.
According to the technical scheme of the embodiment of the invention, after the service request is obtained, the service quantity corresponding to the service type is increased according to the service type of the service request, and the display information is updated according to the increased service quantity. Therefore, when a service request is received, the service quantity of the service type corresponding to the service request is updated in real time, corresponding display information is updated in time according to the updated service quantity, the real-time performance of information updating is guaranteed, interaction with a database is not needed in the process, data corresponding to the information to be updated does not need to be extracted from a large amount of data stored in the database, and therefore the information updating efficiency is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for information updating, comprising:
acquiring a service request, wherein the service request indicates a service type;
according to the service type, increasing the service quantity which is stored in advance and corresponds to the service type;
and updating the display information according to the increased business quantity.
2. The method according to claim 1, wherein the updating the presentation information according to the incremented number of services comprises:
and sending the increased business quantity to a display so that the display updates the displayed display information according to the business quantity.
3. The method of claim 2, wherein sending the incremented amount of traffic to a presenter comprises:
and sending the service quantity to the display through a websocket protocol.
4. The method of claim 1, wherein the incrementing the pre-stored number of services corresponding to the service type according to the service type comprises:
and intercepting the service request through a first service processing engine, and increasing the service quantity corresponding to the service request according to the service type indicated by the service request.
5. The method according to claim 4, further comprising, before said incrementing the number of services corresponding to the service request: configuring the first business processing engine and a plurality of business processing logics which can be called by the first business processing engine, wherein the business processing logics respectively correspond to a plurality of business types;
the increasing the number of the services corresponding to the service request includes:
and calling and executing a service processing logic corresponding to the service type according to the service type indicated by the service request through the first service processing engine so as to increase the number of the services.
6. The method of claim 5,
and the first business processing engine calls the business processing logic through a dynamic proxy.
7. The method of any of claims 1 to 6, further comprising:
executing the service request through a second service processing engine, and feeding back an execution result of the service request;
and/or the presence of a gas in the gas,
and storing the service quantity of the service type in a local cache.
8. An apparatus for information update, comprising: the device comprises an acquisition module, a processing module and an updating module; wherein,
the acquisition module is used for acquiring a service request, and the service request indicates a service type;
the processing module is used for increasing the service quantity which is stored in advance and corresponds to the service type according to the service type;
and the updating module is used for updating the display information according to the increased business quantity.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010131126.8A 2020-02-28 2020-02-28 Information updating method and device Pending CN111382176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010131126.8A CN111382176A (en) 2020-02-28 2020-02-28 Information updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010131126.8A CN111382176A (en) 2020-02-28 2020-02-28 Information updating method and device

Publications (1)

Publication Number Publication Date
CN111382176A true CN111382176A (en) 2020-07-07

Family

ID=71222691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010131126.8A Pending CN111382176A (en) 2020-02-28 2020-02-28 Information updating method and device

Country Status (1)

Country Link
CN (1) CN111382176A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6473748B1 (en) * 1998-08-31 2002-10-29 Worldcom, Inc. System for implementing rules
WO2011123304A1 (en) * 2010-03-31 2011-10-06 Alcatel Lucent System and method for dynamically adjusting quality of service configuration based on real-time statistics of traffic mix
CN108733476A (en) * 2017-04-20 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and apparatus executing multitask
CN108924210A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 Service request processing method, device, server and storage medium
CN109189596A (en) * 2018-09-18 2019-01-11 杭州安恒信息技术股份有限公司 The method and apparatus that large-size screen monitors are shown are realized based on Websocket
CN109885399A (en) * 2019-01-17 2019-06-14 平安普惠企业管理有限公司 Data processing method, electronic device, computer equipment and storage medium
CN110019552A (en) * 2017-12-21 2019-07-16 北京京东尚科信息技术有限公司 User pays close attention to the method and apparatus that state updates
CN110728455A (en) * 2019-10-17 2020-01-24 京东数字科技控股有限公司 Service processing method, service processing device, storage medium and electronic equipment
CN110825457A (en) * 2019-11-04 2020-02-21 江苏满运软件科技有限公司 Method and device for processing business in business engine, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6473748B1 (en) * 1998-08-31 2002-10-29 Worldcom, Inc. System for implementing rules
WO2011123304A1 (en) * 2010-03-31 2011-10-06 Alcatel Lucent System and method for dynamically adjusting quality of service configuration based on real-time statistics of traffic mix
CN108733476A (en) * 2017-04-20 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and apparatus executing multitask
CN110019552A (en) * 2017-12-21 2019-07-16 北京京东尚科信息技术有限公司 User pays close attention to the method and apparatus that state updates
CN108924210A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 Service request processing method, device, server and storage medium
CN109189596A (en) * 2018-09-18 2019-01-11 杭州安恒信息技术股份有限公司 The method and apparatus that large-size screen monitors are shown are realized based on Websocket
CN109885399A (en) * 2019-01-17 2019-06-14 平安普惠企业管理有限公司 Data processing method, electronic device, computer equipment and storage medium
CN110728455A (en) * 2019-10-17 2020-01-24 京东数字科技控股有限公司 Service processing method, service processing device, storage medium and electronic equipment
CN110825457A (en) * 2019-11-04 2020-02-21 江苏满运软件科技有限公司 Method and device for processing business in business engine, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110706093A (en) Accounting processing method and device
CN111666293A (en) Database access method and device
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN111478781B (en) Message broadcasting method and device
CN113821352A (en) Remote service calling method and device
CN111258988A (en) Asset management method, device, electronic device, and medium
CN111881329A (en) Account balance management method and system
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN109981546B (en) Method and device for acquiring remote call relation between application modules
CN113127561B (en) Method and device for generating service single number, electronic equipment and storage medium
CN113313623A (en) Watermark information display method, watermark information display device, electronic equipment and computer readable medium
CN113778565A (en) Interface data processing method and device
CN112817562A (en) Service processing method and device
CN112685481A (en) Data processing method and device
CN112214500A (en) Data comparison method and device, electronic equipment and storage medium
CN113596164B (en) Data access method, device, system, equipment and medium
CN111382176A (en) Information updating method and device
CN113779122B (en) Method and device for exporting data
CN111010449B (en) Image information output method, system, device, medium, and electronic apparatus
CN114691684A (en) Data display method, device and system
CN113448602A (en) Version updating method and device
CN112784187A (en) Page display method and device
CN112559001A (en) Method and device for updating application
CN114268558B (en) Method, device, equipment and medium for generating monitoring graph
CN113535163B (en) Method and device for generating message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220923

Address after: 12 / F, 15 / F, 99 Yincheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 200120

Applicant after: Jianxin Financial Science and Technology Co.,Ltd.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200707

RJ01 Rejection of invention patent application after publication