Method and apparatus for cross-provincial public data fusion service
By employing a cross-provincial public data fusion service approach, and combining historical call analysis, sociological patterns, and population flow models for weighted fusion decision-making, the problems of high architectural coupling, numerous invalid queries, and complex interface adaptation in cross-provincial data queries have been solved, achieving efficient and secure data querying and fusion.
Patent Information
- Application Number
- CN202611645526.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
The existing cross-provincial public data query and integration services suffer from problems such as high architectural coupling, inability to dynamically configure calling logic, large volume of invalid queries, difficulty in interface adaptation, and low query efficiency, which cannot meet the needs of high-concurrency business.
By receiving data query requests and performing identity authentication and permission verification, matching call templates, and combining historical call analysis, sociological pattern databases, and population flow models for weighted fusion decision-making, the system can intelligently locate target regions for data queries. It also uses a unified call template interface to connect with various provincial data platforms and supports dynamic configuration of plug-in modules.
It significantly improved query hit rate and overall query efficiency, reduced invalid queries, simplified cross-provincial data connection process, enabled the system to learn and iterate, and ensured system security and data compliance.
Smart Images

Figure CN123138286A_ABST
Abstract
Description
Technical Field
[0001] This application relates to big data processing technology, and in particular to methods, apparatus, media, electronic equipment, and computer program products for cross-provincial public data fusion services. Background Technology
[0002] With the rapid development of digital government, inclusive finance, and social credit reporting, the demand for cross-provincial public data query and integration services continues to grow. Currently, the interface standards, communication protocols, and access rules of public data platforms across different provinces in China are not unified, and existing traditional data access architectures generally suffer from the following problems:
[0003] The architecture is heavily coupled: the application layer and the underlying call layer are strongly bound together, and the call logic is fixed. When facing new business scenarios and customized query rules, large-scale modifications to the underlying code are required, resulting in long iteration cycles and high transformation costs.
[0004] Large volume of invalid queries: Traditional solutions often use full polling and fixed-region traversal to initiate cross-domain queries, without combining user behavior, regional association and population distribution characteristics for intelligent routing, resulting in a large number of invalid cross-domain requests, which consume network bandwidth and computing resources and increase the service pressure on data sources in various provinces.
[0005] High interface adaptation costs: Data source interfaces vary significantly across provinces. The traditional approach requires developing separate interface programs for each province, resulting in cumbersome integration processes, a large amount of repetitive development work, and high maintenance difficulty in the later stages.
[0006] The scheduling strategy is too simplistic: the calling logic is not optimized by taking into account sociological patterns and population flow trends, resulting in low data hit efficiency and an overall query response speed that is difficult to meet the requirements of high-concurrency business.
[0007] Most existing technologies only improve data aggregation, data standardization, or single interface optimization, and cannot simultaneously solve multiple pain points such as poor call flexibility, excessive invalid queries, and complex cross-domain integration. Summary of the Invention
[0008] In view of the above-mentioned technical problems, this application proposes a method, apparatus, medium, electronic device, and computer program product for cross-provincial public data fusion services. It aims to solve the technical problems of high coupling in traditional architecture, inability to dynamically configure calling logic, large volume of invalid queries, difficulty in adapting multi-province interfaces, and low query efficiency, so as to improve the overall operational efficiency of cross-domain data fusion, ensure stable business query rate, reduce the number of invalid queries, simplify the connection process, and achieve efficient, accurate, and flexible data fusion services.
[0009] In a first aspect, embodiments of this application provide a method for cross-provincial public data fusion services, for use in electronic devices, including:
[0010] Receive data query requests initiated by external business systems, and perform identity authentication, access permission verification, and request parameter validity verification on the data query requests;
[0011] Match the corresponding call template based on the business type in the data query request;
[0012] Extract the key features of the data query request, and based on the key features, perform historical call analysis, sociological pattern database search and population flow model search respectively, so as to determine the first region and weight, the second region and weight and the third region and weight. The key features include the request input parameters and the requester's region.
[0013] For each of the first region, the second region, and the third region, a weighted fusion calculation is performed on its weight as the first region, its weight as the second region, and its weight as the third region to obtain the probability of each region. The region with the highest probability is selected as the target region.
[0014] According to the call template, query the data source of the target region for the business record corresponding to the business type, and return the queried business record.
[0015] Secondly, embodiments of this application provide an apparatus for cross-provincial public data fusion services, comprising:
[0016] The receiving unit receives data query requests initiated by external business systems and performs identity authentication, access permission verification, and request parameter validity verification on the data query requests.
[0017] The matching unit matches the corresponding call template based on the business type in the data query request;
[0018] The steps are defined, and the key features of the data query request are extracted. Based on the key features, historical call analysis, sociological pattern database search and population flow model search are performed respectively to determine the first region and weight, the second region and weight and the third region and weight. The key features include the request input parameters and the requester's region.
[0019] The decision-making unit performs a weighted fusion calculation on each of the first region, the second region, and the third region, taking its weight as the first region, its weight as the second region, and its weight as the third region, to obtain the probability of each region, and selects the region with the highest probability as the target region.
[0020] The query unit, according to the calling template, queries the data source of the target region for the business record corresponding to the business type, and returns the queried business record.
[0021] Thirdly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method for cross-provincial public data fusion service described in the first aspect above.
[0022] Fourthly, embodiments of this application provide an electronic device, including: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by the one or more processors, cause the electronic device to perform the method for cross-provincial public data fusion service described in the first aspect above.
[0023] Fifthly, embodiments of this application provide a computer program product including computer-executable instructions, which are executed by a processor to implement the method for cross-provincial public data fusion service in the first aspect.
[0024] The present invention can achieve the following beneficial effects:
[0025] Reduce invalid queries and improve query efficiency: By using a weighted fusion decision based on three dimensions—historical call analysis, sociological pattern database, and population flow model—the system intelligently locates the region most likely to store the target data. This avoids the large number of invalid queries caused by traditional solutions that access data sources from each province in a fixed order or blindly query based solely on the requester's region, significantly improving query hit rate and overall query efficiency.
[0026] Decoupling business requirements from underlying code and supporting dynamic configuration: By encapsulating the call template into a plugin module, the decoupling of business types from underlying code is achieved. When a new business type needs to be added or the call strategy needs to be adjusted, the adaptation can be completed without modifying the underlying code, which greatly reduces the cost of system maintenance and expansion.
[0027] Unified interface and simplified cross-province connection: By connecting to provincial public data platforms across the country through a unified call template interface, the interface differences of data sources in different provinces are shielded, simplifying the cross-provincial data connection process.
[0028] Multi-source information fusion and high decision-making accuracy: By comprehensively utilizing information from three dimensions—historical call distribution, sociological patterns (urban cluster association, administrative coordination priority, and economic correlation) and population flow patterns—for weighted fusion decision-making, the target region positioning is more accurate compared to single-dimensional regional selection schemes.
[0029] Self-iterative optimization: After each query, a full historical query log is recorded to update the regional distribution statistics, so that the weight distribution of the historical call analysis is continuously optimized as data accumulates. The system has the ability to learn and iterate.
[0030] Security and compliance: During the access request phase, identity authentication, access permission verification, and request parameter validity verification (including traffic control and sensitive word filtering) are completed to ensure system security and data compliance. Attached Figure Description
[0031] Figure 1 According to an embodiment of this application, a flowchart of a method for cross-provincial public data fusion service is shown;
[0032] Figure 2 According to an embodiment of this application, a structural diagram of an apparatus for cross-provincial public data fusion services is shown;
[0033] Figure 3 According to an embodiment of this application, a block diagram of an electronic device is shown.
[0034] Explanation of reference numerals in the attached figures:
[0035] 20 Device; 201 Receiving Unit; 202 Matching Unit; 203 Determining Unit; 204 Decision Unit; 205 Query Unit; 1400 Electronic Device; 1404 Processor; 1408 System Control Logic Unit; 1412 System Memory; 1420 Network Interface; 1416 Non-volatile Memory; 1424 Instructions; 1432 Input / Output (I / O) Device. Detailed Implementation
[0036] The illustrative embodiments of this application include, but are not limited to, methods, apparatuses, media, electronic devices, and computer program products for cross-provincial public data fusion services.
[0037] To facilitate understanding, the terms used in this instruction manual will be explained first.
[0038] Data query request: refers to a request initiated by an external business system (such as a government system, financial system, credit reporting system, etc.) to query public data related to a person or enterprise, including but not limited to government query requests, financial query requests, and credit reporting query requests.
[0039] Call template: Refers to a predefined unified data query interface specification for a specific business type (such as housing provident fund query), including request parameter format, return data format, query logic, etc. Call templates are encapsulated as independent plugin modules, and different business types have corresponding pre-defined call templates.
[0040] Request parameters: These are parameters used to identify the subject being queried in a data query request, such as an ID card number or a mobile phone number.
[0041] Requester region: refers to the region information determined based on the request parameters (such as ID card number or mobile phone number).
[0042] Full historical query log: refers to the complete log of all query requests and their results recorded during the system's historical operation. It is stored on the local system and used for historical call analysis.
[0043] Sociological Law Database: This refers to a database that pre-stores sociological rules such as the relationship between urban clusters, the priority of provincial administrative collaboration, and the degree of regional economic correlation, and is used for searching sociological laws databases.
[0044] Population flow model: refers to a mathematical model based on a gravity model used to predict the amount of population flowing from one place to another.
[0045] Provincial data sources: These refer to data sources such as provincial-level public data platforms, credit reporting platforms, and government data centers across the country, responsible for raw data storage, query response, and local permission verification. They can be used as data sources for the target region.
[0046] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0047] Figure 1 A flowchart illustrating a method for cross-provincial public data fusion service according to an embodiment of this application is shown, for use in Figure 3 The electronic device shown.
[0048] In step S11, a data query request initiated by an external business system is received, and the data query request is authenticated, access permissions are verified, and the validity of the request parameters is verified.
[0049] Data query requests include government affairs query requests, financial query requests, and credit information query requests. In this embodiment, a data query request is, for example, to query the housing provident fund payment records of a natural person (whose ID number is registered in Beijing, for example).
[0050] Identity authentication includes verifying the API Key (Application Programming Interface Key), digital certificate, or OAuth 2.0 Token in the data query request. Access permission verification includes verifying whether the requester has the authority to access the requested data. Request parameter validity verification includes enforcing traffic control policies and filtering sensitive words.
[0051] For example, an external housing provident fund business system initiates a data query request via the HTTP protocol. The request includes the query certificate (API Key), the business type (housing provident fund), and the request parameters (the ID number of the target natural person).
[0052] Upon receiving the request, the following checks will be performed sequentially:
[0053] (1) Identity authentication: Verify whether the API Key in the request is valid and confirm the identity of the caller.
[0054] (2) Access permission verification: Verify whether the caller has the permission to query housing provident fund data.
[0055] (3) Request parameter validity verification: Execute the traffic control policy to confirm that the current traffic does not exceed the rate limiting threshold; at the same time, filter sensitive words in the request parameters to confirm that they comply with the requirements of relevant regulations.
[0056] Once all three checks above pass, proceed to the next step.
[0057] In step S12, the corresponding call template is matched according to the business type in the data query request. The call template is encapsulated in the form of a plugin module. Different business types have corresponding pre-set call templates. The decoupling of business requirements and underlying code is achieved through plugin-based matching.
[0058] Specifically, based on the business type "housing provident fund" in the data query request, a preset housing provident fund call template is automatically matched.
[0059] This call template is encapsulated as a plugin module, defining a unified interface specification for housing provident fund inquiries (including request parameter format, return data format, etc.). For example, the call template pre-sets the grouping rules for the housing provident fund base: 0-1000 is group 1, 1001-2000 is group 2, and so on.
[0060] In step S13, key features of the data query request are extracted. Based on the key features, historical call analysis, sociological pattern database search, and population flow model search are performed respectively to determine the first region and weight, the second region and weight, and the third region and weight. The key features include the request input parameters and the requester's region.
[0061] The request parameters include an ID card number or a mobile phone number, and the requester's region is determined based on the ID card number or mobile phone number. In this embodiment, the request parameters include an ID card number, and the requester's region is determined to be Beijing based on the ID card number.
[0062] The following sections will provide detailed explanations of historical data analysis, sociological pattern database lookup, and population mobility model lookup.
[0063] (1) Historical call analysis
[0064] Collect all historical query logs related to housing provident fund business types.
[0065] Check if there are any historical query records for this ID number:
[0066] If there are no historical query records for this ID number, the business records (i.e., housing provident fund payment records) corresponding to the region to which the ID number belongs will be directly queried. If found, the business records will be returned and the process will end.
[0067] If there are historical query records for this ID number and a housing provident fund payment record is found, the record will be returned directly, and the entire process will end.
[0068] If no corresponding business record is found for this ID number, i.e. no housing provident fund payment record is found, then proceed to the next step of analysis.
[0069] Here, there are two situations where no corresponding business record is found for this ID number: 1) There is no historical query record, and the location of the ID number is also not found; 2) There is a historical query record, but it is not found.
[0070] In this embodiment, if no housing provident fund payment record is found for the ID number, the number of queries for each region is counted according to the full historical query log. The N regions with the highest number of queries are selected as the first region, and the weight of each first region is the proportion of the number of queries for the first region to the total number of queries for the N regions.
[0071] Assuming the statistics are as follows: 300 queries for Tianjin, 200 for Shanghai, 100 for Guangdong, 100 for Shandong, 100 for Sichuan, and a total of 200 for other regions.
[0072] Select the N (e.g., 5) regions with the highest number of queries as the first region: Tianjin, Shanghai, Guangdong, Shandong, and Sichuan. The total number of queries for the N regions is 300 + 200 + 100 + 100 + 100 = 800.
[0073] The weights for each primary region are calculated as follows:
[0074] Tianjin weight = 300 / 800 = 0.375, Shanghai weight = 200 / 800 = 0.250, Guangdong weight = 100 / 800 = 0.125, Shandong weight = 100 / 800 = 0.125, Sichuan weight = 100 / 800 = 0.125.
[0075] The output format is: (Tianjin, 0.375), (Shanghai, 0.250), (Guangdong, 0.125), (Shandong, 0.125), (Sichuan, 0.125).
[0076] The first region here does not include the requester's region (e.g., Beijing). Understandably, if Beijing is among the top 5 most frequently queried regions, then Beijing is excluded, and the 6th most frequently queried region is taken as the first region. Furthermore, the first region also does not include regions that have never been queried for the requested parameters historically. For example, regions that have never been queried for this ID number historically will not be included in the first region.
[0077] (2) Searching for sociological patterns
[0078] Based on pre-existing sociological rules such as urban cluster relationships, provincial administrative coordination priorities, and regional economic linkages, multiple candidate regions associated with Beijing are identified. Then, the M regions closest to the requesting region are selected as the second region from the candidate regions.
[0079] Specifically, the system identifies several provinces and municipalities surrounding Beijing (based on urban cluster relationships), other provincial capitals (based on provincial administrative coordination priorities), and provinces with high regional economic correlation. Then, it selects M (e.g., 5) regions closest to Beijing from these regions as the second region. In this embodiment, for example, the selected 5 regions are: Tianjin, Hebei, Shanxi, Inner Mongolia, and Liaoning.
[0080] Next, the weights of each second region are calculated according to formulas (1) and (2):
[0081] Formula (1),
[0082] Formula (2),
[0083] in, Let i be the distance from the requester's region i to the second region j. It is a constant. For the unnormalized weights of the second region j, This represents the normalized weight of the second region j.
[0084] Taking Tianjin as an example,
[0085] Similarly, the normalized weights for the other four second regions are calculated.
[0086] The output format is (region, weight), for example (Tianjin, 0.35), (Hebei, 0.28), (Shanxi, 0.18), (Inner Mongolia, 0.12), (Liaoning, 0.07).
[0087] (3) Population flow model search
[0088] Obtain the population figures for Beijing and other regions.
[0089] According to the population flow model (gravity model) shown in formula (3), calculate the number of people flowing from Beijing to other regions respectively:
[0090] Formula (3),
[0091] in, This represents the number of people flowing from requesting region i to region j. , Let represent the population of region i and the population of region j, respectively. K represents the distance between the requesting region i and region j. It is a coefficient.
[0092] Pick The L regions with the largest values are designated as the third regions, and the weight of each third region is equal to the weight of that region. The value accounts for L regions The proportion of the total value.
[0093] Assuming the calculations show that the top 5 regions with the largest inflow of people from Beijing are: Tianjin (100,000), Guangdong (80,000), Shanghai (80,000), Hangzhou (50,000), and Jiangsu (40,000), then the total number of people leaving Beijing from these top 5 regions is 350,000.
[0094] The weights for each third region are calculated as follows:
[0095] Tianjin weight = 10 / 35, Guangdong weight = 8 / 35, Shanghai weight = 8 / 35, Hangzhou weight = 5 / 35, Jiangsu weight = 4 / 35.
[0096] The output format is (region, weight), for example (Tianjin, 10 / 35), (Guangdong, 8 / 35), (Shanghai, 8 / 35), (Hangzhou, 5 / 35), (Jiangsu, 4 / 35).
[0097] In step S14, for each of the first, second, and third regions, a weighted fusion calculation is performed on its weight as the first region, its weight as the second region, and its weight as the third region to obtain the probability of each region, and the region with the highest probability is selected as the target region.
[0098] The probability of each region is calculated according to the following formula (4).
[0099] Formula (4),
[0100] in, Let represent the probability of region s. 'b' represents the weight for historical call analysis, 'c' represents the weight for searching the sociological pattern database, and 'c' represents the weight for searching the population mobility model. This indicates the weight of region s as the first region. This indicates the weight of region s as the second region. This indicates the weight of region s as a third region.
[0101] In this embodiment, based on experience, the weights for historical call analysis (a=0.4), sociological pattern database lookup (b=0.3), and population flow model lookup (c=0.3) are assigned respectively.
[0102] The probability of all candidate regions (i.e., the first region, the second region, and the third region) is calculated according to formula (4).
[0103] For example, the probability R of Tianjin 天津 =0.4×0.375 (Tianjin weight in historical call analysis) + 0.3×0.35 (Tianjin weight in sociological pattern database search) + 0.3×10 / 35 (Tianjin weight in population flow model search) = 0.3408.
[0104] For example, the probability R of Shanghai 上海 =0.4×0.250+0.3×0 (Shanghai is not among the top 5 regions in the sociological pattern database search, so its weight is 0)+0.3×8 / 35=0.1687.
[0105] Similarly, the probability of each region is calculated. It is understood that in this embodiment, the historical call analysis, sociological pattern database lookup, and population flow model lookup will output a maximum of 15 regions, because each only outputs the first 5 regions.
[0106] Comparing the probabilities of all candidate regions, for example, Tianjin has the highest probability (0.3408), so Tianjin is selected as the target region.
[0107] In step S15, according to the calling template, the business records corresponding to the business type are queried from the data source of the target region, and the queried business records are returned.
[0108] Specifically, following the provident fund retrieval template determined in step S12, the individual's provident fund payment records are queried from the data source (provincial data source) of the Tianjin Municipal Housing Provident Fund Management Center.
[0109] Then, the retrieved housing provident fund payment records are returned to the external housing provident fund business system.
[0110] Preferably, the present invention further includes writing each query record into the full historical query log, which is used to update the number of times each region is queried in the full historical query log.
[0111] Specifically, after the query is completed, the query record (including query time, request parameters, target region, query results, etc.) will be written to the full historical query log for updating the regional distribution statistics.
[0112] Preferably, the present invention monitors the status of the entire service chain in real time, and completes data quality verification, interface health monitoring, anomaly alarms, and full-process log auditing.
[0113] It is understood that the region in this embodiment refers to the provincial capitals and municipalities directly under the central government.
[0114] Preferably, the present invention supports access via multiple communication protocols. In one embodiment, the following three types of interfaces can be opened simultaneously:
[0115] (1) HTTP / HTTPS interface: suitable for traditional synchronous query scenarios, where external business systems initiate query requests through RESTful API.
[0116] (2) WebSocket interface: suitable for scenarios that require real-time push of query results. External business systems maintain communication with the system through WebSocket long connection.
[0117] (3) Message Queue (MQ) interface: suitable for high-concurrency asynchronous query scenarios. External business systems write query requests to the message queue, consume requests from the message queue and return results asynchronously.
[0118] Different types of external business systems can choose the appropriate communication protocol to access the system based on their own business needs.
[0119] In one embodiment, when a new business type (such as "social security inquiry") needs to be added, the present invention does not require modification of the underlying code; adaptation can be completed simply by following these steps:
[0120] (1) Develop a new plugin module to encapsulate the social security query call template (including request parameter format, return data format, query logic, etc.).
[0121] (2) Deploy the plug-in module into the electronic device of the present invention, and register the mapping relationship between the business type "social security" and the plug-in module in the configuration of the electronic device.
[0122] (3) When the electronic device receives a data query request with the business type "social security", it automatically matches and calls the corresponding social security query plug-in module.
[0123] The aforementioned plug-in mechanism decouples business requirements from the underlying code, significantly reducing the complexity of system expansion.
[0124] In the above embodiments, the following parameters can be optimized and adjusted according to the actual application scenario:
[0125] The number of N regions with the highest number of queries selected in the historical call analysis is preferably N=5, but other numbers can be selected according to the actual situation.
[0126] The number of the M regions closest to Beijing selected in the sociological pattern database search is preferably M=5.
[0127] Selected in the population mobility model search The number of regions with the largest value is L, preferably L=5.
[0128] The constant σ in the sociological law library takes a value of 1200.
[0129] The coefficient K in the population mobility model takes a value of 0.001.
[0130] The coefficient β in the population mobility model is set to 1.2.
[0131] The weights for historical data analysis (a), sociological data set (b), and population mobility model (c) are set to 0.4, 0.3, and 0.3, respectively.
[0132] The parameters above are all illustrative examples. Those skilled in the art can make appropriate adjustments based on actual application scenarios and data characteristics, and all of these adjustments fall within the protection scope of this invention.
[0133] The present invention has the following beneficial effects:
[0134] Reduce invalid queries and improve query efficiency: By using a weighted fusion decision based on three dimensions—historical call analysis, sociological pattern database, and population flow model—the system intelligently locates the region most likely to store the target data. This avoids the large number of invalid queries caused by traditional solutions that access data sources from each province in a fixed order or blindly query based solely on the requester's region, significantly improving query hit rate and overall query efficiency.
[0135] Decoupling business requirements from underlying code and supporting dynamic configuration: By encapsulating the call template into a plugin module, the decoupling of business types from underlying code is achieved. When a new business type needs to be added or the call strategy needs to be adjusted, the adaptation can be completed without modifying the underlying code, which greatly reduces the cost of system maintenance and expansion.
[0136] Unified interface and simplified cross-province connection: By connecting to provincial public data platforms across the country through a unified call template interface, the interface differences of data sources in different provinces are shielded, simplifying the cross-provincial data connection process.
[0137] Multi-source information fusion and high decision-making accuracy: By comprehensively utilizing information from three dimensions—historical call distribution, sociological patterns (urban cluster association, administrative coordination priority, and economic correlation) and population flow patterns—for weighted fusion decision-making, the target region positioning is more accurate compared to single-dimensional regional selection schemes.
[0138] Self-iterative optimization: After each query, a full historical query log is recorded to update the regional distribution statistics, so that the weight distribution of the historical call analysis is continuously optimized as data accumulates. The system has the ability to learn and iterate.
[0139] Security and compliance: During the access request phase, identity authentication, access permission verification, and request parameter validity verification (including traffic control and sensitive word filtering) are completed to ensure system security and data compliance.
[0140] This invention provides an apparatus for cross-provincial public data fusion services, such as... Figure 2 As shown, the device 20 includes:
[0141] The receiving unit 201 receives a data query request initiated by an external business system and performs identity authentication, access permission verification, and request parameter legality verification on the data query request.
[0142] Matching unit 202 matches the corresponding call template according to the business type in the data query request;
[0143] Unit 203 extracts the key features of the data query request, and performs historical call analysis, sociological pattern database search and population flow model search based on the key features to determine the first region and weight, the second region and weight and the third region and weight. The key features include the request input parameters and the requester's region.
[0144] Decision unit 204 performs a weighted fusion calculation on each of the first region, the second region, and the third region, taking its weight as the first region, its weight as the second region, and its weight as the third region, to obtain the probability of each region, and takes the region with the highest probability as the target region.
[0145] The query unit 205 queries the data source of the target region for the business type according to the calling template, and returns the queried business records.
[0146] It is understandable that the receiving unit 201, matching unit 202, determining unit 203, decision-making unit 204, and query unit 205 can... Figure 3 The processor 1404 in the electronic device 1400 has the functions of these modules or units to implement them.
[0147] The present invention also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform [operations]. Figure 1 The method shown.
[0148] The present invention also provides a computer program product, including computer-executable instructions, which are executed by processor 1404 to perform [the following]. Figure 1 The method shown.
[0149] Now for reference Figure 3 , Figure 3 An example electronic device 1400 according to an embodiment of the present invention is illustrated schematically. In one embodiment, the electronic device 1400 may include one or more processors 1404, a system control logic unit 1408 connected to at least one of the processors 1404, a system memory 1412 connected to the system control logic unit 1408, a non-volatile memory (NVM) 1416 connected to the system control logic unit 1408, and a network interface 1420 connected to the system control logic unit 1408.
[0150] In some embodiments, processor 1404 may include one or more single-core or multi-core processors. In some embodiments, processor 1404 may include any combination of general-purpose processors and special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In embodiments where electronic device 1400 employs an eNB (Evolved Node B) or RAN (Radio Access Network) controller, processor 1404 may be configured to perform various conforming embodiments, such as... Figure 1 The example shown.
[0151] In some embodiments, the system control logic unit 1408 may include any suitable interface controller to provide any suitable interface to at least one of the processors 1404 and / or any suitable device or component communicating with the system control logic unit 1408.
[0152] In some embodiments, the system control logic unit 1408 may include one or more memory controllers to provide an interface to the system memory 1412. The system memory 1412 may be used to load and store data and / or instructions. In some embodiments, the system memory 1412 of the electronic device 1400 may include any suitable volatile memory, such as suitable dynamic random access memory (DRAM).
[0153] The non-volatile memory 1416 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. In some embodiments, the non-volatile memory 1416 may include any suitable non-volatile memory such as flash memory and / or any suitable non-volatile storage device, such as at least one of HDD (Hard Disk Drive), CD (Compact Disc) drive, and DVD (Digital Versatile Disc) drive.
[0154] The non-volatile memory 1416 may include a portion of the storage resources on the device on which the electronic device 1400 is installed, or it may be accessible by the electronic device, but is not necessarily part of the electronic device. For example, the non-volatile memory 1416 may be accessed over a network via network interface 1420.
[0155] Specifically, system memory 1412 and non-volatile memory 1416 may each include a temporary copy and a permanent copy of instruction 1424. Instruction 1424 may include, when executed by at least one of processors 1404, causing electronic device 1400 to perform, as Figure 1 The instructions for the method shown. In some embodiments, the instructions 1424, hardware, firmware and / or software components thereof may additionally / alternatively be located in the system control logic unit 1408, the network interface 1420 and / or the processor 1404.
[0156] Network interface 1420 may include a transceiver for providing a radio interface to electronic device 1400, thereby enabling communication with any other suitable device (such as a front-end module, antenna, etc.) via one or more networks. In some embodiments, network interface 1420 may be integrated into other components of electronic device 1400. For example, network interface 1420 may be integrated into at least one of processor 1404, system memory 1412, non-volatile memory 1416, and firmware device (not shown) with instructions, which, when at least one of processor 1404 executes the instructions, enable electronic device 1400 to perform as follows: Figure 1 The method shown.
[0157] The network interface 1420 may further include any suitable hardware and / or firmware to provide a multiple-input multiple-output radio interface. For example, the network interface 1420 may be a network adapter, a wireless network adapter, a telephone modem, and / or a wireless modem.
[0158] In one embodiment, at least one of the processors 1404 may be packaged together with the logic of one or more controllers for the system control logic unit 1408 to form a system package (SiP). In another embodiment, at least one of the processors 1404 may be integrated on the same die with the logic of one or more controllers for the system control logic unit 1408 to form a system on chip (SoC).
[0159] The electronic device 1400 may further include an input / output (I / O) device 1432. The input / output (I / O) device 1432 may include a user interface enabling a user to interact with the electronic device 1400; the peripheral component interface is designed to allow peripheral components to also interact with the electronic device 1400. In some embodiments, the electronic device 1400 may also include sensors for determining at least one type of environmental condition and location information related to the electronic device 1400.
[0160] In some embodiments, the user interface may include, but is not limited to, a display (e.g., a liquid crystal display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., a still image camera and / or a video camera), a flashlight (e.g., a light-emitting diode flash), and a keyboard.
[0161] Various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or combinations of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0162] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.
[0163] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0164] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (CD-ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.
[0165] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0166] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.
[0167] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0168] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.
Claims
1. A method for cross-provincial public data fusion services, used in electronic devices, characterized in that, include: Receive data query requests initiated by external business systems, and perform identity authentication, access permission verification, and request parameter validity verification on the data query requests; Match the corresponding call template based on the business type in the data query request; Extract the key features of the data query request, and based on the key features, perform historical call analysis, sociological pattern database search and population flow model search respectively, so as to determine the first region and weight, the second region and weight and the third region and weight. The key features include the request input parameters and the requester's region. For each of the first region, the second region, and the third region, a weighted fusion calculation is performed on its weight as the first region, its weight as the second region, and its weight as the third region to obtain the probability of each region. The region with the highest probability is selected as the target region. According to the call template, query the data source of the target region for the business record corresponding to the business type, and return the queried business record.
2. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The data query requests include government affairs query requests, financial query requests, and credit information query requests. The identity authentication includes verifying the API Key, digital certificate, or OAuth 2.0 Token in the data query request; the access permission verification includes verifying whether the requester has the permission to access the requested data; and the request parameter validity verification includes the execution of traffic control policies and sensitive word filtering.
3. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The call template is encapsulated in the form of a plugin module. Different business types have corresponding call templates pre-set, and the decoupling of business requirements and underlying code is achieved through plugin matching.
4. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The request parameters include an ID card number or a mobile phone number, and the requester's region is determined based on the ID card number or the mobile phone number.
5. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The historical call analysis includes: Collect all historical query logs related to the aforementioned business type; If there is no historical query record for the requested input parameter, then directly query the business record corresponding to the region to which the requested input parameter belongs. If the record is found, then directly return the business record and end the process. If the historical query record exists for the requested input parameters and the corresponding business record is found, then the business record is returned directly and the process ends. If no corresponding business record is found for the requested input parameters, the number of queries for each region is counted based on the full historical query log. The N regions with the highest number of queries are selected as the first region. The weight of each first region is the proportion of the number of queries for that first region to the total number of queries for the N regions. The first region does not include the requester's region and does not include regions that have not been found in the history of the request parameters.
6. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The search of the sociological pattern database includes: Based on pre-existing city cluster relationships, provincial administrative coordination priorities, and regional economic linkages, multiple candidate regions associated with the requesting party's region are determined. Select the M regions from the candidate regions that are closest to the requester's region as the second region; The weight of each second region is calculated according to the following formulas (1) and (2): Official (1), Official (2), in Let i be the distance from the requester's region i to the second region j. It is a constant. For the unnormalized weights of the second region j, This represents the normalized weight of the second region j.
7. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The population mobility model lookup includes: Obtain the population of the requesting region and the population of other regions; Calculate the number of people flowing from the requesting region to other regions based on the population flow model shown in the following formula (3): Official (3), in, This represents the number of people who flowed from region i to region j. , Let i and j represent the population of the requesting region i and the population of the requesting region, respectively. K represents the distance between the requesting region i and region j. It is a coefficient; Pick The L regions with the largest values are designated as the third regions, and the weight of each third region is equal to the weight of that region. The value accounts for the proportion of the L regions. The proportion of the total value.
8. The method for cross-provincial public data fusion service according to claim 1, characterized in that, The probability of each region is calculated according to the following formula (4). Official (4), in, Let represent the probability of region s. denoted by , b represents the weight for the historical call analysis; denoted by , b represents the weight for the search in the sociological pattern database; and denoted by , c represents the weight for the search in the population mobility model. This indicates that region s is the weight of the first region. This indicates that region s is the weight of the second region. This indicates the weight of region s as the third region.
9. The method for cross-provincial public data fusion service according to claim 1, characterized in that, Also includes: Each query record is written to the full historical query log, which is used to update the number of times each region is queried in the full historical query log.
10. An apparatus for cross-provincial public data fusion services, characterized in that, include: The receiving unit receives data query requests initiated by external business systems and performs identity authentication, access permission verification, and request parameter validity verification on the data query requests. The matching unit matches the corresponding call template based on the business type in the data query request; The steps are defined, and the key features of the data query request are extracted. Based on the key features, historical call analysis, sociological pattern database search and population flow model search are performed respectively to determine the first region and weight, the second region and weight and the third region and weight. The key features include the request input parameters and the requester's region. The decision-making unit performs a weighted fusion calculation on each of the first region, the second region, and the third region, taking its weight as the first region, its weight as the second region, and its weight as the third region, to obtain the probability of each region, and selects the region with the highest probability as the target region. The query unit, according to the calling template, queries the data source of the target region for the business record corresponding to the business type, and returns the queried business record.
11. A computer-readable storage medium, characterized in that, The storage medium stores instructions that, when executed on a computer, cause the computer to perform the method for cross-provincial public data fusion service as described in any one of claims 1-9.
12. An electronic device, characterized in that, include: One or more processors; One or more memories; the one or more memories store one or more programs that, when executed by the one or more processors, cause the electronic device to perform the method of cross-provincial public data fusion service as described in any one of claims 1-9.
13. A computer program product comprising computer-executable instructions, characterized in that, The instructions are executed by the processor to implement the method for cross-provincial public data fusion service as described in any one of claims 1-9.
