CN108428182A - Development platform device, the method and computer readable storage medium for obtaining number of policy - Google Patents

Development platform device, the method and computer readable storage medium for obtaining number of policy Download PDF

Info

Publication number
CN108428182A
CN108428182A CN201710490393.2A CN201710490393A CN108428182A CN 108428182 A CN108428182 A CN 108428182A CN 201710490393 A CN201710490393 A CN 201710490393A CN 108428182 A CN108428182 A CN 108428182A
Authority
CN
China
Prior art keywords
policy
database
distributed caching
stored
advance
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.)
Granted
Application number
CN201710490393.2A
Other languages
Chinese (zh)
Other versions
CN108428182B (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710490393.2A priority Critical patent/CN108428182B/en
Priority to PCT/CN2018/090902 priority patent/WO2019001271A1/en
Publication of CN108428182A publication Critical patent/CN108428182A/en
Application granted granted Critical
Publication of CN108428182B publication Critical patent/CN108428182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to the method and computer readable storage medium of a kind of development platform device, acquisition number of policy, open platform device includes:Memory, processor and processing system, realize following steps when processing system is executed by processor:In the request of generation number of policy for receiving the initiation of external collaboration system, timing scan distributed caching and database;When scanning is in down state to database, the number of policy being generated in advance whether is stored in analysis distribution formula caching;If so, number of policy is sent to external collaboration system;If it is not, then calling preset number of policy interface, the number of policy that listing system generates is obtained by number of policy interface, and the number of policy of acquisition is sent to external collaboration system.The present invention can still get number of policy and feed back to external collaboration system in time when the database of open platform device is in down state, ensure that external collaboration system can go out list at any time, avoid customer churn.

Description

Development platform device, the method and computer readable storage medium for obtaining number of policy
Technical field
The present invention relates to field of communication technology more particularly to a kind of development platform device, the methods and meter that obtain number of policy Calculation machine readable storage medium storing program for executing.
Background technology
Currently, external collaboration system obtains number of policy by open platform, and open platform needs real time access open platform Database with get listing system generation number of policy, the number of policy of acquisition is then returned into external collaboration system.When When the database of open platform cannot access, it will cause external collaboration system that can not obtain number of policy in time according to normal flow, External collaboration system can not carry out out list, cause business that can not handle, and cause the loss of client.
Invention content
The purpose of the present invention is to provide a kind of development platform device, obtain the method for number of policy and computer-readable storage Medium, it is intended to realize database down state lower outer portion partner systems still can normally, go out list in time, avoid client from flowing It loses.
To achieve the above object, the present invention provides a kind of open platform device, and the open platform device includes:Storage Device, processor and it is stored in the processing system that can be run on the memory and on the processor, the processing system quilt The processor realizes following steps when executing:
S1, receive external collaboration system initiation generation number of policy request when, timing scan distributed caching and Database;
Whether S2 analyzes in the distributed caching and is stored with when scanning is in down state to the database The number of policy being generated in advance;
The number of policy is sent to outside by S3 if being stored with the number of policy being generated in advance in the distributed caching Partner systems;
S4 calls preset number of policy interface if not being stored with the number of policy being generated in advance in the distributed caching, The number of policy that listing system generates is obtained by the number of policy interface, and the number of policy of acquisition is sent to external collaboration system System.
Preferably, after the processing system executes the realization step S1 by the processor, further include:
S5, when scanning is in available mode to the database, analyze in the database and distributed caching whether It is stored with the number of policy being generated in advance;
S6, if being stored with the number of policy being generated in advance in the distributed caching, by the guarantor in the distributed caching Odd numbers is sent to external collaboration system;
S7 is stored in advance if not being stored with the number of policy being generated in advance in the distributed caching in the database The number of policy of generation then moves into the number of policy in the distributed caching from the database, and by the distribution Number of policy in caching is sent to external collaboration system.
Preferably, after the processing system executes the realization step S5 by the processor, further include:
If not being stored with the number of policy being generated in advance in the distributed caching and database, the step is executed S4。
Preferably, it when the processing system executes the realization step S1 by the processor, specifically includes:
Open platform is based on Timer timers in the request of generation number of policy for receiving the initiation of external collaboration system Principle simulation asynchronous task, the asynchronous scanning distributed caching of timing and database are locked with NAS shared files.
To achieve the above object, the present invention also provides a kind of method obtaining number of policy, the methods for obtaining number of policy Including:
S1, receive external collaboration system initiation generation number of policy request when, timing scan distributed caching and Database;
Whether S2 analyzes in the distributed caching and is stored with when scanning is in down state to the database The number of policy being generated in advance;
The number of policy is sent to outside by S3 if being stored with the number of policy being generated in advance in the distributed caching Partner systems;
S4 calls preset number of policy interface if not being stored with the number of policy being generated in advance in the distributed caching, The number of policy that listing system generates is obtained by the number of policy interface, and the number of policy of acquisition is sent to external collaboration system System.
Preferably, after the step S1, further include:
S5, when scanning is in available mode to the database, analyze in the database and distributed caching whether It is stored with the number of policy being generated in advance;
S6, if being stored with the number of policy being generated in advance in the distributed caching, by the guarantor in the distributed caching Odd numbers is sent to external collaboration system;
S7 is stored in advance if not being stored with the number of policy being generated in advance in the distributed caching in the database The number of policy of generation then moves into the number of policy in the distributed caching from the database, and by the distribution Number of policy in caching is sent to external collaboration system.
Preferably, after the step S5, further include:If not being stored in the distributed caching and database in advance The number of policy of generation then executes the step S4.
Preferably, the step S1 includes:Open platform is in the generation number of policy for receiving the initiation of external collaboration system When request, principle simulation asynchronous task, the asynchronous scanning distributed caching of timing are locked based on Timer timers and NAS shared files And database.
Preferably, the step of listing system generation number of policy includes:
The listing system Querying Distributed document stores database mongo dB, is stored with obtaining the distribution type file The number of policy generated based on Serial No. sequence in database mongo dB.
The present invention also provides a kind of computer readable storage medium, processing is stored on the computer readable storage medium System is realized when the processing system is executed by processor such as the step of the above-mentioned method for obtaining number of policy.
The beneficial effects of the invention are as follows:The present invention asks number of policy, data in external partner systems to open platform device When library is in down state, it whether can be stored with the number of policy being generated in advance in analysis distribution formula caching, if so, can incite somebody to action Number of policy in distributed caching is sent to external collaboration system, if it is not, calling preset number of policy interface, passes through guarantor Odd numbers interface obtains the number of policy that listing system generates, and the number of policy of acquisition is sent to external collaboration system.The present invention is opening When being laid flat the database of table apparatus and being in down state, number of policy can be still got in time and feeds back to external collaboration system System ensures that external collaboration system can normally go out list at any time, avoids customer churn.
Description of the drawings
Fig. 1 is each one optional application environment schematic diagram of embodiment of the present invention;
Fig. 2 is the schematic diagram of the hardware structure of one embodiment of development platform device in Fig. 1;
Fig. 3 is the flow diagram for the method first embodiment that the present invention obtains number of policy;
Fig. 4 is the flow diagram for the method second embodiment that the present invention obtains number of policy.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work The every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as indicating or implying its relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection domain within.
Refering to fig. 1, it is each one optional application environment schematic diagram of embodiment of the present invention.
In the present embodiment, present invention can apply to include but are not limited to, development platform device 1, external collaboration system 2, in the application environment of database 3, distributed caching 4 and listing system 5.Wherein, the development platform device 1 can be notes The movable equipment of this computer, PDA (personal digital assistant), PAD (tablet computer) etc., and such as number TV, desk-top meter The fixed terminal of calculation machine, notebook, server etc..Wherein, external collaboration system 2 can be vehicle insurance system, life insurance system etc. Deng.Wherein, the development platform device 1 is communicated to connect with one or more external collaboration systems 2.
Referring to Fig.2, be the schematic diagram of 1 one optional hardware structure of development platform device in Fig. 1, in the present embodiment, exploitation Stage apparatus 1 may include, but be not limited only to, and the processing system 10 of connection can be in communication with each other by system bus, memory 11, is located Manage device 12.It should be pointed out that Fig. 2 illustrates only the development platform device 1 with component 10-12, it should be understood that simultaneously All components shown realistic are not applied, the implementation that can be substituted is more or less component.
Wherein, the memory 11 includes at least a type of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), it is static with Machine accesses memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), may be programmed only Read memory (PROM), magnetic storage, disk, CD etc..In some embodiments, the memory 11 can be described opens Send out the internal storage unit of stage apparatus 1, such as the hard disk or memory of the development platform device 1.In further embodiments, institute The External memory equipment that memory 11 can also be the development platform device 1 is stated, such as be equipped on the development platform device 1 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Certainly, the memory 11 can also both include the storage inside list of the development platform device 1 Member also includes its External memory equipment.In the present embodiment, the memory 11 is installed on the development platform commonly used in storage The operating system and types of applications software of device 1, for example, the processing system 10 program code etc..In addition, the memory 11 can be also used for temporarily storing the Various types of data that has exported or will export.
The processor 12 can be in some embodiments central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 12 is commonly used in opening described in control The overall operation of stage apparatus 1 is sent out, such as is executed and is carried out data interaction with the external collaboration system 2 or communicate relevant control System and processing etc..In the present embodiment, the processor 12 is for running the program code stored in the memory 11 or place Manage data, such as run the processing system 10 etc..
Wherein, following steps are realized when above-mentioned processing system 10 is executed by the processor 12:
Step S1, in the request of generation number of policy for receiving the initiation of external collaboration system, timing scan distribution is slow It deposits and database;
In the present embodiment, external collaboration system can be integrated in open platform device 1, can also be integrated in other devices In.The request for generating number of policy is sent to development platform device 1 by external collaboration system by network, and open platform device 1 exists When receiving the request, its distributed caching 4 of timing scan and database 3.
Preferably, open platform device 1 is based on Timer timers and NAS shared files lock principle simulation asynchronous task, tool Body, the beginning timer time and timed interval of Timer timers default first are total using NAS starting timer time The asynchronous scanning distributed caching 4 of file lock principle and database 3 to be enjoyed, is waited for after scanning, Timer timers carry out timing, When reaching timed interval, the asynchronous scanning distributed caching 4 of NAS shared files lock principle and database 3 are utilized again, with This analogizes, and to realize the asynchronous scanning distributed caching 4 of timing and database 3, the current state of database 3 can be known after scanning It is available mode or down state, and knows whether distributed caching 4 is stored with data.
Whether step S2 analyzes in the distributed caching and deposits when scanning is in down state to the database Contain the number of policy being generated in advance;
In the present embodiment, number of policy can be only stored in its database, also may be used after generating number of policy by listing system 5 Number of policy is only stored in its distributed caching, number of policy can be also respectively stored in database and distributed caching.
Database 3 can further analyze whether it is stored with number of policy when being in available mode;Database 3 is in can not It can not analyze whether it is stored with number of policy with when state.Wherein, database 3 was in there are many case where down state, example Such as occur storing failure or network failure occurs.When scanning is in down state to database 3, analysis distribution formula It whether is stored with the number of policy being generated in advance in caching 4.Wherein, distributed caching 4 has the memory space of large capacity, including interior It deposits and disk.After listing system 5 generates number of policy, the number of policy of generation can be stored in its memory or disk.
The number of policy is sent to by step S3 if being stored with the number of policy being generated in advance in the distributed caching External collaboration system;
Step S4 calls preset number of policy if not being stored with the number of policy being generated in advance in the distributed caching Interface obtains the number of policy that listing system generates by the number of policy interface, and the number of policy of acquisition is sent to external conjunction Make system.
If be stored with the number of policy being generated in advance in distributed caching 4, open platform device 1 will can be deposited directly The number of policy of storage is sent to external collaboration system so that external collaboration system can get the number of policy of generation in time.If The number of policy being generated in advance is not stored in distributed caching 4, then open platform device 1 calls preset number of policy interface, leads to The number of policy that the number of policy interface obtains listing system in-time generatin is crossed, finally external collaboration system is got in time The number of policy of generation.
Compared with prior art, the present embodiment asks number of policy, database in external partner systems to open platform device When in down state, it whether can be stored with the number of policy being generated in advance in analysis distribution formula caching, if so, can will divide Number of policy in cloth caching is sent to external collaboration system, if it is not, calling preset number of policy interface, passes through declaration form Number interface obtains the number of policy that listing system generates, and the number of policy of acquisition is sent to external collaboration system.The present embodiment is being opened When being laid flat the database of table apparatus and being in down state, number of policy can be still got in time and feeds back to external collaboration system System ensures that external collaboration system can normally go out list at any time, avoids customer churn.
In a preferred embodiment, the processing system 10 executed by the processor 12 realize the step S1 it Afterwards, further include:
Step S5 is analyzed when scanning is in available mode to the database in the database and distributed caching Whether the number of policy that is generated in advance is stored with.
Step S6 will be in the distributed caching if being stored with the number of policy being generated in advance in the distributed caching Number of policy be sent to external collaboration system.
Step S7 is stored with if not being stored with the number of policy being generated in advance in the distributed caching in the database The number of policy being generated in advance then moves into the number of policy in the distributed caching from the database, and will be described point Number of policy in cloth caching is sent to external collaboration system.
In the present embodiment, when scanning is in available mode to database 3, while analytical database 3 and distributed caching 4 In whether be stored with the number of policy being generated in advance, it is open flat if being stored with the number of policy being generated in advance in distributed caching 4 Number of policy in distributed caching 4 is directly sent to external collaboration system 2 by table apparatus 1, and not to the number of policy in database 3 Do any processing;If not being stored with the number of policy being generated in advance in distributed caching 4 but being stored in database 3, first will Number of policy in database 3 moves into distributed caching 4, and will be moved into distributed caching 4 by open platform device 1 Number of policy be sent to external collaboration system 2, in this way, mitigate the pressure that accesses database 3, and by open platform The number of policy in distributed caching 4 moved into is sent to the mode speed of external collaboration system 2 by device 1 so that External collaboration system can quick obtaining to number of policy.
In a preferred embodiment, the processing system 10 executed by the processor 12 realize the step S5 it Afterwards, further include:
If not being stored with the number of policy being generated in advance in the distributed caching and database, the step is executed S4。
In the present embodiment, if database 3 is in available mode, but do not deposited in distributed caching 4 and database 3 The number of policy being generated in advance is contained, then needs to be laid flat table apparatus 1 and calls preset number of policy interface, obtained by the number of policy interface Take out the number of policy of single system in-time generatin, the final number of policy for enabling external collaboration system to get generation in time.
As shown in figure 3, Fig. 3 is the flow diagram for one embodiment of method that the present invention obtains number of policy, the acquisition declaration form Number method include the following steps:
Step S1, in the request of generation number of policy for receiving the initiation of external collaboration system, timing scan distribution is slow It deposits and database;
In the present embodiment, external collaboration system can be integrated in open platform device 1, can also be integrated in other devices In.The request for generating number of policy is sent to development platform device 1 by external collaboration system by network, and open platform device 1 exists When receiving the request, its distributed caching 4 of timing scan and database 3.
Preferably, open platform device 1 is based on Timer timers and NAS shared files lock principle simulation asynchronous task, tool Body, the beginning timer time and timed interval of Timer timers default first are total using NAS starting timer time The asynchronous scanning distributed caching 4 of file lock principle and database 3 to be enjoyed, is waited for after scanning, Timer timers carry out timing, When reaching timed interval, the asynchronous scanning distributed caching 4 of NAS shared files lock principle and database 3 are utilized again, with This analogizes, and to realize the asynchronous scanning distributed caching 4 of timing and database 3, the current state of database 3 can be known after scanning It is available mode or down state, and knows whether distributed caching 4 is stored with data.
Whether step S2 analyzes in the distributed caching and deposits when scanning is in down state to the database Contain the number of policy being generated in advance;
In the present embodiment, number of policy can be only stored in its database, also may be used after generating number of policy by listing system 5 Number of policy is only stored in its distributed caching, number of policy can be also respectively stored in database and distributed caching.
Database 3 can further analyze whether it is stored with number of policy when being in available mode;Database 3 is in can not It can not analyze whether it is stored with number of policy with when state.Wherein, database 3 was in there are many case where down state, example Such as occur storing failure or network failure occurs.When scanning is in down state to database 3, analysis distribution formula It whether is stored with the number of policy being generated in advance in caching 4.Wherein, distributed caching 4 has the memory space of large capacity, including interior It deposits and disk.After listing system 5 generates number of policy, the number of policy of generation can be stored in its memory or disk.
The number of policy is sent to by step S3 if being stored with the number of policy being generated in advance in the distributed caching External collaboration system;
Step S4 calls preset number of policy if not being stored with the number of policy being generated in advance in the distributed caching Interface obtains the number of policy that listing system generates by the number of policy interface, and the number of policy of acquisition is sent to external conjunction Make system.
If be stored with the number of policy being generated in advance in distributed caching 4, open platform device 1 will can be deposited directly The number of policy of storage is sent to external collaboration system so that external collaboration system can get the number of policy of generation in time.If The number of policy being generated in advance is not stored in distributed caching 4, then open platform device 1 calls preset number of policy interface, leads to The number of policy that the number of policy interface obtains listing system in-time generatin is crossed, finally external collaboration system is got in time The number of policy of generation.
Compared with prior art, the present embodiment asks number of policy, database in external partner systems to open platform device When in down state, it whether can be stored with the number of policy being generated in advance in analysis distribution formula caching, if so, can will divide Number of policy in cloth caching is sent to external collaboration system, if it is not, calling preset number of policy interface, passes through declaration form Number interface obtains the number of policy that listing system generates, and the number of policy of acquisition is sent to external collaboration system.The present embodiment is being opened When being laid flat the database of table apparatus and being in down state, it can still get number of policy and feed back to external collaboration system, protect Card external collaboration system can go out list at any time, avoid customer churn.
In a preferred embodiment, it as shown in figure 4, on the basis of the embodiment of Fig. 3, is also wrapped after the step S1 It includes:
S5, when scanning is in available mode to the database, analyze in the database and distributed caching whether It is stored with the number of policy being generated in advance;
S6, if being stored with the number of policy being generated in advance in the distributed caching, by the guarantor in the distributed caching Odd numbers is sent to external collaboration system;
S7 is stored in advance if not being stored with the number of policy being generated in advance in the distributed caching in the database The number of policy of generation then moves into the number of policy in the distributed caching from the database, and by the distribution Number of policy in caching is sent to external collaboration system.
In the present embodiment, when scanning is in available mode to database 3, while analytical database 3 and distributed caching 4 In whether be stored with the number of policy being generated in advance, it is open flat if being stored with the number of policy being generated in advance in distributed caching 4 Number of policy in distributed caching 4 is directly sent to external collaboration system 2 by table apparatus 1, and not to the number of policy in database 3 Do any processing;If not being stored with the number of policy being generated in advance in distributed caching 4 but being stored in database 3, first will Number of policy in database 3 moves into distributed caching 4, and will be moved into distributed caching 4 by open platform device 1 Number of policy be sent to external collaboration system 2, in this way, mitigate the pressure that accesses database 3, and by open platform The number of policy in distributed caching 4 moved into is sent to the mode speed of external collaboration system 2 by device 1 so that External collaboration system can quick obtaining to number of policy.
In a preferred embodiment, on the basis of the embodiment of Fig. 4, after the step S5, further include:If described It is not stored with the number of policy being generated in advance in distributed caching and database, then executes the step S4.
In the present embodiment, if database 3 is in available mode, but do not deposited in distributed caching 4 and database 3 The number of policy being generated in advance is contained, then needs to be laid flat table apparatus 1 and calls preset number of policy interface, obtained by the number of policy interface Take out the number of policy of single system in-time generatin, the final number of policy for enabling external collaboration system to get generation in time.
In a preferred embodiment, on the basis of the above embodiments, the listing system generates the step of number of policy Suddenly include:The listing system Querying Distributed document stores database mongo dB, is stored with obtaining the distribution type file The number of policy generated based on Serial No. sequence in database mongo dB.
Wherein, mongo dB drivings packet need to be installed simultaneously using the listing system of distribution type file storage database mongo dB It includes the relevant configuration file of mongo dB database informations to increase, to ensure that listing system can access distribution type file storage Database mongo dB.
Wherein, number of policy goes out single mechanism coding (the right mends 0 when digit is inadequate), 2 databases by 1 document type, 6 Mark, 11 bit digital sequences composition, listing system use the sequence tables in distribution type file storage database mongo dB Generate 11 random numbers, sequence tables are storage Database Systems according to the automatic increased Serial No. of certain rule Table, the table are controlled by Database Systems, whenever Database Systems can according to current record number size plus step-length come It should be how many to get lower record of the table, and every record will not all repeat.Listing system Querying Distributed document stores 11 random numbers are obtained after database mongo dB, which is used as number of policy after being combined with other 9 bit digitals, therefore Obtained number of policy will not repeat, i.e., each number of policy is different from.In addition, listing system is inquired after obtaining number of policy, Number of policy is stored in distributed caching and/or database.
In the present embodiment, as external collaboration system increases, if open platform device 1 receives external collaboration system When high concurrent is asked, number of policy is generated based on distribution type file storage database mongo dB, the same user will not be caused to obtain To identical number of policy.
The present invention also provides a kind of computer readable storage medium, processing is stored on the computer readable storage medium The step of system, the processing system realizes the method for above-mentioned acquisition number of policy when being executed by processor.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of open platform device, which is characterized in that the open platform device includes:It memory, processor and is stored in It is real when the processing system is executed by the processor on the memory and the processing system that can run on the processor Existing following steps:
S1, in the request of generation number of policy for receiving the initiation of external collaboration system, timing scan distributed caching and data Library;
Whether S2 analyzes and is stored in the distributed caching in advance when scanning is in down state to the database The number of policy of generation;
The number of policy is sent to external collaboration by S3 if being stored with the number of policy being generated in advance in the distributed caching System;
S4 calls preset number of policy interface, passes through if not being stored with the number of policy being generated in advance in the distributed caching The number of policy interface obtains the number of policy that listing system generates, and the number of policy of acquisition is sent to external collaboration system.
2. open platform device according to claim 1, which is characterized in that the processing system is executed by the processor After realizing the step S1, further include:
Whether S5 analyzes in the database and distributed caching and stores when scanning is in available mode to the database There is the number of policy being generated in advance;
S6, if being stored with the number of policy being generated in advance in the distributed caching, by the number of policy in the distributed caching It is sent to external collaboration system;
S7 is stored in the database and is generated in advance if not being stored with the number of policy being generated in advance in the distributed caching Number of policy, then the number of policy is moved into from the database in the distributed caching, and by the distributed caching In number of policy be sent to external collaboration system.
3. open platform device according to claim 2, which is characterized in that the processing system is executed by the processor After realizing the step S5, further include:
If not being stored with the number of policy being generated in advance in the distributed caching and database, the step S4 is executed.
4. open platform device according to any one of claims 1 to 3, which is characterized in that the processing system is described When processor executes the realization step S1, specifically include:
Open platform is based on Timer timers and NAS in the request of generation number of policy for receiving the initiation of external collaboration system Shared file locks principle simulation asynchronous task, the asynchronous scanning distributed caching of timing and database.
5. it is a kind of obtain number of policy method, which is characterized in that it is described obtain number of policy method include:
S1, in the request of generation number of policy for receiving the initiation of external collaboration system, timing scan distributed caching and data Library;
Whether S2 analyzes and is stored in the distributed caching in advance when scanning is in down state to the database The number of policy of generation;
The number of policy is sent to external collaboration by S3 if being stored with the number of policy being generated in advance in the distributed caching System;
S4 calls preset number of policy interface, passes through if not being stored with the number of policy being generated in advance in the distributed caching The number of policy interface obtains the number of policy that listing system generates, and the number of policy of acquisition is sent to external collaboration system.
6. the method according to claim 5 for obtaining number of policy, which is characterized in that after the step S1, further include:
Whether S5 analyzes in the database and distributed caching and stores when scanning is in available mode to the database There is the number of policy being generated in advance;
S6, if being stored with the number of policy being generated in advance in the distributed caching, by the number of policy in the distributed caching It is sent to external collaboration system;
S7 is stored in the database and is generated in advance if not being stored with the number of policy being generated in advance in the distributed caching Number of policy, then the number of policy is moved into from the database in the distributed caching, and by the distributed caching In number of policy be sent to external collaboration system.
7. the method according to claim 6 for obtaining number of policy, which is characterized in that after the step S5, further include:If It is not stored with the number of policy being generated in advance in the distributed caching and database, then executes the step S4.
8. the method for obtaining number of policy according to claim 5 to 7 any one of them, which is characterized in that the step S1 includes: Open platform is shared based on Timer timers and NAS in the request of generation number of policy for receiving the initiation of external collaboration system File lock principle simulation asynchronous task, the asynchronous scanning distributed caching of timing and database.
9. the method for obtaining number of policy according to claim 5 to 7 any one of them, which is characterized in that the listing system life Include at the step of number of policy:
The listing system Querying Distributed document stores database mongo dB, and data are stored to obtain the distribution type file The number of policy generated based on Serial No. sequence in the mongo dB of library.
10. a kind of computer readable storage medium, which is characterized in that be stored with processing system on the computer readable storage medium System, the method that the acquisition number of policy as described in any one of claim 6 to 8 is realized when the processing system is executed by processor The step of.
CN201710490393.2A 2017-06-25 2017-06-25 Development platform device, method for acquiring policy number, and computer-readable storage medium Active CN108428182B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710490393.2A CN108428182B (en) 2017-06-25 2017-06-25 Development platform device, method for acquiring policy number, and computer-readable storage medium
PCT/CN2018/090902 WO2019001271A1 (en) 2017-06-25 2018-06-12 Open platform device, method for obtaining policy number, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710490393.2A CN108428182B (en) 2017-06-25 2017-06-25 Development platform device, method for acquiring policy number, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108428182A true CN108428182A (en) 2018-08-21
CN108428182B CN108428182B (en) 2021-08-24

Family

ID=63155423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710490393.2A Active CN108428182B (en) 2017-06-25 2017-06-25 Development platform device, method for acquiring policy number, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN108428182B (en)
WO (1) WO2019001271A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670975A (en) * 2018-12-17 2019-04-23 泰康保险集团股份有限公司 Method, medium and the electronic equipment of odd numbers are generated in computer system
CN110659258A (en) * 2019-09-06 2020-01-07 平安普惠企业管理有限公司 Document generation method, system, computer device and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1659548A (en) * 2002-07-17 2005-08-24 欧里科国际公司 System and method for caching data for a mobile application
US20070300243A1 (en) * 2006-06-22 2007-12-27 Sap Portals Israel Ltd. Modular caching method and system for enabling offline functionality of server-client systems
CN101576918A (en) * 2009-06-19 2009-11-11 用友软件股份有限公司 Data buffering system with load balancing function
CN101706781A (en) * 2009-09-29 2010-05-12 北京星网锐捷网络技术有限公司 Method and system for centralized management of database caches
CN102063427A (en) * 2009-11-12 2011-05-18 中兴通讯股份有限公司 Exception handling system and method in distributed database system
CN103716375A (en) * 2013-12-05 2014-04-09 北京用友政务软件有限公司 Distributed cache-based multistage financial data interaction method and system
CN104717262A (en) * 2013-12-13 2015-06-17 中国移动通信集团辽宁有限公司 Enterprise address book downloading method and system
CN105468707A (en) * 2015-11-19 2016-04-06 北京锐安科技有限公司 Cache-based data processing method and device
CN106302827A (en) * 2016-10-25 2017-01-04 聚好看科技股份有限公司 Communication means based on distributed system, equipment and distributed system
CN106384290A (en) * 2016-08-31 2017-02-08 泰康保险集团股份有限公司 Insurance policy processing system, method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7765361B2 (en) * 2006-11-21 2010-07-27 Microsoft Corporation Enforced transaction system recoverability on media without write-through
US9032247B2 (en) * 2012-07-26 2015-05-12 Apple Inc. Intermediate database management layer
CN106326293A (en) * 2015-07-01 2017-01-11 阿里巴巴集团控股有限公司 Access method and device based on dynamic webpage
CN106204000A (en) * 2016-07-05 2016-12-07 康存乐付保数据科技(上海)有限公司 A kind of service consumption method for processing payment information and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1659548A (en) * 2002-07-17 2005-08-24 欧里科国际公司 System and method for caching data for a mobile application
US20070300243A1 (en) * 2006-06-22 2007-12-27 Sap Portals Israel Ltd. Modular caching method and system for enabling offline functionality of server-client systems
CN101576918A (en) * 2009-06-19 2009-11-11 用友软件股份有限公司 Data buffering system with load balancing function
CN101706781A (en) * 2009-09-29 2010-05-12 北京星网锐捷网络技术有限公司 Method and system for centralized management of database caches
CN102063427A (en) * 2009-11-12 2011-05-18 中兴通讯股份有限公司 Exception handling system and method in distributed database system
CN103716375A (en) * 2013-12-05 2014-04-09 北京用友政务软件有限公司 Distributed cache-based multistage financial data interaction method and system
CN104717262A (en) * 2013-12-13 2015-06-17 中国移动通信集团辽宁有限公司 Enterprise address book downloading method and system
CN105468707A (en) * 2015-11-19 2016-04-06 北京锐安科技有限公司 Cache-based data processing method and device
CN106384290A (en) * 2016-08-31 2017-02-08 泰康保险集团股份有限公司 Insurance policy processing system, method and device
CN106302827A (en) * 2016-10-25 2017-01-04 聚好看科技股份有限公司 Communication means based on distributed system, equipment and distributed system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TIMOTHY G等: "Inference with "difference in dudderences" with a small number of policy changes", 《THE REVIEW OF ECONOMICS AND STATISTICS 》 *
蔡博: "车险客户信息管理系统设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670975A (en) * 2018-12-17 2019-04-23 泰康保险集团股份有限公司 Method, medium and the electronic equipment of odd numbers are generated in computer system
CN110659258A (en) * 2019-09-06 2020-01-07 平安普惠企业管理有限公司 Document generation method, system, computer device and computer readable storage medium

Also Published As

Publication number Publication date
CN108428182B (en) 2021-08-24
WO2019001271A1 (en) 2019-01-03

Similar Documents

Publication Publication Date Title
CN108427705A (en) Electronic device, distributed system journal querying method and storage medium
CN108462760A (en) Electronic device, cluster access domain name automatic generation method and storage medium
CN108388598A (en) Electronic device, date storage method and storage medium
CN110008665B (en) Authority control method and device for blockchain
CN108494771A (en) Electronic device, fire wall open verification method and storage medium
CN106970978A (en) Data sharing method and device
CN108845950A (en) Test device, the method for test and storage medium
CN109614206A (en) Device, method and the storage medium of block chain issued transaction
CN104468640A (en) Method and device for achieving sharing of cloud storage space
CN104639650A (en) Fine granularity distributive interface access control method and device
CN109582458A (en) Resource information loading method, device, storage medium and processor
CN109086597A (en) Cipher key access method, key management method, storage medium and computer equipment
CN110554911A (en) Memory access and allocation method, memory controller and system
CN108428182A (en) Development platform device, the method and computer readable storage medium for obtaining number of policy
CN109766316A (en) File acquisition method, device, computer equipment and storage medium
CN103905201B (en) Interaction method and device for master application and multiple slave applications
CN114245366A (en) Unified cloud card issuing method, hybrid cloud card service system and system equipment
CN109446754A (en) The guard method of algorithm, device, equipment and storage medium in intelligent contract
CN107844519A (en) Electronic installation, data base querying scenario generation method and storage medium
CN103309696B (en) Method and device for updating Java card extended library, and Java card
CN103197950B (en) Plug-in virtual machine implementation method
CN110022341A (en) A kind of data transmission method and relevant device
CN108491466A (en) Electronic device, access instruction information acquisition method and storage medium
CN107967265A (en) Access method, data server and the file access system of file
CN109558082B (en) Distributed file system

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
GR01 Patent grant
GR01 Patent grant