Government affair field data resource real-time exchange method, system and device and medium
By introducing a streaming resource platform into the government data exchange system, configuring permissions and dynamically allocating data production rights, the challenges of the existing government data exchange system in real-time, data synchronization, data flow processing capabilities, security and privacy protection, and unified management and monitoring have been solved, and efficient, secure and real-time exchange of government data resources has been achieved, supporting the improvement of government decision-making and services.
Patent Information
- Application Number
- CN202411842973.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-05-13
AI Technical Summary
The existing government data exchange system has many challenges in real-time, data synchronization, data flow processing capabilities, security and privacy protection, as well as unified management and monitoring, resulting in inefficient data exchange and affecting the timeliness and accuracy of government services.
By establishing a data sharing hub based on a streaming resource platform, streaming data exchange of government data resources is realized, resource creation, query and operation permissions are configured, and data production permissions are dynamically allocated and recycled, supporting efficient access and convenient acquisition of data, ensuring real-time exchange and secure transmission of data.
Real-time exchange of government data resources has been realized, real-time and exchange efficiency of data has been improved, data security and compliance are ensured, timeliness and accuracy of government decision-making and services have been supported, and government digital transformation has been promoted.
Smart Images

Figure CN119988441A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer technology, and more specifically, relates to a method, system, device and medium for real-time exchange of data resources in the government affairs field. Background Art
[0002] In today's era of rapid development of informatization, government big data has become an important force in promoting the innovative development of electronic government. With the widespread application and in-depth development of government platforms, the speed, scale and type richness of government data have reached unprecedented levels. These data not only cover traditional structured data, such as statistical reports, household registration population information, etc., but also include a large amount of unstructured data, such as social media information, video surveillance data, etc., showing the comprehensive upgrade of government data in terms of quantity, quality and type.
[0003] However, despite the rich government data resources, the real-time exchange capability of government data faces many challenges in actual government scenarios, becoming a key bottleneck restricting the innovative development of e-government. The specific technical defects are as follows: 1. Lack of real-time performance: The current government data exchange system often adopts traditional batch processing methods, which cannot reflect the latest status of data in a timely manner, resulting in delayed data updates and unable to meet the needs of government application scenarios with high real-time requirements.
[0004] 2. Data synchronization barriers: Differences in data formats and standards between different government platforms lead to synchronization difficulties during data exchange and serious information island phenomena, which hinder the comprehensive integration and efficient use of government data.
[0005] 3. Limited data flow processing capabilities: Faced with massive, high-speed, and diverse government data flows, existing data exchange systems often lack efficient data flow processing capabilities, resulting in low data exchange efficiency and affecting the timeliness and accuracy of government services.
[0006] 4. Security and privacy protection issues: Government data involves sensitive information. During the real-time exchange process, how to ensure the secure transmission and privacy protection of data and prevent data leakage and illegal access has become a technical problem that needs to be solved urgently.
[0007] 5. Lack of unified management and monitoring: Existing government data exchange systems often lack unified data life cycle management, authority management, and usage monitoring mechanisms, which makes the data exchange process difficult to trace and audit, increasing the risks of data management and use. Summary of the invention
[0008] In response to the above problems, the purpose of the present invention is to provide a method, system, equipment and medium for real-time exchange of data resources in the government field, based on a streaming resource platform as a data sharing hub, to establish a streaming data exchange channel for government data resources, to establish a streaming data sharing process, and to promote the sharing of streaming data to data-demand departments.
[0009] In order to achieve the above object, the present invention is implemented through the following technical solutions: In a first aspect, an embodiment of the present application provides a method for real-time exchange of data resources in the government affairs field, including: Collect streaming data resources of government departments based on the streaming resource platform, and configure resource creation permissions, resource query permissions, and resource operation permissions; In response to receiving an application for streaming data resources to go online, after review, data production permissions are allocated to streaming data resources based on the underlying message queue of the streaming resource platform; In response to receiving the streaming resource offline application, after review, the data production rights of the streaming data resource are reclaimed based on the underlying message queue of the streaming resource platform; When the streaming data resource is successfully launched, data entry permissions are allocated to the resource provider terminal, and data is accessed based on the production data access interface of the streaming resource platform to perform data management; A resource acquisition request is sent to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resource is sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal.
[0010] In an optional implementation, the collecting of streaming data resources of government departments based on the streaming resource platform includes: Use the streaming resource platform to access the data service terminals of government departments; Obtain real-time government data and convert it into streaming data resources; The streaming data resource includes a resource name, a resource description, a resource field name, a resource field name, a resource attachment, and a name of a platform to which the resource belongs.
[0011] In an optional implementation, the resource creation permission includes: Fill in the cardinality information of the streaming data resource through the graphical interface to complete the resource creation; The resource query permissions include: Fill in the search keywords in the form, search the entered streaming data resources based on the built-in search algorithm, and generate search results; The resource operation permissions include: Resource online permission, resource offline permission, resource editing permission and resource deletion permission.
[0012] In an optional implementation, in response to receiving the streaming data resource online application, after review, allocating data production rights to the streaming data resource based on the underlying message queue of the streaming resource platform includes: In response to receiving the streaming data resource online application, after being reviewed and approved by the management terminal, a Topic queue is created for the streaming data resource based on the underlying message queue of the streaming resource platform and data production permissions are allocated; Generate a data access interface for streaming data resources and establish a real-time data exchange channel with the resource provider terminal.
[0013] In an optional implementation, in response to receiving the streaming resource offline application, after review, based on the underlying message queue of the streaming resource platform, the data production rights of the streaming data resource are recovered, including: In response to receiving the streaming resource offline application, after being reviewed and approved by the management terminal, the Topic queue created for the streaming data resource and the allocated data production authority are recovered based on the underlying message queue of the streaming resource platform.
[0014] In an optional implementation, when the streaming data resource is successfully launched, data entry permissions are allocated to the resource providing terminal, data is accessed based on the production data access interface of the streaming resource platform, data management is performed, and the streaming data resource is authorized, including: When the streaming data resource is successfully launched, the resource provider terminal is assigned unique data entry permissions; The production data access interface based on the streaming resource platform provides a data interface based on the HTTPS protocol for the access resource terminal, establishes a data exchange channel, and obtains real-time data; Store real-time data into the hard disk of the streaming resource platform; Monitor the access status of real-time data and send an alarm notification message to the management terminal when the access status is abnormal.
[0015] In an optional implementation, the resource acquisition request is sent to the streaming resource platform through the resource demand terminal, and when the streaming data resource is authorized successfully, the queried streaming data resource is sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal, including: Sending a resource acquisition request to the streaming resource platform through the resource demand terminal, the resource acquisition request including data type, format and time range; After receiving the resource acquisition request, the streaming resource platform reviews the identity information of the resource demand terminal to determine the identity and authority of the resource demand terminal; After the review is passed, the resource demand terminal is assigned a unique resource query permission, and the resource demand terminal is assigned a production data acquisition interface, and a real-time data exchange channel is established with the resource demand terminal based on the HTTPS protocol; The table is used to record the keywords sent by the resource demand terminal, the entered streaming data resources are retrieved based on the built-in retrieval algorithm, and the retrieval results are generated and returned to the resource demand terminal.
[0016] In a second aspect, the embodiment of the present application further provides a real-time exchange system for data resources in the government affairs field, including: The streaming resource management module is used to collect streaming data resources of government departments based on the streaming resource platform, and configure resource creation permissions, resource query permissions, and resource operation permissions; The streaming resource online module is used to respond to the receipt of the streaming data resource online application and allocate data production rights to the streaming data resource based on the underlying message queue of the streaming resource platform after review; The streaming resource offline module is used to respond to the receipt of the streaming resource offline application and, after review, reclaim the data production rights of the streaming data resource based on the underlying message queue of the streaming resource platform; The streaming resource access module is used to allocate data entry permissions to resource provision terminals after the streaming data resources are successfully launched, access data based on the production data access interface of the streaming resource platform, and perform data management; The streaming resource acquisition module is used to send resource acquisition requests to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resources are sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal.
[0017] In a third aspect, an embodiment of the present application further provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for real-time exchange of data resources in the government affairs field as described in any one of the above items are implemented.
[0018] In a fourth aspect, an embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for real-time exchange of data resources in the government affairs field as described in any one of the above items are implemented.
[0019] It can be seen from the above technical solutions that the present invention has the following advantages: In the real-time exchange method of data resources in the government affairs field provided by this application, relying on the streaming resource platform, the comprehensive collection and refined management of streaming data resources of government departments are realized. By configuring resource creation, query and operation permissions, the security and compliance of data resources are ensured, and customized data access rights are also provided for different users. In the process of data resource going online and offline, the method can dynamically allocate and recycle data production permissions based on the underlying message queue of the streaming resource platform, realizing flexible allocation and efficient utilization of resources. In addition, the method also supports efficient access and convenient acquisition of data. The resource providing terminal can quickly access data through the production data access interface, and the resource demand terminal can quickly obtain the required data through the resource acquisition request. Throughout the process, the real-time exchange of data is fully guaranteed, which helps to improve government decision-making and service levels and promote the digital transformation process of the government.
[0020] This application is created through streaming data resources, and the collection and access of real-time government data is realized. The resource provider connects the real-time government data to the streaming resource platform by calling the data access interface generated by the platform. The development threshold is low, which is conducive to rapid access to data.
[0021] This application shares the real-time government data that has been connected through streaming data resource authorization. The resource demander obtains the real-time government data in real time by calling the data acquisition interface generated by the platform. The development threshold is low, which is conducive to the rapid acquisition of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0023] Figure 1 A flowchart of the real-time exchange method of data resources in the government field provided for this application.
[0024] Figure 2 A structural diagram of the real-time exchange system of data resources in the government affairs field provided for this application.
[0025] Figure 3 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION
[0026] In the specific steps of the real-time exchange method of data resources in the government affairs field, which will be described in detail below, various embodiments of the present disclosure will be described more comprehensively. The present disclosure may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be understood to cover all adjustments, equivalents and / or alternatives that fall within the spirit and scope of the various embodiments of the present disclosure.
[0027] Hereinafter, the terms "include" or "may include" used in various embodiments of the present disclosure indicate the presence of disclosed functions, operations, or elements, and do not limit the addition of one or more functions, operations, or elements. In addition, as used in various embodiments of the present disclosure, the terms "include", "have", and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components, or a combination of the foregoing, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components, or a combination of the foregoing or the possibility of adding one or more features, numbers, steps, operations, elements, components, or a combination of the foregoing.
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] See also Figure 1 The figure is a method flow chart of a method for real-time exchange of data resources in the government affairs field in a specific embodiment, the method comprising: S1: Collect streaming data resources of government departments based on the streaming resource platform, and configure resource creation permissions, resource query permissions, and resource operation permissions.
[0030] In the specific implementation, the streaming resource platform is first used to access the data service terminal of the government department; then, the real-time government data is obtained and converted into streaming data resources. Finally, based on the built-in functions of the streaming resource platform, resource creation permissions, resource query permissions, and resource operation permissions are configured.
[0031] As an example, the purpose of this step is to implement streaming resource management. Streaming resource management is the foundation of the streaming resource platform, which is responsible for collecting streaming data resources of various government departments. Specifically, it can be used to collect basic information of real-time government data, including resource name, resource description, resource field name, resource field name, resource attachment, resource platform name, etc. The key responsibilities of streaming resource management include the following functions implemented through configuration: Resource creation: Provides a graphical interface for users to fill in basic information of streaming resources.
[0032] Resource query: In the form of a table, users can retrieve the entered streaming data resources.
[0033] Resource operation: Provides online, offline, editing, and deletion functions to realize the conversion of streaming resources between various states.
[0034] S2: In response to receiving an application for online streaming data resources, after review, data production permissions are allocated to the streaming data resources based on the underlying message queue of the streaming resource platform.
[0035] In a specific implementation, in response to receiving an application for streaming data resources to go online, after being reviewed and approved by the management terminal, a Topic queue is created for the streaming data resources based on the underlying message queue of the streaming resource platform and data production permissions are allocated. At this point, a data access interface is generated for the streaming data resources, and a real-time data exchange channel is established with the resource providing terminal.
[0036] In this step, in order to officially release the streaming resource, it is necessary to launch the streaming resource online. Specifically, first, after submitting an online application to the streaming resource platform, the platform's management terminal will review it. After the review is passed, the streaming resource platform will create a Topic queue for the streaming resource based on the underlying message queue and assign data production permissions.
[0037] Among them, the streaming resource platform automatically generates a data access interface for streaming resources based on the OAuth2.0 security protocol. The data resource provider terminal can collect real-time data to the streaming resource platform by calling the data access interface.
[0038] S3: In response to receiving the streaming resource offline application, after review, the data production rights of the streaming data resource are reclaimed based on the underlying message queue of the streaming resource platform.
[0039] In a specific implementation, in response to receiving a streaming resource offline application, after being reviewed and approved by the management terminal, the Topic queue created for the streaming data resource and the allocated data production authority are recovered based on the underlying message queue of the streaming resource platform.
[0040] The purpose of this step is to realize the offline operation of streaming resources. Specifically, first submit an offline application to the streaming resource platform, which will be reviewed by the platform's management terminal. After the review is passed, the streaming resource platform will reclaim the streaming resource's creation topic and data production permissions based on the underlying message queue.
[0041] S4: When the streaming data resource is successfully launched, data entry permissions are allocated to the resource provider terminal, and data is accessed based on the production data access interface of the streaming resource platform to perform data management.
[0042] In a specific implementation, when the streaming data resource is successfully launched, firstly, the resource providing terminal is assigned a unique data entry permission. Then, the data interface based on the HTTPS protocol of the resource providing terminal is accessed based on the production data access interface of the streaming resource platform, and a data exchange channel is established to obtain real-time data; at this time, the real-time data is stored in the hard disk of the streaming resource platform. In addition, this step can monitor the access status of the real-time data, and when the access status is abnormal, an alarm notification message is sent to the management terminal.
[0043] As an example, the purpose of this step is to realize the collection of real-time government data to the streaming resource platform. Specifically, when the streaming resources are successfully launched, the production data access interface of the streaming resource platform is seamlessly connected to the real-time data exchange channel, and the resource provider terminal can continuously push real-time data to the real-time data exchange channel only through an interface based on the HTTPS protocol. Among them, the production data access interface has the characteristics of high availability, low latency, high scalability, and high throughput.
[0044] After the streaming resource platform obtains the data, it manages the accessed real-time data in a unified manner, including: temporarily storing it in a persistent form on the hard disk; allocating unique data entry authorization to the resource provider terminal; monitoring the data access status, and notifying the platform administrator in real time when data access is abnormal.
[0045] S5: Send a resource acquisition request to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resource is sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal.
[0046] In a specific implementation method, first, a resource acquisition request is sent to the streaming resource platform through the resource demand terminal, and the resource acquisition request includes data type, format and time range. After receiving the resource acquisition request, the streaming resource platform reviews the identity information of the resource demand terminal to determine the identity and authority of the resource demand terminal. After the review is passed, a unique resource query permission is assigned to the resource demand terminal, and the resource demand terminal is assigned a production data acquisition interface, and a real-time data exchange channel is established with the resource demand terminal based on the HTTPS protocol. Finally, a table is used to record the keywords sent by the resource demand terminal, and the entered streaming data resources are retrieved based on the built-in retrieval algorithm, and the retrieval results are generated and returned to the resource demand terminal.
[0047] As an example, the purpose of this step is to share real-time government data with resource demanders so that they can apply the real-time data to specific business scenarios and empower actual work and business.
[0048] Specifically, after the streaming resource is successfully authorized, the streaming resource platform is seamlessly connected to the real-time data exchange channel through the production data acquisition interface. The resource demand terminal can obtain the data resources in the real-time data exchange channel in real time only through the interface based on the HTTPS protocol. Among them, the production data acquisition interface has the characteristics of high availability, low latency, high scalability and high throughput.
[0049] At this time, the query information of the resource demand terminal is obtained through the streaming resource platform, and the real-time data being queried is managed in a unified manner. Specifically, it includes: returning real-time data in batches to improve the response speed of the data query interface; allocating unique data query authorization to the resource demand terminal to avoid interference between the query progress of different demand parties; monitoring the data acquisition status, and notifying the platform administrator in real time when data acquisition is abnormal.
[0050] In this embodiment, through an innovative means of real-time exchange of data resources in the government field, the technical advantages of the streaming resource platform are fully utilized to achieve comprehensive collection and efficient management of streaming data resources in government departments. In terms of the authority configuration of data resources, this method achieves refined division to ensure the security, compliance and on-demand access of data. At the same time, by dynamically allocating and recovering data production permissions, this method achieves flexible deployment and efficient use of data resources. In addition, it also supports rapid access and convenient acquisition of data, ensures real-time exchange and sharing of data, provides strong support for government decision-making and services, and promotes the in-depth development of government digital transformation.
[0051] like Figure 2 As shown, the following is an embodiment of the real-time exchange system of data resources in the government field provided by the embodiment of the present disclosure. The system and the real-time exchange method of data resources in the government field in the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the real-time exchange system of data resources in the government field, please refer to the embodiment of the real-time exchange method of data resources in the government field mentioned above.
[0052] It should be noted that the real-time data resource exchange system in the government affairs field disclosed in this embodiment is based on a streaming resource platform. The main development language used is Java; the main development framework is SpringBoot+BootStrap; the interaction between the modules within the system is based on the Dubbo distributed service framework, using the RPC remote procedure call protocol; a real-time data exchange channel is built based on the message queue Kafka cluster to achieve real-time data processing and analysis; cache Redis is used to optimize the performance of key functional nodes; and data storage Mysql is used to record platform business information.
[0053] Among them, distributed computing and storage are the infrastructure for the streaming resource platform to achieve real-time exchange. Distributed computing frameworks and distributed storage provide efficient data processing and storage capabilities. The API interface is the means for the streaming resource platform to achieve real-time data exchange. Through the API interface, the streaming resource platform can obtain and transmit data in real time to meet the data exchange requirements between different systems. RESTful API is a commonly used API design style that is simple, flexible and efficient. Through the RESTful API, the streaming resource platform can achieve data interaction between different systems and support multiple data formats (such as JSON, XML, etc.).
[0054] This embodiment discloses a real-time exchange system of data resources in the government affairs field, including: a streaming resource management module 1, a streaming resource online module 2, a streaming resource offline module 3, a streaming resource access module 4 and a streaming resource acquisition module 5.
[0055] The streaming resource management module 1 is used to collect streaming data resources of government departments based on the streaming resource platform, and configure resource creation permissions, resource query permissions and resource operation permissions.
[0056] The streaming resource online module 2 is used to respond to receiving the streaming data resource online application and, after review, allocate data production permissions to the streaming data resource based on the underlying message queue of the streaming resource platform.
[0057] The streaming resource offline module 3 is used to respond to receiving a streaming resource offline application and, after review, reclaim the data production authority of the streaming data resource based on the underlying message queue of the streaming resource platform.
[0058] The streaming resource access module 4 is used to allocate data entry permissions to the resource providing terminal after the streaming data resource is successfully launched, access data based on the production data access interface of the streaming resource platform, and perform data management.
[0059] The streaming resource acquisition module 5 is used to send a resource acquisition request to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resource is sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal.
[0060] The real-time exchange system of data resources in the government affairs field provided in this embodiment realizes the comprehensive collection of streaming data resources of government departments, fine permission configuration, flexible online and offline management, efficient data access and convenient resource acquisition by integrating five modules: streaming resource management, online, offline, access and acquisition. The system not only improves the management efficiency and security of data resources, but also promotes the real-time exchange and sharing of data, provides timely and accurate data support for government decision-making, promotes digital transformation and the improvement of governance capabilities, and achieves the beneficial effects of efficient utilization and optimal configuration of government data resources.
[0061] Figure 3 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0062] The real-time exchange method of data resources in the government affairs field provided in the embodiment of the present application can be applied to electronic devices. It can be understood by those skilled in the art that the electronic device structure involved in the embodiment of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or less components than shown, or combine certain components, or arrange different components. In an embodiment of the present invention, the electronic device includes but is not limited to a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the embodiments of the present application described and / or required herein.
[0063] The electronic device may include a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, a wireless communication module, an audio module, a speaker, a microphone, a sensor module, buttons, a camera, a display, and a SIM card interface, etc.
[0064] The processor may include one or more processing units, for example, the processor may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors.
[0065] The processor can be the nerve center and command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0066] A memory may also be provided in the processor for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. The memory may store instructions or data that the processor has just used or is cyclically used. If the processor needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor, and thus improves system efficiency.
[0067] The external memory interface can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor through the external memory interface to implement data storage functions. For example, files such as music and videos can be saved in the external memory card.
[0068] The internal memory can be used to store computer executable program codes, which include instructions. The processor executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory. The internal memory may include a program storage area and a data storage area. The internal memory may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0069] The wireless communication function of an electronic device can be realized through an antenna, a wireless communication module, a modem processor, and a baseband processor.
[0070] The wireless communication module can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0071] Electronic devices can implement audio functions, etc. through audio modules, speakers, receivers, microphones, headphone jacks, and application processors.
[0072] Electronic devices can achieve shooting functions through ISP, camera, video codec, GPU, display and application processor.
[0073] Electronic devices can achieve display functions through GPU, display screen and application processor.
[0074] The GPU is a microprocessor for image processing that connects the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs that execute program instructions to generate or change display information.
[0075] The display screen is used to display images, videos, etc. The display screen includes a display panel.
[0076] The above-mentioned electronic device realizes the real-time exchange method of data resources in the government field of this application through refined authority management, dynamic resource allocation, efficient data access and convenient acquisition, and real-time data exchange, which significantly improves the management efficiency and utilization value of data resources in the government field, and achieves the beneficial effect of data-driven government decision-making and service optimization.
[0077] The storage medium provided in the present application stores a program product that can implement a real-time exchange method of data resources in the government affairs field.
[0078] The real-time exchange method of data resources in the government field includes: collecting streaming data resources of government departments based on a streaming resource platform, and configuring resource creation permissions, resource query permissions and resource operation permissions; in response to receiving an application for streaming data resources to go online, after review, allocating data production permissions for streaming data resources based on the underlying message queue of the streaming resource platform; in response to receiving an application for streaming resources to go offline, after review, reclaiming the data production permissions of streaming data resources based on the underlying message queue of the streaming resource platform; when the streaming data resources are successfully online, allocating data entry permissions to the resource providing terminal, accessing data based on the production data access interface of the streaming resource platform, and performing data management; sending a resource acquisition request to the streaming resource platform through a resource demand terminal, and when the streaming data resources are authorized successfully, sending the queried streaming data resources to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query permissions of the resource demand terminal.
[0079] In some possible implementations, the method for real-time exchange of data resources in the government field disclosed in the present invention can be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps described in the above "Exemplary Method" section of this specification according to various exemplary implementations of the present disclosure.
[0080] The storage medium of the present disclosure can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0081] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for real-time exchange of data resources in the government affairs field, characterized in that: include: Collect streaming data resources of government departments based on the streaming resource platform, and configure resource creation permissions, resource query permissions, and resource operation permissions; In response to receiving an application for streaming data resources to go online, after review, data production permissions are allocated to streaming data resources based on the underlying message queue of the streaming resource platform; In response to receiving the streaming resource offline application, after review, the data production rights of the streaming data resource are reclaimed based on the underlying message queue of the streaming resource platform; When the streaming data resource is successfully launched, data entry permissions are allocated to the resource provider terminal, and data is accessed based on the production data access interface of the streaming resource platform to perform data management; A resource acquisition request is sent to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resource is sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal.
2. The method for real-time exchange of data resources in the government affairs field according to claim 1 is characterized in that: The streaming data resources of government departments are collected based on the streaming resource platform, including: Use the streaming resource platform to access the data service terminals of government departments; Obtain real-time government data and convert it into streaming data resources; The streaming data resource includes a resource name, a resource description, a resource field name, a resource field name, a resource attachment, and a name of a platform to which the resource belongs.
3. The method for real-time exchange of data resources in the government affairs field according to claim 2 is characterized by: The resource creation permissions include: Fill in the cardinality information of the streaming data resource through the graphical interface to complete the resource creation; The resource query permissions include: Fill in the search keywords in the form, search the entered streaming data resources based on the built-in search algorithm, and generate search results; The resource operation permissions include: Resource online permission, resource offline permission, resource editing permission and resource deletion permission.
4. The method for real-time exchange of data resources in the government affairs field according to claim 3 is characterized in that: The response to receiving the streaming data resource online application, after review, allocates data production rights to the streaming data resource based on the underlying message queue of the streaming resource platform, including: In response to receiving the streaming data resource online application, after being reviewed and approved by the management terminal, a Topic queue is created for the streaming data resource based on the underlying message queue of the streaming resource platform and data production permissions are allocated; Generate a data access interface for streaming data resources and establish a real-time data exchange channel with the resource provider terminal.
5. The method for real-time exchange of data resources in the government affairs field according to claim 4 is characterized in that: The response to receiving the streaming resource offline application, after review, reclaiming the data production authority of the streaming data resource based on the underlying message queue of the streaming resource platform, includes: In response to receiving the streaming resource offline application, after being reviewed and approved by the management terminal, the Topic queue created for the streaming data resource and the allocated data production authority are recovered based on the underlying message queue of the streaming resource platform.
6. The method for real-time exchange of data resources in the government affairs field according to claim 5 is characterized in that: When the streaming data resource is successfully launched, data entry permissions are allocated to the resource providing terminal, data is accessed based on the production data access interface of the streaming resource platform, data management is performed, and streaming data resources are authorized, including: When the streaming data resource is successfully launched, the resource provider terminal is assigned unique data entry permissions; The production data access interface based on the streaming resource platform provides a data interface based on the HTTPS protocol for the access resource terminal, establishes a data exchange channel, and obtains real-time data; Store real-time data into the hard disk of the streaming resource platform; Monitor the access status of real-time data and send an alarm notification message to the management terminal when the access status is abnormal.
7. The method for real-time exchange of data resources in the government affairs field according to claim 6 is characterized in that: The resource acquisition request is sent to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resource is sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal, including: Sending a resource acquisition request to the streaming resource platform through the resource demand terminal, the resource acquisition request including data type, format and time range; After receiving the resource acquisition request, the streaming resource platform reviews the identity information of the resource demand terminal to determine the identity and authority of the resource demand terminal; After the review is passed, the resource demand terminal is assigned a unique resource query permission, and the resource demand terminal is assigned a production data acquisition interface, and a real-time data exchange channel is established with the resource demand terminal based on the HTTPS protocol; The table is used to record the keywords sent by the resource demand terminal, the entered streaming data resources are retrieved based on the built-in retrieval algorithm, and the retrieval results are generated and returned to the resource demand terminal.
8. A real-time exchange system for data resources in the government affairs field, characterized in that: The system adopts the real-time exchange method of data resources in the government affairs field as claimed in any one of claims 1 to 7; The system comprises: The streaming resource management module is used to collect streaming data resources of government departments based on the streaming resource platform, and configure resource creation permissions, resource query permissions, and resource operation permissions; The streaming resource online module is used to respond to the receipt of the streaming data resource online application and allocate data production rights to the streaming data resource based on the underlying message queue of the streaming resource platform after review; The streaming resource offline module is used to respond to the receipt of the streaming resource offline application and, after review, reclaim the data production rights of the streaming data resource based on the underlying message queue of the streaming resource platform; The streaming resource access module is used to allocate data entry permissions to resource provision terminals after the streaming data resources are successfully launched, access data based on the production data access interface of the streaming resource platform, and perform data management; The streaming resource acquisition module is used to send resource acquisition requests to the streaming resource platform through the resource demand terminal. When the streaming data resource is authorized successfully, the queried streaming data resources are sent to the resource demand terminal through the production data acquisition interface of the streaming resource platform according to the resource query authority of the resource demand terminal.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for real-time exchange of data resources in the government affairs field as described in any one of claims 1 to 7 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for real-time exchange of data resources in the government affairs field as described in any one of claims 1 to 7 are implemented.