CN117909399A - Method, device and equipment for acquiring government resource - Google Patents

Method, device and equipment for acquiring government resource Download PDF

Info

Publication number
CN117909399A
CN117909399A CN202410080238.3A CN202410080238A CN117909399A CN 117909399 A CN117909399 A CN 117909399A CN 202410080238 A CN202410080238 A CN 202410080238A CN 117909399 A CN117909399 A CN 117909399A
Authority
CN
China
Prior art keywords
government
resource
identifier
parameter
government resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410080238.3A
Other languages
Chinese (zh)
Inventor
胡建平
陈胜凯
周海军
卢毅辉
林泽佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Digital Guangdong Network Construction Co Ltd
Original Assignee
Digital Guangdong Network Construction 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 Digital Guangdong Network Construction Co Ltd filed Critical Digital Guangdong Network Construction Co Ltd
Priority to CN202410080238.3A priority Critical patent/CN117909399A/en
Publication of CN117909399A publication Critical patent/CN117909399A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a government resource acquisition method, a government resource acquisition device and government resource acquisition equipment, relates to the technical field of computers, and can improve the development efficiency of interfaces and reduce the maintenance cost of the interfaces. The method comprises the following steps: responding to a catalog inquiry instruction triggered by a first user on a first application page, and displaying a government resource catalog on the first application page; acquiring a government resource identifier to be configured selected by a first user from each candidate government resource identifier, and a parameter entering identifier group and a parameter exiting identifier group selected from each candidate government resource identifier, and initiating a configuration request to a government resource providing end in a government system, wherein the configuration request is used for indicating the government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to information carried by the configuration request; and receiving a configuration success message fed back by the government resource providing end, starting a target interface calling rule, and calling a government resource service interface through the target interface calling rule to acquire a target government resource from the government resource providing end.

Description

Method, device and equipment for acquiring government resource
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for acquiring government resources.
Background
In order to realize the sharing of government resources, currently, a government resource providing end (for example, a database server end of the government system) can provide a service for acquiring the government resources to each government resource calling end (for example, a client end of each government department) through an interface service.
Because the responsibilities of different government departments are different, the government resources to be accessed by different government resource calling ends are different, and the interface services required by the different government resource calling ends are different. Therefore, in order to meet the diversified demands of different government resource calling ends for the interface service, the government resource providing end can provide customized interface service for the government resource calling ends according to the demands of the different government resource calling ends for the interface service (namely, different interfaces are provided for different government resource calling ends). However, the existing government resource providing mode requires a developer to spend a great deal of time to develop the interface, and the maintenance cost for the interface service is high.
Disclosure of Invention
The application provides a government resource acquisition method, a government resource acquisition device and government resource acquisition equipment, which can improve the development efficiency of an interface and reduce the maintenance cost of the interface service.
In order to achieve the above purpose, the application adopts the following technical scheme:
In a first aspect, the present application provides a method for acquiring government resource, where the method can be applied to a government resource calling end in a government system, and the method includes: responding to a catalog inquiry instruction triggered by a first user on a first application page, and displaying a government resource catalog on the first application page; the government resource catalog is used for representing each candidate government resource identifier corresponding to each candidate government resource identifier respectively; acquiring a to-be-configured government resource identifier selected by a first user from all candidate government resource identifiers, and a parameter entering identifier group and a parameter exiting identifier group selected from all candidate government information identifiers corresponding to the to-be-configured government resource identifiers, and initiating a configuration request to a government resource providing end in a government system; the configuration request is used for indicating a government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and under the condition that a successful configuration message fed back by the government resource providing end is received, a target interface calling rule is started, and a preconfigured government resource service interface is called through the target interface calling rule to acquire the target government resource from the government resource providing end.
In a second aspect, the present application provides a device for acquiring government resources, where the device may be configured at a government resource calling end in a government system, and the device includes: the device comprises a display module, a sending module and an acquisition module;
The display module is used for responding to a catalog inquiry instruction triggered by the first user on the first application page and displaying a government resource catalog on the first application page; the government resource catalog is used for representing each candidate government resource identifier corresponding to each candidate government resource identifier respectively; the sending module is used for acquiring a government resource identifier to be configured selected from the candidate government resource identifiers by a first user, and a parameter entering identifier group and a parameter exiting identifier group selected from the candidate government information identifiers corresponding to the government resource identifiers to be configured, and initiating a configuration request to a government resource providing end in a government system; the configuration request is used for indicating a government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and the acquisition module is used for starting a target interface calling rule under the condition that a configuration success message fed back by the government resource providing end is received, and calling a pre-configured government resource service interface through the target interface calling rule to acquire the target government resource from the government resource providing end.
In a third aspect, the present application provides a method for acquiring government resources, where the method may be applied to a government resource providing end in a government system, and the method includes: under the condition that a configuration request initiated by a government resource calling end in a government system is received, creating a target interface calling rule aiming at the government resource identifier to be configured based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and feeding back a configuration success message to the government resource calling end, wherein the configuration success message is used for indicating the government resource calling end to start a target interface calling rule so as to call a pre-configured government resource service interface through the target interface calling rule to acquire target government resource from the government resource providing end.
In a fourth aspect, the present application provides a device for acquiring government resources, where the device may be configured at a government resource providing end in a government system, and the device includes: the system comprises a creation module and a sending module;
The creating module is used for creating a target interface calling rule aiming at the government resource identifier to be configured based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request under the condition that the configuration request initiated by the government resource calling end in the government system is received; the sending module is used for feeding back a configuration success message to the government resource calling end, and is used for indicating the government resource calling end to start a target interface calling rule so as to call a pre-configured government resource service interface through the target interface calling rule to acquire target government resource from the government resource providing end.
In a fifth aspect, the present application provides a government resource obtaining device, including a memory, a processor, a bus, and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the apparatus for acquiring government affairs resources is operated, the processor executes computer-executable instructions stored in the memory to cause the apparatus for acquiring government affairs resources to perform the method for acquiring government affair resources as provided in the first or third aspect.
In a sixth aspect, the present application provides a computer-readable storage medium having instructions stored therein, which when executed by a computer, cause the computer to perform the method for acquiring government resources as provided in the first or third aspect.
In a seventh aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the method of acquiring government resources as provided in the first or third aspects.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the government resource obtaining device or may be packaged separately from the processor of the government resource obtaining device, which is not limited in the present application.
In the present application, the names of the above-mentioned devices or functional modules are not limited, and in actual implementation, these devices or functional modules may appear under other names. Insofar as the function of each device or function module is similar to the present application, it falls within the scope of the present application and the equivalent technology thereof.
In the technical scheme provided by the application, the government resource catalogues of all the government resources stored in the government resource providing end can be provided for each government resource calling end, and the government resource catalogues can be used for displaying the names of all the government resources currently stored in the government resource providing end (particularly, the government resource catalogues comprise the corresponding relation between the names of all the government resources and the candidate government resource identifiers) and the names of all the information covered in each government resource (particularly, the government resource catalogues comprise the corresponding relation between the names of all the information and the candidate government information identifiers). When a government department has a demand for acquiring a government resource, a first user of the government department can trigger a catalog inquiry instruction in a first application page provided by a government resource calling end corresponding to the government department, so that the government resource calling end displays a government resource catalog for the first user on the first application page; then, the first user can perform custom configuration operation (including selecting a required government resource identifier to be configured from candidate government resource identifiers and selecting a required parameter entering identifier group and a required parameter exiting identifier group from candidate government information identifiers corresponding to the government resource identifiers to be configured) on the first application page, and the government resource calling terminal can initiate a configuration request to the government resource providing terminal in response to the custom configuration operation of the first user, so that the government resource providing terminal creates a target interface calling rule for the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and when the government resource calling end receives the configuration success message fed back by the government resource providing end, the target interface calling rule can be started, and when the target interface calling rule is started successfully, the government resource calling end can call a pre-configured government resource service interface through the target interface calling rule to acquire the target government resource from the government resource providing end. According to the technical scheme provided by the application, the government resource providing end can provide uniform interface service for all government resource calling ends and support the custom configuration of interface calling rules of each government resource calling end on the basis of the uniform interface service. Therefore, the differentiated resource acquisition requirements of each government resource calling end can be met by only developing a unified interface (namely a government resource service interface) and maintaining the unified interface, so that the interface development efficiency can be improved, and the maintenance cost of the interface service can be reduced.
These and other aspects of the application will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic structural diagram of a government system according to an embodiment of the present application;
Fig. 2 is a flow chart of a method for acquiring government resources according to an embodiment of the present application;
FIG. 3 is a flow chart of another method for acquiring government resources according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of a device for acquiring government resources according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a device for acquiring government resources according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for acquiring government resources according to an embodiment of the present application.
Detailed Description
The method, the device and the equipment for acquiring government resources provided by the embodiment of the application are described in detail below with reference to the accompanying drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or between different processes of the same object and not for describing a particular order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
In addition, the technical scheme of the application can acquire, store, use, process and the like the data, which accords with the relevant regulations of national laws and regulations.
The existing government resource providing mode requires a developer to spend a great deal of time to develop the interface, and the maintenance cost for the interface service is also high. Aiming at the problems existing in the prior art, the embodiment of the application provides a method for acquiring government affair resources, in the method, a government affair resource providing end can provide uniform interface service for all government affair resource calling ends and support the custom configuration of interface calling rules of all government affair resource calling ends on the basis of the uniform interface service. Thus, the development efficiency of the interface can be improved, and the maintenance cost of the interface service can be reduced.
The method for acquiring the government resource can be applied to a government system. Fig. 1 shows a structure of the government system. As shown in fig. 1, the government system includes a government resource providing terminal 01 and at least one government resource calling terminal 02, and the government resource providing terminal 01 is connected with each government resource calling terminal 02.
In one possible implementation manner, the government resource providing end 01 may be a database server end of a government system, and each government resource calling end 02 may be a client end of each government department; each government resource calling end 02 is used for acquiring government resources from the government resource providing end 01.
It should be noted that, in the following description of the embodiment of the present application, a process that one government resource calling end 02 obtains a government resource from a government resource providing end 01 will be described by taking as an example a process that the government resource providing end 01 obtains a government resource, where the process that the government resource providing end 01 provides a government resource to each government resource calling end 02 is the same.
The method for acquiring the government resource provided by the embodiment of the application is described below with reference to the government system shown in fig. 1.
Referring to fig. 2, an embodiment of the present application provides a method for acquiring government resources, where the method may be applied to any government resource calling end in the government system shown in fig. 1, and the method includes the following steps:
s201, responding to a catalog inquiry instruction triggered by a first user on a first application page, and displaying a government resource catalog on the first application page.
The first user can be a manager of a government resource calling end; for example, the first user may be an operator of a portal of a government department corresponding to the government resource calling end. The first application page can be a management configuration page corresponding to a government resource calling end; for example, the first application page may be a management configuration page of a portal of a government department corresponding to the government resource calling end.
The resource configuration control is displayed in default in the first application page, and the first user can trigger the government resource calling end to display the government resource catalog in the first application page by selecting the resource configuration control. In one possible implementation manner, the government resource provider may issue a link address of the government resource directory, and the government resource caller may obtain and display the government resource directory through the link address.
And the government resource catalog is used for representing each candidate government resource identifier and each candidate government information identifier corresponding to each candidate government resource identifier. The candidate government resource identifiers can be storage identifiers of various government resources in databases corresponding to government resource providing ends, and the candidate government information identifiers can be storage identifiers of various government information in the databases corresponding to government resource providing ends. Referring to table 1, a partial catalog schematic table of government resource catalogs is provided for an embodiment of the present application:
TABLE 1
As shown in table 1, names of government resources currently stored by the government resource provider (such as names of two government resources including "school information of primary and secondary schools in a province" and "hospital information of primary and secondary schools in a province" are shown in table 1) are shown in the government resource catalog, and candidate government resource identifiers corresponding to the names of government resources (for example, candidate government resource identifiers corresponding to "school information of primary and secondary schools in a province" are "t_school") are shown. In addition, names of various pieces of information (for example, "school name", "school address", "education type" three pieces of information corresponding to the "school name" of the "school information of the middle and primary schools" in the province) covered in each piece of government resource are also displayed in the government resource catalog, and candidate government information identifications corresponding to each piece of government information (for example, "xxmc" is displayed as candidate government information identification corresponding to the "school name").
Optionally, in the embodiment of the present application, in order to improve the security of the government resource providing end for data storage, in a government resource directory disclosed by the government resource providing end, the storage identifier of each government resource in a database corresponding to the government resource providing end and the storage identifier of each government information in a database corresponding to the government resource providing end may not be directly disclosed, but the storage identifier is converted into a code according to a predetermined rule, and the converted code is provided to the government resource calling end (that is, in the government resource directory disclosed by the government resource calling end, each candidate government resource identifier and each candidate government information identifier are both converted codes). In addition, the government resource providing end can store the corresponding relation between the storage identification and the converted code locally, and is used for restoring the code into the storage identification according to the corresponding relation when a resource acquisition request initiated by the government resource calling end (namely, an interface parameter is received) is received.
For example, referring to table 2, A part of A catalogue schematic table of A government resource catalogue disclosed to A government resource calling end by A government resource providing end is shown in table 2, and A candidate government resource identifier corresponding to A government resource, namely "school information of primary and secondary schools" in the province A, is "3070220000022/000885", and is obtained by encoding A storage identifier "t_school" corresponding to "school information of primary and secondary schools in the province A; similarly, candidate government information corresponding to the government information of the school name is identified as 3070220000022/000885001, and the candidate government information is obtained by encoding a storage identifier xxmc corresponding to the school name.
TABLE 2
S202, acquiring a to-be-configured government resource identifier selected by a first user from candidate government resource identifiers, and a parameter entering identifier group and a parameter exiting identifier group selected from candidate government information identifiers corresponding to the to-be-configured government resource identifiers, and initiating a configuration request to a government resource providing end in a government system.
The configuration request is used for indicating the government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request.
The parameter entering identification group comprises at least one candidate government information identification selected by a first user from all candidate government information identifications corresponding to the government resource identifications to be configured, the parameter exiting identification group comprises at least one candidate government information identification selected by the first user from all candidate government information identifications corresponding to the government resource identifications to be configured, and the candidate government information identifications in the parameter entering identification group and the parameter exiting identification group have no overlapping parts. For example, taking the government resource catalog shown in table 2 as an example, the government resource identifier to be configured selected by the first user may be "3070220000022/000885", the parameter-entering identifier group selected by the first user may be "3070220000022/000885001", and the parameter-exiting identifier group selected by the first user may be "3070220000022/000885002 and 3070220000022/000885003".
In one possible implementation manner, after receiving a configuration request carrying a government resource identifier to be configured, a parameter entering identifier group and a parameter exiting identifier group, the government resource provider can verify the application authority of a government resource calling end, and create a target interface calling rule for the government resource identifier to be configured under the condition that the government resource calling end is determined to have the application authority of the government resource corresponding to the government resource identifier to be configured. The target interface calling rule comprises corresponding relations among government resource identifiers to be configured, a parameter entering identifier group and a parameter exiting identifier group, and when the government resource service interface is called based on the target interface calling rule, the government resource service interface can analyze the government resource identifiers to be configured, the parameter entering identifier group and the parameter exiting identifier group from the target interface calling rule, so that corresponding resources are searched in a database corresponding to a government resource providing end according to analyzed information.
In another possible implementation manner, after receiving the configuration request carrying the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group, the government resource provider may present the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group for approval by a manager of the government resource provider, and after approval by the manager of the government resource provider, the government resource provider may perform a triggering operation on an application page of the government resource provider, thereby triggering the government resource provider to feed back a configuration success message to the government resource caller.
Optionally, the first application page presents a resource configuration area, a parameter entering configuration area and a parameter exiting configuration area, and the step of obtaining a to-be-configured government resource identifier selected by the first user from each candidate government resource identifier, and a parameter entering identifier group and a parameter exiting identifier group selected from each candidate government information identifier corresponding to the to-be-configured government resource identifier includes the following steps: s2021, responding to the configuration operation of a first user on target government resource identifiers in each candidate government resource identifier in a resource configuration area, and determining the target government resource identifier as a government resource identifier to be configured; s2022, responding to configuration operation of each first government information identifier in each candidate government information identifier corresponding to the government resource identifier to be configured by the first user in the parameter entering configuration area, and determining each first government information identifier as a parameter entering identifier group; s2023, responding to configuration operation of each second government information identifier in each candidate government information identifier corresponding to the government resource identifier to be configured in the parameter outputting configuration area by the first user, and determining each second government information identifier as a parameter outputting identifier group.
Each first government information identifier may be one or more first government information identifiers, and each second government information identifier may be one or more second government information identifiers.
It should be noted that the sequence of steps S2021, S2022, and S2023 is not limited in the embodiment of the present application. In practical applications, step S2022 may be performed before step S2021, and step S2023 may be performed before step S2021 or step S2022.
For example, taking a configuration operation of the resource configuration area on the target government resource identifier in each candidate government resource identifier as an example, the configuration operation may be a selection operation of the first user on the target government resource identifier in a selection field of the resource configuration area, or an input operation of the first user on the target government resource identifier in an input box of the resource configuration area, or a drag operation of the first user dragging the target government resource identifier in the government resource catalog to the resource configuration area.
And S203, under the condition that a successful configuration message fed back by the government resource providing end is received, enabling a target interface calling rule, and calling a pre-configured government resource service interface through the target interface calling rule to acquire target government resource from the government resource providing end.
The government resource service interface may be a pre-configured standardized unified interface. Illustratively, the structure field of the government resource service interface may be :commonQuery(String userid,String datacode,String inputstr,String returnstr,String conditionstr,String sortstr)., where commonQuery represents the name of the government resource service interface; userid represents a user identifier of a government resource calling end; datacode represents a government resource identifier to be configured; inputstr denotes a parameter identification group; returnstr shows a set of parameter identities; conditionstr denotes custom query conditions (which may be null characters); sortstr denotes an ordering rule (which may be null characters) for the queried results.
In the embodiment of the application, different interface calling rules correspond to different resource request modes (particularly, different in parameter entering and parameter exiting modes), and when the target interface calling rules are started, the government resource calling end can call the government resource service interface through the resource request mode corresponding to the target interface calling rules to acquire corresponding target government resources.
Optionally, a target interface calling rule is started, and a pre-configured government resource service interface is called through the target interface calling rule to acquire a target government resource from a government resource providing end, including: adding the target interface calling rule into each candidate interface calling rule; responding to a resource acquisition instruction triggered by a second user on a second application page and carrying a parameter entering identification group and a parameter entering field value corresponding to the parameter entering identification group, determining a target interface calling rule corresponding to the parameter entering identification group from all candidate interface calling rules, and taking the parameter entering field value and the target interface calling rule as an interface parameter transferring and calling government resource service interface so as to access a government resource providing end through the government resource service interface; acquiring a target government resource from a government resource providing end; the target government resource is determined by the government resource provider based on the interface parameter.
The second user can be an access user of the government resource calling end; for example, the second user may be an access user of a portal of a government department corresponding to the government resource calling end. The second application page can be a page of a portal website of a government department corresponding to the government resource calling end. The resource acquisition instruction may be an instruction triggered by a selection operation or an input operation performed by the second user on the parameter identification group and the parameter field value in the second application page.
Because the same government resource calling end may have calling requirements for a plurality of government resources, in the embodiment of the application, when the government resource calling end detects a resource acquisition instruction, a target interface calling rule corresponding to the parameter entering identification group selected by the second user can be determined from all candidate interface calling rules, so that which resource is required to be searched currently by the second user is determined, and then the corresponding resource is acquired according to the target interface calling rule.
For example, the government resource calling end may locally store an interface calling rule list, where the interface calling rule list includes one or more candidate interface calling rules (or more) that are currently configured (i.e., are currently enabled) by the government resource calling end, and the government resource calling end may dynamically adjust each candidate interface calling rule that is currently enabled by maintaining the interface calling rule list. When the resource acquisition instruction is detected by the administrative resource calling end, a target interface calling rule corresponding to the parameter entering identification group selected by the second user can be determined in each candidate interface calling rule of the interface calling rule list.
In view of the above, in the method for acquiring government resources provided by the embodiment of the present application, the government resource catalog of all government resources stored in the government resource providing end may be provided to each government resource calling end, where the government resource catalog may be used to display the names of all government resources currently stored in the government resource providing end (specifically, the correspondence between the names of all government resources and each candidate government resource identifier is included in the government resource catalog) and the names of all information covered in each government resource (specifically, the correspondence between the names of all information and each candidate government information identifier is included in the government resource catalog). When a government department has a demand for acquiring a government resource, a first user of the government department can trigger a catalog inquiry instruction in a first application page provided by a government resource calling end corresponding to the government department, so that the government resource calling end displays a government resource catalog for the first user on the first application page; then, the first user can perform custom configuration operation (including selecting a required government resource identifier to be configured from candidate government resource identifiers and selecting a required parameter entering identifier group and a required parameter exiting identifier group from candidate government information identifiers corresponding to the government resource identifiers to be configured) on the first application page, and the government resource calling terminal can initiate a configuration request to the government resource providing terminal in response to the custom configuration operation of the first user, so that the government resource providing terminal creates a target interface calling rule for the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and when the government resource calling end receives the configuration success message fed back by the government resource providing end, the target interface calling rule can be started, and when the target interface calling rule is started successfully, the government resource calling end can call a pre-configured government resource service interface through the target interface calling rule to acquire the target government resource from the government resource providing end. It can be seen that, in the embodiment of the present application, the government resource providing end can provide a unified interface service for all government resource calling ends, and support the custom configuration of the interface calling rules by each government resource calling end on the basis of the unified interface service. Therefore, the differentiated resource acquisition requirements of each government resource calling end can be met by only developing a unified interface (namely a government resource service interface) and maintaining the unified interface, so that the interface development efficiency can be improved, and the maintenance cost of the interface service can be reduced.
Referring to fig. 3, the embodiment of the application further provides a method for acquiring government resources, which can be applied to a government resource providing end in the government system shown in fig. 1, and the method comprises the following steps:
S301, under the condition that a configuration request initiated by a government resource calling end in a government system is received, a target interface calling rule aiming at the government resource identifier to be configured is created based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request.
S302, a successful configuration message is fed back to the government resource calling end, and the successful configuration message is used for indicating the government resource calling end to start a target interface calling rule so as to call a pre-configured government resource service interface through the target interface calling rule to acquire target government resource from the government resource providing end.
Optionally, the method for acquiring the government resource provided by the embodiment of the application further includes: under the condition that an interface parameter transmission comprising a parameter entering field value and a target interface calling rule is received, which is sent by a government resource calling end, analyzing a government resource identifier to be configured, a parameter entering identifier group and a parameter exiting identifier group from the target interface calling rule; generating target query conditions for the interface transmission parameters based on the government resource identifiers to be configured, the parameter entering identifier group, the parameter exiting identifier group and a predetermined query condition generation rule; inquiring the target government resource corresponding to the target inquiry condition, and returning the target government resource to the government resource calling end.
The query condition generation rule may be a predetermined rule for generating a query sentence.
In one possible implementation, the government resource provider may search a local database for a target government resource corresponding to the target query condition.
For example, taking the government resource catalog shown in table 1 as an example, if the government resource identifier to be configured is "t_school", the parameter entering identifier group is "xxmc", the parameter exiting identifier group is "xxdz", the target query condition generated based on the query condition generating rule may be "SELECT xxdz FROM t _ school WHERE xxmc" (the target query condition may be used to find the "xxdz" field corresponding to the "xxmc" field from the table corresponding to the "t_school").
Optionally, generating the target query condition for the interface transmission parameter based on the analyzed government resource identifier to be configured, the parameter entering identifier group, the parameter exiting identifier group and a predetermined query condition generation rule includes: determining a library table resource identifier corresponding to a government resource identifier to be configured based on a predetermined resource identifier coding table, and determining a first library table information identifier group corresponding to a parameter entering identifier group and a second library table information identifier group corresponding to a parameter exiting identifier group based on a predetermined government information coding table; and generating target query conditions according to the library table resource identifiers, the first library table information identifier group, the second library table information identifier group and the query condition generation rule.
The resource identification coding table can represent the corresponding relation between the storage identification (namely, the library table resource identification) of the government resource in the database and the coding (namely, the candidate government resource identification) of the government resource, and the government information coding table can represent the corresponding relation between the storage identification (namely, the library table information identification) of the government information in the database and the coding (namely, the candidate government information identification) of the government information.
For example, taking the government resource catalog shown in table 2 as an example, if the government resource identifier to be configured is "3070220000022/000885", the reference identifier group is "3070220000022/000885001", and the reference identifier group is "3070220000022/000885002", it may be determined that the library table resource identifier corresponding to "3070220000022/000885" is "t_school" based on the resource identifier encoding table, and it may be determined that the first library table information identifier group corresponding to "3070220000022/000885001" is "xxmc" and the second library table information identifier group corresponding to "3070220000022/000885002" is "xxdz" based on the government information encoding table, and then the target query condition may be generated based on the query condition generating rule: "SELECT xxdz FROM t-school WHERE xxmc".
Optionally, the configuration request also carries a user identifier of a government resource calling end; based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request, creating a target interface calling rule aiming at the government resource identifier to be configured, comprising: creating a target interface calling rule based on a government resource identifier to be configured, a parameter entering identifier group, a parameter exiting identifier group and a user identifier carried by a configuration request; under the condition that an interface parameter transmission comprising a parameter entering field value and a target interface calling rule is received, which is sent by a government resource calling end, analyzing a government resource identifier to be configured, a parameter entering identifier group and a parameter exiting identifier group from the target interface calling rule, wherein the method comprises the following steps: authenticating a user identifier in the interface transmission parameter under the condition that the interface transmission parameter sent by the government resource calling end is received; and if the authentication is passed, triggering and executing the operation of analyzing the government resource identification to be configured, the parameter entering identification group and the parameter exiting identification group from the target interface calling rule.
In the embodiment of the application, after receiving the interface transmission parameters, the government resource providing end can firstly determine whether the user identification applies for creating the corresponding target interface calling rule based on the user identification in the interface transmission parameters, and if so, can normally process the interface transmission parameters and return the query result; if it is determined that the request has not been made, processing of the interface transfer may be denied and a processing failure message returned.
Optionally, the configuration request may further carry interface call parameters such as a maximum call number of each period (for example, each day), and after receiving the interface call, the government resource provider may further determine an accumulated call number of the user identifier in the interface call in the current period, and if the accumulated call number does not exceed the maximum call number, may normally process the interface call return result.
It should be noted that, the method for acquiring the government resource provided in this embodiment and the method for acquiring the government resource provided in the foregoing embodiment belong to the same inventive concept, technical details which are not described in detail in this embodiment may refer to the foregoing embodiment, and the beneficial effects of the foregoing embodiment are also applicable in this embodiment.
In order to more clearly describe the method for acquiring government resources provided by the embodiment of the application, a complete example is used for the following description.
First, the government resource provider can provide the stored government resource catalog disclosure of all government resources to each government resource caller. When an education department has a demand for acquiring the education resources, a manager of the education department can trigger a catalog inquiry instruction on a first application page of a government resource calling end corresponding to the education department, and the government resource calling end can display a government resource catalog. Then, the manager of the education department may select the government resource identifier "3070220000022/000885" to be configured from the candidate government resource identifiers in the government resource catalog (in this example, table 2 is taken as an example), select the parameter entering identifier group "3070220000022/000885001" from the candidate government information identifiers corresponding to "3070220000022/000885", select the parameter entering identifier groups "3070220000022/000885002 and 3070220000022/000885003" from the candidate government information identifiers corresponding to "3070220000022/000885", and trigger the government resource calling end to initiate the configuration request carrying the government resource identifier "3070220000022/000885", the parameter entering identifier group "3070220000022/000885001" and the parameter exiting identifier groups "3070220000022/000885002 and 3070220000022/000885003" to the government resource providing end by performing a triggering operation on the selection confirmation control in the first application page after the selection is completed. After the government resource provider receives the configuration request, a target interface calling rule for the government resource service interface (the target interface calling rule includes the corresponding relation among various information in the configuration request) can be newly added locally, and a configuration success message is fed back to the government resource calling end, so that the government resource calling end can start to call the government resource service interface based on the target interface calling rule to acquire corresponding resources.
When the visiting user of the government resource calling end corresponding to the education department wants to query the address of a certain school, the parameter entering field value of XX school is input into an input frame corresponding to the parameter entering identification group 3070220000022/000885001 (the second application page can be provided with a plurality of input frames, and the second user can select the corresponding content of the input frame according to the prompt information of the input frame) in the second application page of the government resource calling end, so that the resource acquisition instruction is triggered. The government resource calling end can determine a target interface calling rule corresponding to the parameter entering identification group 3070220000022/000885001 from the candidate interface calling rules based on the resource obtaining instruction (the target interface calling rule comprises a government resource identification 3070220000022/000885 to be configured, a parameter entering identification group 3070220000022/000885001 and parameter exiting identification groups 3070220000022/000885002 and 3070220000022/000885003), each field in the target interface calling rule can be filled in a structural field commonQuery(String userid,String datacode,String inputstr,String returnstr,String conditionstr,String sortstr), of the government resource service interface to obtain an initial parameter commonQuery("YY","3070220000022/000885","3070220000022/000885001"、"3070220000022/000885002、3070220000022/000885003","0","0"),, and then the parameter entering field values of the initial parameter and XX school can be used as an interface parameter to enter the government resource service interface to initiate a query request to the government resource providing end.
After receiving the query request, the government resource provider may issue and analyze the to-be-configured government resource identifier "3070220000022/000885", the parameter-in identifier group "3070220000022/000885001", the parameter-out identifier groups "3070220000022/000885002 and 3070220000022/000885003", and the parameter-in field value "XX school" from the interface, and may authenticate the user identifier "YY" in the interface parameter, after the authentication is passed, determine that the library table resource identifier corresponding to the government resource identifier "3070220000022/000885" to be configured is "t_school" based on the resource identifier encoding table, and may determine that the first library table information identifier group corresponding to the parameter-in identifier group "3070220000022/000885001" is "xxmc" based on the government information encoding table, and the second library table information identifier group corresponding to the parameter-out identifier groups "3070220000022/000885002 and 3070220000022/000885003" is "xxdz and bxlx", and may generate the target query condition based on the query condition generating rule: "SELECT xxdz, bxlx FROM t _ school WHERE xxmc". Then, the government resource providing end can search a parameter-out field value corresponding to the parameter-in field value XX school in the database based on the target query condition, and then determine the parameter-out field value as a target government resource and return the target government resource to the government resource calling end.
As shown in fig. 4, the embodiment of the present application further provides a device for acquiring government resource, where the device may be configured at a government resource calling end in a government system, and the device includes: a display module 11, a transmission module 12 and an acquisition module 13.
Wherein, the display module 11 executes S201 in the above method embodiment, the sending module 12 executes S202 in the above method embodiment, and the obtaining module 13 executes S203 in the above method embodiment.
Specifically, the display module 11 is configured to respond to a directory query instruction triggered by the first user on the first application page, and display a government resource directory on the first application page; the government resource catalog is used for representing each candidate government resource identifier corresponding to each candidate government resource identifier respectively; the sending module 12 is configured to obtain a to-be-configured government resource identifier selected by a first user from all candidate government resource identifiers, and a parameter entering identifier group and a parameter exiting identifier group selected from all candidate government information identifiers corresponding to the to-be-configured government resource identifiers, and initiate a configuration request to a government resource providing end in a government system; the configuration request is used for indicating a government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and the acquisition module 13 starts a target interface calling rule under the condition that a configuration success message fed back by the government resource providing end is received, and a pre-configured government resource service interface is called through the target interface calling rule to acquire target government resource from the government resource providing end.
Optionally, the first application page presents a resource configuration area, a parameter entering configuration area, and a parameter exiting configuration area, and the sending module 12 is specifically configured to: responding to the configuration operation of the first user on the target government resource identification in the candidate government resource identifications in the resource configuration area, and determining the target government resource identification as the government resource identification to be configured; responding to configuration operation of each first government information identifier in each candidate government information identifier corresponding to the government resource identifier to be configured by the first user in the parameter entering configuration area, and determining each first government information identifier as a parameter entering identifier group; and responding to the configuration operation of each second government information identifier in each candidate government information identifier corresponding to the government resource identifier to be configured by the first user in the parameter outputting configuration area, and determining each second government information identifier as a parameter outputting identifier group.
Optionally, the acquiring module 13 is specifically configured to: adding the target interface calling rule into each candidate interface calling rule; responding to a resource acquisition instruction triggered by a second user on a second application page and carrying a parameter entering identification group and a parameter entering field value corresponding to the parameter entering identification group, determining a target interface calling rule corresponding to the parameter entering identification group from all candidate interface calling rules, and taking the parameter entering field value and the target interface calling rule as an interface parameter transferring and calling government resource service interface so as to access a government resource providing end through the government resource service interface; acquiring a target government resource from a government resource providing end; the target government resource is determined by the government resource provider based on the interface parameter.
Optionally, the acquiring device of the government resource may further include a storage module, where the storage module is configured to store program codes of the acquiring device of the government resource, and the like.
As shown in fig. 5, the embodiment of the present application further provides a device for acquiring government resources, where the device may be configured at a government resource providing end in a government system, and the device includes: a creation module 21 and a transmission module 22. Wherein the creation module 21 performs S301 in the above-described method embodiment, and the transmission module 22 performs S302 in the above-described method embodiment.
Specifically, the creating module 21 is configured to create, when a configuration request initiated by a government resource calling end in a government system is received, a target interface calling rule for the government resource identifier to be configured based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request; and the sending module 22 is configured to feed back a configuration success message to the government resource calling end, and is configured to instruct the government resource calling end to enable the target interface calling rule so as to call the pre-configured government resource service interface through the target interface calling rule to acquire the target government resource from the government resource providing end.
Optionally, the device for acquiring government resources provided by the application further comprises: a processing module; the processing module is used for: under the condition that an interface parameter transmission comprising a parameter entering field value and a target interface calling rule is received, which is sent by a government resource calling end, analyzing a government resource identifier to be configured, a parameter entering identifier group and a parameter exiting identifier group from the target interface calling rule; generating target query conditions for the interface transmission parameters based on the government resource identifiers to be configured, the parameter entering identifier group, the parameter exiting identifier group and a predetermined query condition generation rule; inquiring the target government resource corresponding to the target inquiry condition, and returning the target government resource to the government resource calling end.
Optionally, the processing module is specifically configured to: determining a library table resource identifier corresponding to a government resource identifier to be configured based on a predetermined resource identifier coding table, and determining a first library table information identifier group corresponding to a parameter entering identifier group and a second library table information identifier group corresponding to a parameter exiting identifier group based on a predetermined government information coding table; and generating target query conditions according to the library table resource identifiers, the first library table information identifier group, the second library table information identifier group and the query condition generation rule.
Optionally, the configuration request also carries a user identifier of a government resource calling end; the creation module 21 is specifically configured to: creating a target interface calling rule based on a government resource identifier to be configured, a parameter entering identifier group, a parameter exiting identifier group and a user identifier carried by a configuration request; the processing module is specifically further configured to: authenticating a user identifier in the interface transmission parameter under the condition that the interface transmission parameter sent by the government resource calling end is received; and if the authentication is passed, triggering and executing the operation of analyzing the government resource identification to be configured, the parameter entering identification group and the parameter exiting identification group from the target interface calling rule.
Optionally, the acquiring device of the government resource may further include a storage module, where the storage module is configured to store program codes of the acquiring device of the government resource, and the like.
As shown in fig. 6, the embodiment of the present application further provides a device for acquiring government resources, where the device may be embedded with the acquiring device for government resources shown in fig. 4 or fig. 5, and is configured to execute the corresponding acquiring method for government resources. The device includes a memory 41, a processor (such as 42-1 and 42-2 in fig. 6), a bus 43, and a communication interface 44; the memory 41 is used for storing computer-executed instructions, and the processor is connected with the memory 41 through the bus 43; when the apparatus for acquiring government affairs resources operates, the processor executes computer-executable instructions stored in the memory 41 to cause the apparatus for acquiring government affairs resources to execute the method for acquiring government affairs resources as provided in the above-described embodiment.
In a particular implementation, the processor may include, as one embodiment, one or more central processing units (central processing unit, CPU), such as CPU0 and CPU1 shown in FIG. 6. And as one example, the government resource acquisition device may include a plurality of processors, such as processor 42-1 and processor 42-2 shown in fig. 6. Each of these processors may be a single-Core Processor (CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 41 may be, but is not limited to, a read-only memory 41 (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 41 may be stand alone and be connected to the processor via a bus 43. The memory 41 may also be integrated with the processor.
In a specific implementation, the memory 41 is used for storing data in the present application and computer-executable instructions corresponding to a software program for executing the present application. The processor may access various functions of the device by running or executing a software program stored in the memory 41 and invoking data stored in the memory 41.
Communication interface 44, using any transceiver-like device, is used to communicate with other devices or communication networks, such as a control system, a radio access network (radio access network, RAN), a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 44 may include a receiving unit to implement a receiving function and a transmitting unit to implement a transmitting function.
Bus 43 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus 43 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
As an example, in connection with fig. 4, the function implemented by the acquisition module in the acquiring apparatus of government resources is the same as the function implemented by the receiving unit in fig. 6, and the function implemented by the transmitting module in the acquiring apparatus of government resources is the same as the function implemented by the transmitting unit in fig. 6. When the device for acquiring the administrative resources comprises a storage module, the function realized by the storage module is the same as that realized by the memory in fig. 6.
The explanation of the related content in this embodiment may refer to the above method embodiment, and will not be repeated here.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein again.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the computer executes the instructions, the computer executes the method for acquiring the government resource provided by the embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (erasable programmable read only memory, EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (10)

1. The method for acquiring the government resource is characterized by being applied to a government resource calling end in a government system, and comprises the following steps:
responding to a catalog inquiry instruction triggered by a first user on a first application page, and displaying a government resource catalog on the first application page; the government resource catalog is used for representing each candidate government resource identifier corresponding to each candidate government resource identifier;
Acquiring a to-be-configured government resource identifier selected by the first user from the candidate government resource identifiers, and a parameter entering identifier group and a parameter exiting identifier group selected from the candidate government information identifiers corresponding to the to-be-configured government resource identifiers, and initiating a configuration request to a government resource providing end in the government system; the configuration request is used for indicating the government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request;
and under the condition that a successful configuration message fed back by the government resource providing end is received, the target interface calling rule is started, and a pre-configured government resource service interface is called through the target interface calling rule to acquire target government resource from the government resource providing end.
2. The method for acquiring government resources according to claim 1, wherein the first application page presents a resource allocation area, a parameter entry allocation area, and a parameter exit allocation area, and the acquiring the government resource identifier to be configured selected by the first user from the candidate government resource identifiers, and the parameter entry identifier group and the parameter exit identifier group selected from the candidate government information identifiers corresponding to the government resource identifiers to be configured includes:
Responding to the configuration operation of the first user on the target government resource identification in the candidate government resource identifications in the resource configuration area, and determining the target government resource identification as the government resource identification to be configured;
responding to configuration operation of the first user on each first government information mark in each candidate government information mark corresponding to the government resource mark to be configured in the parameter entering configuration area, and determining each first government information mark as the parameter entering mark group;
And responding to configuration operation of the first user on each second government information identifier in each candidate government information identifier corresponding to the government resource identifier to be configured in the parameter outputting configuration area, and determining each second government information identifier as the parameter outputting identifier group.
3. The method for acquiring the government resource according to claim 1, wherein the enabling the target interface calling rule calls a preconfigured government resource service interface through the target interface calling rule to acquire the target government resource from the government resource providing terminal, includes:
Adding the target interface calling rule into each candidate interface calling rule;
Responding to a resource acquisition instruction triggered by a second user on a second application page, wherein the resource acquisition instruction carries the parameter entering identification group and parameter entering field values corresponding to the parameter entering identification group, determining the target interface calling rule corresponding to the parameter entering identification group from the candidate interface calling rules, and calling the government resource service interface by taking the parameter entering field values and the target interface calling rule as interface parameters so as to access the government resource providing end through the government resource service interface;
Acquiring the target government resource from the government resource providing end; and the target government resource is determined by the government resource providing end based on the interface parameter transmission.
4. The method for acquiring the government resource is characterized by being applied to a government resource providing end in a government system, and comprises the following steps:
Under the condition that a configuration request initiated by a government resource calling end in the government system is received, creating a target interface calling rule aiming at the government resource identifier to be configured based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request;
and feeding back a configuration success message to the government resource calling end, wherein the configuration success message is used for indicating the government resource calling end to start the target interface calling rule so as to call a pre-configured government resource service interface through the target interface calling rule to acquire target government resource from the government resource providing end.
5. The method for acquiring government resources according to claim 4, further comprising:
Under the condition that an interface parameter transmission comprising a parameter entering field value and the target interface calling rule is received, which are sent by the government resource calling end, analyzing the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group from the target interface calling rule;
Generating a target query condition aiming at the interface transmission parameters based on the government resource identification to be configured, the parameter entering identification group, the parameter exiting identification group and a predetermined query condition generation rule;
inquiring the target government resource corresponding to the target inquiry condition, and returning the target government resource to the government resource calling end.
6. The method for acquiring government resources according to claim 5, wherein the generating a target query condition for the interface parameter based on the government resource identifier to be configured, the parameter-entering identifier group, the parameter-exiting identifier group, and a predetermined query condition generation rule includes:
determining a library table resource identifier corresponding to the government resource identifier to be configured based on a predetermined resource identifier coding table, and determining a first library table information identifier group corresponding to the parameter entering identifier group and a second library table information identifier group corresponding to the parameter exiting identifier group based on a predetermined government information coding table;
And generating the target query condition according to the library table resource identification, the first library table information identification group, the second library table information identification group and the query condition generation rule.
7. The method for acquiring government resources according to claim 5, wherein the configuration request further carries a user identifier of the government resource calling end; the creating a target interface calling rule for the government resource identifier to be configured based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request comprises the following steps: creating the target interface calling rule based on the government resource identifier to be configured, the parameter entering identifier group, the parameter exiting identifier group and the user identifier carried by the configuration request;
Under the condition that the interface parameter transmission comprising the parameter entering field value and the target interface calling rule sent by the government resource calling end is received, analyzing the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group from the target interface calling rule, wherein the method comprises the following steps:
under the condition that the interface transmission parameters sent by the government resource calling end are received, authenticating the user identification in the interface transmission parameters;
and if the authentication is passed, triggering and executing the operation of analyzing the government resource identification to be configured, the parameter entering identification group and the parameter exiting identification group from the target interface calling rule.
8. The utility model provides a government affair resource's acquisition device which characterized in that disposes the government affair resource calling end in government affair system, said device includes:
The display module is used for responding to a catalog inquiry instruction triggered by a first user on a first application page and displaying a government resource catalog on the first application page; the government resource catalog is used for representing each candidate government resource identifier corresponding to each candidate government resource identifier;
The sending module is used for acquiring a government resource identifier to be configured selected from the candidate government resource identifiers by the first user, and a parameter entering identifier group and a parameter exiting identifier group selected from the candidate government information identifiers corresponding to the government resource identifiers to be configured, and initiating a configuration request to a government resource providing end in the government system; the configuration request is used for indicating the government resource providing end to establish a target interface calling rule aiming at the government resource identifier to be configured according to the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request;
And the acquisition module is used for starting the target interface calling rule under the condition that the configuration success message fed back by the government resource providing end is received, and calling a preconfigured government resource service interface through the target interface calling rule to acquire the target government resource from the government resource providing end.
9. The utility model provides a government affair resource's acquisition device, its characterized in that disposes the government affair resource providing end in government affair system, the device includes:
The creating module is used for creating a target interface calling rule aiming at the government resource identifier to be configured based on the government resource identifier to be configured, the parameter entering identifier group and the parameter exiting identifier group carried by the configuration request under the condition that the configuration request initiated by the government resource calling end in the government system is received;
And the sending module is used for feeding back a configuration success message to the government resource calling end and indicating the government resource calling end to start the target interface calling rule so as to call a pre-configured government resource service interface through the target interface calling rule to acquire target government resource from the government resource providing end.
10. The government resource acquisition equipment is characterized by comprising a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus;
when the government resource acquisition device is operated, the processor executes the computer-executed instructions stored in the memory, so that the government resource acquisition device executes the government resource acquisition method according to any one of claims 1 to 3 or the government resource acquisition method according to any one of claims 4 to 7.
CN202410080238.3A 2024-01-19 2024-01-19 Method, device and equipment for acquiring government resource Pending CN117909399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410080238.3A CN117909399A (en) 2024-01-19 2024-01-19 Method, device and equipment for acquiring government resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410080238.3A CN117909399A (en) 2024-01-19 2024-01-19 Method, device and equipment for acquiring government resource

Publications (1)

Publication Number Publication Date
CN117909399A true CN117909399A (en) 2024-04-19

Family

ID=90681671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410080238.3A Pending CN117909399A (en) 2024-01-19 2024-01-19 Method, device and equipment for acquiring government resource

Country Status (1)

Country Link
CN (1) CN117909399A (en)

Similar Documents

Publication Publication Date Title
CN110348239B (en) Desensitization rule configuration method, data desensitization method, system and computer equipment
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN109617647B (en) Message conversion method and device, computer equipment and computer readable storage medium
CN110213290B (en) Data acquisition method, API gateway and storage medium
CN110708335A (en) Access authentication method and device and terminal equipment
CN112416458A (en) Preloading method and device based on ReactNative, computer equipment and storage medium
CN111885184A (en) Method and device for processing hot spot access keywords in high concurrency scene
CN111818175A (en) Enterprise service bus configuration file generation method, device, equipment and storage medium
CN113626223A (en) Interface calling method and device
CN113656098A (en) Configuration acquisition method and system
CN111488286B (en) Method and device for independently developing Android modules
CN112818270A (en) Data cross-domain transfer method and device and computer equipment
CN108959294A (en) A kind of method and apparatus accessing search engine
CN117909399A (en) Method, device and equipment for acquiring government resource
CN115774584A (en) Data processing method and device, electronic equipment and storage medium
CN114489603A (en) Code generation method, apparatus, electronic device, medium, and product
CN113342338A (en) Method and device for generating job list and storage medium
CN113590352A (en) Data calling method, device, equipment and readable storage medium
CN112417324A (en) Chrome-based URL (Uniform resource locator) interception method and device and computer equipment
CN112860398A (en) Data processing method, device, equipment and medium based on rule engine
CN112558950A (en) System interface generation method and device
CN110704498A (en) Data extraction method, device, equipment and computer readable storage medium
CN113282591B (en) Authority filtering method, authority filtering device, computer equipment and storage medium
CN115659406B (en) Data access method
KR20100014088A (en) System for storing and sharing partial data of web-page

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