CN111182529B - Police application processing method and device, electronic equipment and storage medium - Google Patents

Police application processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111182529B
CN111182529B CN201911171027.6A CN201911171027A CN111182529B CN 111182529 B CN111182529 B CN 111182529B CN 201911171027 A CN201911171027 A CN 201911171027A CN 111182529 B CN111182529 B CN 111182529B
Authority
CN
China
Prior art keywords
application
terminal
police
target
service
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.)
Active
Application number
CN201911171027.6A
Other languages
Chinese (zh)
Other versions
CN111182529A (en
Inventor
毛纯纯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Cloud Computing Beijing 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 Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Cloud Computing Beijing Co Ltd
Priority to CN201911171027.6A priority Critical patent/CN111182529B/en
Publication of CN111182529A publication Critical patent/CN111182529A/en
Application granted granted Critical
Publication of CN111182529B publication Critical patent/CN111182529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a police application processing method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a downloading request aiming at a target police application corresponding to a first terminal, wherein the downloading request carries identity information of the first terminal and a target police application identifier, and the attribution of the first terminal is different from that of the target police application; determining a service node corresponding to the target police application based on the target police application identifier; sending a downloading request to a service node of the target police application so as to distribute an operation authority aiming at the target police application for the first terminal when the service node of the target police application passes identity authentication on identity information; and sending a notification message to the first terminal, wherein the notification message is used for indicating the first terminal to download the target police service application based on the operation authority, and the target police service application is used for the first terminal to inquire the police service data. By the method and the device, the cross-domain police service application can be downloaded, and the utilization rate of the cross-domain police service application is improved.

Description

Police application processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of mobile police service, in particular to a method and a device for processing a police service application, electronic equipment and a storage medium.
Background
Along with the development of science and technology, adopt intelligent operating system to become the development trend at mobile police service terminal, along with mobile police service terminal's function is constantly powerful, can bear more mobile application to because convenience and real-time nature, mobile police service terminal will popularize in the official working of public security policemen on duty, mobile police service application will play huge effect.
In the related technology, mobile police applications in different provinces and cities in a public security mobile information network are built based on local business requirements and only serve local public security policemen to enforce law and handle cases, however, the mobile police applications in different provinces and cities cannot be shared, so that the local public security policemen cannot use mobile police applications built in other areas, application and popularization are blocked, and a lot of repeated building phenomena are caused, thereby affecting the rapid construction and popularization of an informatization system.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing a police application, an electronic device and a storage medium, which can realize the downloading of the cross-domain police application and improve the utilization rate of the cross-domain police application.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for processing police service application, which comprises the following steps:
acquiring a downloading request corresponding to a first terminal and aiming at a target police application, wherein the downloading request carries identity information of the first terminal and a target police application identifier, and the home location of the first terminal is different from the home location of the target police application;
determining a service node corresponding to the target police application based on the target police application identifier;
sending the downloading request to a service node of the target police application so as to distribute an operation authority aiming at the target police application to the first terminal when the service node of the target police application passes the identity authentication of the identity information;
and sending a notification message to the first terminal, wherein the notification message is used for indicating the first terminal to download the target police application based on the operation authority, and the target police application is used for the first terminal to inquire police data.
The embodiment of the invention also provides a device for processing the police application, which comprises:
a first obtaining unit, configured to obtain a download request for a target police application, where the download request corresponds to a first terminal, where the download request carries identity information of the first terminal and a target police application identifier, and a home location of the first terminal is different from a home location of the target police application;
the determining unit is used for determining a service node corresponding to the target police application based on the target police application identifier;
a first sending unit, configured to send the download request to a service node of the target police application, so that when the service node of the target police application passes identity authentication on the identity information, an operation right for the target police application is allocated to the first terminal;
and a second sending unit, configured to send a notification message to the first terminal, where the notification message is used to instruct the first terminal to download the target police application based on the operation permission, and the target police application is used for the first terminal to query police data.
In the foregoing solution, the determining unit is further configured to:
searching a mapping relation between a police service application identifier stored in an application service directory and a service address of a service node to determine the service address of the service node corresponding to the target police service application identifier;
and determining a service node corresponding to the target police application based on the determined service address of the service node.
In the above scheme, the apparatus further comprises:
the analysis unit is used for analyzing the downloading request to obtain the identity information of the first terminal when the downloading request is determined to be the downloading request of the remote application based on the attribution of the first terminal;
a third sending unit, configured to send the identity information of the first terminal to the service node of the target police application, so that the service node of the target police application performs identity authentication on the identity information of the first terminal.
In the above scheme, the apparatus further comprises:
a second obtaining unit, configured to obtain a registration application request for the target police application;
the auditing unit is used for responding to the registration application request and auditing the application information of the target police application;
and the distribution unit is used for distributing corresponding target police application identification and attribution mechanism identification for the target police application when the application information of the target police application passes the verification.
In the foregoing solution, the first obtaining unit is further configured to:
when a service node of the first terminal receives a downloading request for a target police application sent by the first terminal, login authentication is carried out on the first terminal, and
and when the service node of the first terminal passes login authentication of the first terminal, acquiring a downloading request corresponding to the first terminal and aiming at the target police application.
In the foregoing solution, the first sending unit is further configured to:
acquiring a hypertext transfer protocol in a mobile police information network;
and sending the downloading request to a service node of the target police application through the hypertext transfer protocol.
In the above scheme, the apparatus further comprises:
a fourth sending unit, configured to send the identity information of the first terminal and the corresponding notification message to a blockchain network, so that a node of the blockchain network fills the identity information of the first terminal and the corresponding notification message into a new block, and when the new block is identified consistently, adds the new block to a tail of the blockchain.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is used for realizing the processing method of the police service application provided by the embodiment of the invention when the executable instruction stored in the memory is executed.
The embodiment of the invention also provides a storage medium, which stores executable instructions, and when the executable instructions are executed, the storage medium is used for realizing the processing method of the police service application provided by the embodiment of the invention.
The application of the embodiment of the invention has the following beneficial effects:
by applying the method for processing the police application provided by the embodiment of the invention, the service node of the target police application is determined through the constructed intermediate service node, the downloading request aiming at the target police application initiated by the first terminal is forwarded to the service node of the target police application, when the identity authentication of the service node of the target police application to the identity information of the first terminal is passed, the operation authority aiming at the target police application is distributed to the first terminal, the intermediate service node sends the notification message to the first terminal, and the first terminal downloads the target police application according to the indication of the notification message.
Drawings
Fig. 1 is a schematic flowchart of downloading a police application provided in the related art;
fig. 2 is a schematic diagram of an alternative architecture of a processing system 10 for a police application according to an embodiment of the present invention;
fig. 3A is a schematic diagram of an alternative hardware structure of the electronic device 40 according to the embodiment of the present invention;
fig. 3B is a schematic diagram of an alternative configuration of a processing device 455 for a police application according to an embodiment of the present invention;
fig. 4 is an alternative flowchart of a police application processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a page of a mobile police application marketplace client according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of target police application publishing provided in an embodiment of the present invention;
fig. 7 is a schematic interface diagram of a dynamic permission application provided in an embodiment of the present invention;
FIG. 8 is a schematic diagram of an installation interface of a target police application provided by an embodiment of the present invention;
fig. 9 is a schematic diagram of a police application installation list provided in an embodiment of the present invention;
fig. 10 is a schematic view of an application architecture of a blockchain network according to an embodiment of the present invention;
fig. 11 is an alternative structural diagram of a block chain in the block chain network 81 according to an embodiment of the present invention;
fig. 12 is a functional architecture diagram of a blockchain network 81 according to an embodiment of the present invention;
fig. 13 is a flowchart illustrating a roaming download of a remote police application according to an embodiment of the present invention;
fig. 14 is a schematic flowchart of viewing, downloading, and installing a police application in an application market according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first," "second," etc. are used merely to distinguish similar elements and do not denote a particular order or sequence of elements, but rather the terms "first," "second," etc. are used to interchange particular orders or sequences as may be permitted, and to enable embodiments of the invention described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which embodiments of the present invention belong. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) A public security mobile information network is a set of network environment independent of the Internet environment, which is constructed by mobile terminals aiming at each local public security organization, and in the network environment, the aspects of safety management, safety capacity, facility equipment and the like are covered, so that the safety targets of credible identity, manageable behavior and controllable risk are finally realized.
2) The mobile police affairs refer to an informatization means for realizing the access to police affair information of a public security intranet by utilizing mobile terminals such as a mobile phone, a PDA or a notebook and the like through a wireless network to finish the work of police law enforcement in a mobile information network environment. Generally, a system for implementing mobile police service can also be called as police service guide, and comprises a mobile terminal, a background processing platform and a corresponding network security mechanism.
3) The application market can also be called an application store, namely an application supermarket store aiming at mobile terminals such as various mobile phones and the like, and is used for displaying and downloading application software applicable to the mobile phones.
4) Micro services are a novel architecture mode, a single application program is divided into a group of small services, each service is operated in the process of the service, namely, each service is independently operated and does not influence each other, the services are mutually coordinated and matched to provide final value for users, and the services are communicated by adopting a lightweight hypertext Transfer Protocol (HTTP) communication mechanism.
5) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
6) Transactions (transactions), equivalent to the computer term "Transaction," include operations that need to be committed to a blockchain network for execution and do not refer solely to transactions in the context of commerce, which embodiments of the present invention follow in view of the convention colloquially used in blockchain technology.
For example, a deployment (deployment) transaction is used to install a specified smart contract to a node in a blockchain network and is ready to be invoked; the call (Invoke) transaction is used to add a record of the transaction in the blockchain by calling an intelligent contract, and to perform operations on the state database of the blockchain, including update operations (including adding, deleting, and modifying Key-Value pairs in the state database) and query operations (i.e., querying Key-Value pairs in the state database).
7) Block Chain (Block Chain) is an encrypted, chained transactional memory structure formed from blocks (blocks).
For example, the header of each block may include hash values of all transactions in the block, and also include hash values of all transactions in the previous block, so as to achieve tamper resistance and forgery resistance of the transactions in the block based on the hash values; newly generated transactions, after filling in the tiles and passing through the consensus of nodes in the blockchain network, are appended to the end of the blockchain to form a chain growth.
8) A Block Chain Network (Block Chain Network) incorporates a new Block into a set of a series of nodes of a Block Chain in a consensus manner.
9) Ledger (legger) is a general term for blockchains (also called Ledger data) and state databases synchronized with blockchains.
Wherein, the blockchain records the transaction in the form of a file in a file system; the state database records the transactions in the blockchain in the form of different types of Key (Key) Value pairs for supporting fast query of the transactions in the blockchain.
10 Intelligent Contracts (Smart Contracts), also called Chain codes (Chain codes) or application codes, a program deployed in a node of a blockchain network, the program being triggered to execute according to a condition, the node executing an intelligent contract called in a received transaction to update or query key-value data of a state database.
11 Consensus (Consensus), a process in a blockchain network, for agreeing on transactions in blocks among a plurality of nodes involved, the agreed blocks to be appended to the end of the blockchain, mechanisms to achieve Consensus including Proof of workload (PoW, proof of Work), proof of rights and interests (PoS, proof of rights, DPoS, cleared Proof of rights-stamp), proof of Elapsed Time (PoET, proof of Elapsed Time), etc.
The following analyzes the technical solutions for downloading police applications provided by the related art.
In a public security mobile information network, police applications in mobile police application markets of different provinces and cities in the country are built based on local business requirements and only serve local public security polices to enforce law and handle cases, but the police applications in different areas cannot be shared, so that a lot of repeated building phenomena are caused, and in addition, the healthy development of the mobile police application markets cannot be well promoted due to the fact that the business application levels between developed areas and undeveloped areas are different.
Referring to fig. 1, fig. 1 is a schematic diagram of a flow for downloading a police application provided in the related art, the police application is issued by installing Mobile Device Management (MDM) software at a Management end in advance, the MDM software is used for uniformly managing all Mobile devices in a public security Mobile information network, then a manager at the Management end distributes a corresponding Mobile terminal, such as a Mobile phone, to a public security policeman, at this time, when a new online police application exists, the Management end needs to issue an installation package of the new online police application to the public security policeman through an MDM channel, and after the Mobile terminal of the public security policeman receives the installation package, silent installation of the new online police application by the public security policeman can be realized.
Therefore, police affair applications in the existing public security mobile information network are issued through the MDM platform, the police affair applications used by public security policemen are installed passively, after the police affair applications are issued, the public security policemen have no use authority and know that the police policemen need to open the applications, and if the public security policemen do not have the use authority, the downloaded and installed police affair applications become zombie applications in terminals of the public security policemen and are useless. The method for downloading the police service application is only suitable for local downloading, installation and use, and the police service applications in different provinces and cities cannot be shared, so that the police service applications built in other areas cannot be used by local public security policemen, the application and popularization are blocked, a lot of repeated construction phenomena are caused, and the rapid construction and popularization of an information system are influenced.
In order to at least solve the above technical problems of the related art, embodiments of the present invention provide a method, an apparatus, and a storage medium for processing a police application, where an intermediate service node is constructed, and the intermediate service node implements service cascading of police application markets in different areas, so that a cross-domain police application can be downloaded, a phenomenon of repeated construction is avoided, and a utilization rate of the cross-domain police application is improved.
The following describes an exemplary application of an electronic device implementing the method for processing a police application according to an embodiment of the present invention, and the electronic device provided in an embodiment of the present invention may be implemented as various types of terminal devices such as a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, and a portable game device), and may also be a server, such as an intermediate service node described below, where the server may be a cloud server, but the embodiment of the present invention is not limited to the cloud server.
An exemplary application of the police service application processing system according to the embodiment of the present invention is described below with reference to the accompanying drawings by taking an intermediate service node as an example. Referring to fig. 2, fig. 2 is an optional architecture diagram of a processing system 10 for a police application according to an embodiment of the present invention, in order to implement an exemplary supported application, a terminal 100 (exemplary shows a terminal 100-1 and a terminal 100-2) is connected to a background server 300 corresponding to the terminal 100 through a network 200, the background server 300 corresponding to the terminal 100 may be connected to an intermediate service node 400 through the network 200, and the intermediate service node 400 may be connected to a service node 500 of a target police application through the network 200, where the network 200 may be a wide area network or a local area network, or a combination of the two, and data transmission is implemented using a wireless link.
A terminal 100 (e.g., terminal 100-1) for initiating a download request to the background server 300 in response to a user's click operation for a target police application in the application marketplace client; after obtaining the download request of the terminal 100 for the target police application, the background server 300 forwards the download request to the service node 500 of the target police application through the intermediate service node 400. Here, the home location of the terminal 100 is not the same as that of the target police application, that is, the terminal 100 requests to download the cross-domain police application.
And the intermediate service node 400 is configured to determine, based on the target police application identifier carried in the download request, a service node 500 corresponding to the target police application.
The intermediate service node 400 is further configured to forward the download request to the service node 500 of the target police application, so that the service node 500 of the target police application allocates an operation right for the target police application to the terminal 100 when the identity information of the terminal 100 passes the identity authentication, and generates a notification message.
The intermediate service node 400 is further configured to receive the notification message sent by the service node 500 of the target police application, and send the notification message to the terminal 100.
The terminal 100 (e.g., terminal 100-1) is further configured to download the target police application based on the indication of the notification message after receiving the notification message. Therefore, the police policemen corresponding to the subsequent terminal 100 can inquire and acquire the police service data in the cross-domain target police service application by opening the downloaded target police service application, and the efficiency of law enforcement and case handling is improved.
Here, in practical applications, the intermediate service node 400 may be a single server configured to support various services, or may be a server cluster.
The terminal 100 may display various intermediate and final results in the processing of the police application in the graphical interface 110 (e.g., the graphical interface 110-1 of the terminal 100-1 and the graphical interface 110-2 of the terminal 100-2), for example, displaying the downloaded target police application.
Next, the hardware configuration of the electronic device that implements the method for processing the police application according to the embodiment of the present invention will be described. The electronic device may be implemented as a terminal device, and may also be implemented as an intermediate service node as shown in fig. 2.
Referring to fig. 3A and fig. 3A are schematic diagrams illustrating an alternative hardware structure of an electronic device 40 according to an embodiment of the present invention, it is to be understood that fig. 3A only illustrates an exemplary structure of the electronic device, and not an entire structure, and a part of the structure or an entire structure illustrated in fig. 3A may be implemented as needed. The electronic device 40 provided in the embodiment of the present invention includes: at least one processor 410, memory 450, at least one network interface 420, and a user interface 430. The various components in electronic device 40 are coupled together by a bus system 440. It is understood that the bus system 440 is used to enable communications among the components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 440 in FIG. 3A.
The Processor 410 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 430 includes one or more output devices 431, including one or more speakers and/or one or more visual displays, that enable the presentation of media content. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 450 optionally includes one or more storage devices physically located remote from processor 410.
The memory 450 includes either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 450 described in embodiments of the invention is intended to comprise any suitable type of memory.
In some embodiments, memory 450 is capable of storing data, examples of which include programs, modules, and data structures, or a subset or superset thereof, to support various operations, as exemplified below.
An operating system 451, including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
a network communication module 452 for communicating to other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 453 for enabling presentation of information (e.g., user interfaces for operating peripherals and displaying content and information) via one or more output devices 431 (e.g., display screens, speakers, etc.) associated with user interface 430;
an input processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
In some embodiments, the processing apparatus of the police application provided in the embodiments of the present invention may be implemented in software, fig. 3A illustrates the processing apparatus 455 of the police application stored in the memory 450, which may be software in the form of programs and plug-ins, and includes a series of software modules, see fig. 3B, and fig. 3B is an optional structural schematic diagram of the processing apparatus 455 of the police application provided in the embodiments of the present invention, for example, the processing apparatus 455 of the police application may include a first obtaining unit 4551, a determining unit 4552, a first sending unit 4553, and a second sending unit 4554, and functions of these units are logical, so that any combination or further splitting may be performed according to functions implemented by each software module. Here, it should be noted that specific functions of each unit in the processing device 455 of the police application provided by the embodiment of the present invention shown in fig. 3B will be described below.
In other embodiments, the police Application processing Device 455 provided by the embodiments of the present invention may be implemented in hardware, for example, the police Application processing Device 455 provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the police Application processing method provided by the embodiments of the present invention, for example, the processor in the form of the hardware decoding processor may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable Logic Devices (PLDs), complex Programmable Logic Devices (CPLDs), field Programmable Gate Arrays (FPGAs), or other electronic components.
Based on the above description of exemplary applications and implementations of the police service application processing system and the electronic device provided by the embodiment of the present invention, an implementation process of the police service application processing method provided by the embodiment of the present invention is described next. Referring to fig. 4, fig. 4 is an optional flowchart of a method for processing a police application according to an embodiment of the present invention, in some embodiments, the method for processing the police application may be implemented by a terminal, or implemented by a server, such as an intermediate service node, which is implemented by the intermediate service node 400 in fig. 2, for example, and is described with reference to the steps shown in fig. 4.
In step 401, the intermediate service node obtains a download request for a target police application corresponding to the first terminal, where the download request carries identity information of the first terminal and a target police application identifier.
In an embodiment of the invention, the home of the first terminal is different from the home of the target police application, that is, the first terminal requests the downloading of the cross-domain police application in the mobile police application market. Here, the identity information of the first terminal is information for authenticating the identity of the user, and includes, but is not limited to, username and password information and biometric information. The password in the username password information can be a static password or a dynamic password; biometric information includes, but is not limited to, information such as a human face, a fingerprint, an iris, and the like.
In the embodiment of the present invention, a mobile police application market client is disposed in a first terminal, referring to fig. 5, fig. 5 is a schematic page view of the mobile police application market client provided in the embodiment of the present invention, fig. 5 includes fig. 5A and fig. 5B, as can be seen from fig. 5A, police applications can be displayed in a classified manner according to regions, police categories, and the like on a home page display interface of the mobile police application market client, for example, the police applications can be divided into provincial hall applications and prefecture applications according to the region division manner; as can be seen from fig. 5B, the leaderboard of the popular application may be further viewed on the "discovery" page of the mobile police application market client, so as to select the police application requested to be downloaded according to the popular recommendation of the leaderboard of the popular application, and some specialized applications, such as applications of office synthesis, vehicle identification query, and the like, may also be viewed through the "discovery" page of the mobile police application market client.
In some embodiments, the intermediate service node may obtain the download request for the target police application for the first terminal by: when a service node of the first terminal receives a downloading request for a target police application sent by the first terminal, login authentication is carried out on the first terminal, and
and when the service node of the first terminal passes login authentication of the first terminal, acquiring a downloading request corresponding to the first terminal and aiming at the target police application.
Here, it should be noted that the service node of the first terminal may be understood as a background server of the first terminal. In practical implementation, a user can click a target police application to be downloaded through a mobile police application market client to trigger and generate a downloading request for the target police application, a first terminal corresponding to the user receives the downloading request triggered by the user and then sends the downloading request for the target police application to a background server of the first terminal, the background server of the first terminal analyzes the downloading request to obtain login information of the first terminal and performs login authentication on the login information of the first terminal, and when the background server of the first terminal performs login authentication on the first terminal, an authentication service interface can be called to forward the downloading request to an intermediate service node.
In some embodiments, the method for processing the police application may further include: before acquiring a downloading request of a corresponding first terminal aiming at a target police application, an intermediate service node acquires a registration application request aiming at the target police application; responding to the registration application request, and auditing the application information of the target police application; and when the application information of the target police application passes the verification, distributing a corresponding target police application identifier and an attribution mechanism identifier for the target police application.
Referring to fig. 6, fig. 6 is a schematic diagram of a process of issuing a target police application according to an embodiment of the present invention, before development and issuance of the target police application, a developer (or a manager) registers the target police application in an application attribution, specifically, an application issuing server corresponding to the attribution of the police application sends a registration application request for the target police application to a configuration management center, that is, an intermediate service node, the configuration management center checks application information of the target police application after receiving the registration application request, and when the configuration management center passes the checking of the application information of the target police application, the configuration management center allocates a corresponding target police application identifier and an attribution organization identifier to the target police application, and returns a result of the allocation to the application issuing server, and the application issuing server receives the result of the allocation, and then may issue the target police application successfully.
In step 402, a service node corresponding to the target police application is determined based on the target police application identification.
In some embodiments, the intermediate service node may determine the service node corresponding to the target police application by: searching a mapping relation between a police service application identifier stored in an application service directory and a service address of a service node to determine the service address of the service node corresponding to the target police service application identifier; and determining a service node corresponding to the target police application based on the determined service address of the service node.
Here, in actual implementation, an intermediate service node is constructed between the service node of the first terminal and the service node of the target police application, and the intermediate service node manages service cascading of the police applications in different areas.
In the embodiment of the invention, the intermediate service node is provided with the application service directory, and the mapping relation between the police application identifier and the service address of the service node is pre-stored in the application service directory, so that after the intermediate service node receives the downloading request aiming at the target police application, the downloading request is analyzed to obtain the target police application identifier, and then the service address of the service node corresponding to the target police application identifier is searched through the mapping relation of the application service directory, wherein the service addresses of different service nodes correspond to different service nodes, therefore, the intermediate service node can rapidly determine the service node corresponding to the target police application according to the searched service address of the service node, so that the downloading request can be forwarded to the service node of the target police application.
In step 403, a download request is sent to the service node of the target police application, so that the service node of the target police application allocates an operation permission for the target police application to the first terminal when the identity information passes the identity authentication.
In some embodiments, the intermediate service node may send the download request to the service node of the target police application by: acquiring a hypertext transfer protocol in a mobile police information network; and sending the downloading request to a service node of the target police application through the hypertext transfer protocol.
In some embodiments, the method for processing the police application may further include:
analyzing the downloading request to obtain the identity information of the first terminal when the downloading request is determined to be the downloading request of the remote application based on the attribution of the first terminal; and sending the identity information of the first terminal to a service node of the target police application so that the service node of the target police application performs identity authentication on the identity information of the first terminal.
Authentication, also referred to herein as authentication, or authentication, refers to the process of confirming the identity of an operator in a computer and computer network system, thereby determining whether the operator has access to and usage rights for a resource. That is, the identity authentication process is actually a process of determining whether the operating user is a valid user, and access and use permission to a certain resource can be realized only when the operating user is a valid user.
In some embodiments, the service node of the target police application may first determine a target password policy for verifying the identity information of the first terminal, and then authenticate the identity information of the first terminal based on the target password policy.
Here, the service node of the target police application may determine the target password policy for verifying the identity information of the first terminal in the following manner: firstly, identifying identity information of a first terminal, and determining the category of the identity information; secondly, traversing and searching a password strategy matched with the type of the identity information from a plurality of password strategies based on the type of the identity information; and finally, determining the searched password strategy matched with the category of the identity information as a target password strategy for verifying the identity information.
Here, for the implementation of traversing and searching for the password policy matching the category of the identity information from the plurality of password policies, the plurality of password policies may be sequentially traversed, and the password policy matching the category of the identity information may be searched according to a preset mapping relationship between the category of the identity information and the password policy. In some examples, in order to improve efficiency of querying the target password policy, in the embodiment of the present invention, each password policy in the multiple password policies may be subjected to sequential traversal search.
It should be noted that, when the service node of the target police application authenticates the identity information of the first terminal based on the target password policy, it indicates that the first terminal submitting the identity information has a trusted identity, and the first terminal is authorized to download the target police application based on the identity information; and when the identity authentication of the identity information of the first terminal based on the target password strategy is not passed, the first terminal submitting the identity information is not provided with a credible identity, and the first terminal cannot be authorized to download the target police service application based on the identity information.
Here, before the service node of the target police service application allocates the operation authority for the target police service application to the first terminal, the first terminal may send a request for dynamic authority application to the service node of the target police service application through the intermediate service node, referring to fig. 7, fig. 7 is an interface schematic diagram of the dynamic authority application provided in the embodiment of the present invention, and as can be seen from fig. 7, the first terminal may respectively perform corresponding selection for application category, application reason, and use authority according to its own use requirement, so that the service node of the target police service application may adaptively allocate the operation authority for the target police service application to the first terminal according to the dynamic authority application selected by the first terminal.
In step 404, a notification message is sent to the first terminal to enable the first terminal to download the target police application based on the operation authority.
In this embodiment of the present invention, the notification message is used to instruct the first terminal to download the target police application based on the operation permission, and the target police application is used for the first terminal to query police data.
Here, the notification message may carry an application installation package or an application installation address corresponding to the target police application, so that the first terminal may download the target police application based on the application installation package or the application installation address, thereby implementing service cascading of the police application across provincial and urban levels, and facilitating a user of the first terminal to query police data of a home location of the target police application through the downloaded target police application.
Referring to fig. 8, fig. 8 is a schematic view of an installation interface of a target police application provided in an embodiment of the present invention, in the installation interface of the target police application, a user may install the target police application by clicking an "install" button, and in addition, in the installation interface of the target police application, the user of the first terminal may also view application detail information of the target police application, such as a score and a comment for the target police application. After the user of the first terminal installs the target police application, the installed target police application is automatically stored in the police application installation list, referring to fig. 9, where fig. 9 is a schematic diagram of the police application installation list provided in the embodiment of the present invention.
In order to implement the storage and query of the identity information of the first terminal and the operation authority of the terminal for the target police application, in some embodiments, the processing method of the police application further includes: and sending the identity information of the first terminal and the corresponding notification message to the block chain network so that the node of the block chain network fills the identity information of the first terminal and the corresponding notification message to the new block, and when the new block is identified in common, adding the new block to the tail of the block chain. Here, when the service node of the target police application passes the identity authentication of the identity information of the terminal, the service node may assign a corresponding operation right to the terminal, at this time, the intermediate service node generates a notification message and sends the notification message to the terminal, and after the terminal receives the notification message, the terminal may download the target police application based on the operation right.
Here, in the embodiment of the present invention, after the terminal receives the notification message, a blockchain technology may be further combined, and the terminal generates a transaction for storing the identity information of the terminal and the corresponding notification message, and submits the generated transaction to a node of the blockchain network, so that the node of the blockchain network stores the identity information of the terminal and the corresponding notification message to the blockchain network after recognizing the transaction; before the identity information of the terminal and the corresponding notification message are stored in the blockchain network, the terminal can also perform hash transformation on the identity information of the terminal and the corresponding notification message respectively to obtain summary information of the identity information of the corresponding terminal and summary information of the corresponding notification message, and store the obtained summary information of the identity information of the terminal and the summary information of the notification message in the blockchain network.
Next, a block chain network according to an embodiment of the present invention will be described. Referring to fig. 10, fig. 10 is a schematic diagram of an application architecture of a blockchain network according to an embodiment of the present invention, which includes a blockchain network 81 (exemplarily illustrating a consensus node 810-1 to a consensus node 810-3), an authentication center 82, a service entity 83, and a service entity 84, which are described below.
The type of blockchain network 81 is flexible and may be, for example, any one of a public chain, a private chain, or a federation chain. Taking a public link as an example, electronic devices of any business entity, such as a user terminal and a server (such as a cloud server), can access the block link network 81 without authorization; taking the alliance chain as an example, after obtaining authorization, the electronic device (e.g., terminal/server) under the jurisdiction of the service entity may access the blockchain network 81, and in this case, if the electronic device becomes a client node in the blockchain network 81, the client indicates a client for downloading the target police application.
In some embodiments, the client node may act as a mere watcher of the blockchain network 81, i.e., provide functionality that supports the initiation of transactions by the business entity (e.g., for uplink storage of data or querying of data on the chain), and may be implemented by default or selectively (e.g., depending on the specific business requirements of the business entity) for the functions of the consensus node 810 in the blockchain network 81, such as a ranking function, a consensus service, and an accounting function, etc. Therefore, the data and the service processing logic of the service subject can be migrated to the block chain network 81 to the maximum extent, and the credibility and traceability of the data and service processing process are realized through the block chain network 81.
The consensus nodes in the blockchain network 81 receive transactions submitted from client nodes (e.g., client node 410 attributed to the business entity 83, and client node 510 attributed to the business entity 84, shown in fig. 10) of different business entities (e.g., business entity 83 and business entity 84, shown in fig. 10), perform the transactions to update the ledger or query the ledger, and various intermediate or final results of performing the transactions may be returned to the business entity's client nodes for display.
For example, the client node 410/510 may subscribe to an event of interest in the blockchain network 81, such as a transaction occurring in a particular organization/channel in the blockchain network 81, and the consensus node 810 pushes a corresponding transaction notification to the client node 410/510, thereby triggering the corresponding business logic in the client node 410/510.
An exemplary application of the blockchain network is described below, taking an example that a plurality of service entities access the blockchain network to realize management of the identity information of the terminal and the corresponding notification message. Referring to fig. 10, a plurality of business entities involved in the management link, such as a business entity 83 and a business entity 84, may be clients corresponding to the processing device of the police application, and register with the certificate authority 82 to obtain respective digital certificates, where each digital certificate includes a public key of the business entity and a digital signature signed by the certificate authority 82 on the public key and identity information of the business entity, and is used to be attached to the transaction together with the digital signature of the business entity for the transaction, and is sent to the blockchain network, so that the blockchain network takes out the digital certificate and the signature from the transaction, verifies the authenticity of the message (i.e. whether the message is not tampered) and the identity information of the business entity sending the message, and the blockchain network 81 verifies the identity, for example, whether the client has the right to initiate the transaction. Clients running on electronic devices (e.g., terminals or servers) hosted by the business entity may request access from the blockchain network 81 to become client nodes.
The client node 410 of the service body 83 is configured to obtain a notification message generated after the service node of the target police application allocates the operation authority for the target police application to the first terminal, and send the identity information of the terminal and the corresponding notification message to the blockchain network 81.
The operation of sending the identity information of the terminal and the corresponding notification message to the blockchain network 81 may be to set a service logic in the client node 410 in advance, and when the identity information of the terminal and the corresponding notification message are found, the client node 410 automatically sends the identity information of the terminal and the corresponding notification message to the blockchain network 81, or a service person of the service agent 83 logs in the client node 410, manually packages the identity information of the terminal and the corresponding notification message, and sends the package to the blockchain network 81. During sending, the client node 410 generates a transaction corresponding to the update operation according to the identity information of the terminal and the corresponding notification message, specifies an intelligent contract that needs to be called to implement the update operation and parameters transferred to the intelligent contract, and also carries a digital certificate of the client node 410 and a signed digital signature (for example, a digest of the transaction is encrypted by using a private key in the digital certificate of the client node 410) in the transaction, and broadcasts the transaction to the consensus node 810 in the blockchain network 81.
When the consensus node 810 in the blockchain network 81 receives the transaction, the digital certificate and the digital signature carried by the transaction are verified, after the verification is successful, whether the business main body 83 has the transaction right or not is confirmed according to the identity of the business main body 83 carried in the transaction, and the transaction fails due to any verification judgment of the digital signature and the right verification. After successful verification, node 810 signs its own digital signature (e.g., by encrypting the digest of the transaction using the private key of node 810-1) and continues to broadcast in blockchain network 81.
After receiving the transaction successfully verified, the consensus node 810 in the blockchain network 81 fills the transaction into a new block and broadcasts the new block. When broadcasting a new block, the consensus node 810 in the block chain network 81 performs a consensus process on the new block, and if the consensus is successful, the new block is added to the tail of the block chain stored in the new block, and the state database is updated according to the transaction result to execute the transaction in the new block: and for the transaction of submitting the identity information of the storage terminal and the corresponding notification message, adding a key value pair comprising the identity information of the terminal and the corresponding notification message in a state database.
The service person of the service agent 84 logs in the client node 510, inputs the terminal identity information and the corresponding query request of the notification message, the client node 510 generates a transaction corresponding to the update operation/query operation according to the terminal identity information and the corresponding query request of the notification message, specifies an intelligent contract that needs to be called to implement the update operation/query operation and parameters transferred to the intelligent contract in the transaction, and the transaction also carries a digital certificate of the client node 510 and a signed digital signature (for example, a digest of the transaction is encrypted by using a private key in the digital certificate of the client node 510), and broadcasts the transaction to the consensus node 810 in the blockchain network 81.
The consensus node 810 in the blockchain network 81 receives the transaction, verifies the transaction, fills the block, and after consensus is consistent, adds the filled new block to the tail of the blockchain stored in the consensus node, updates the state database according to the transaction result, and executes the transaction in the new block: for the submitted transaction of the notification message corresponding to the identity information of the updated terminal, updating the key value pair corresponding to the identity information of the terminal in the state database according to the notification message corresponding to the identity information of the terminal; and for the transaction of the notification message corresponding to the submitted identity information of the inquiry terminal, inquiring the key value pair of the notification message corresponding to the identity information of the terminal from the state database, and returning a transaction result.
As an example of a block chain, referring to fig. 11, fig. 11 is an optional structural schematic diagram of a block chain in a block chain network 81 provided in an embodiment of the present invention, a header of each block may include hash values of all transactions in the block, and also include hash values of all transactions in a previous block, a record of a newly generated transaction is filled in the block and is added to a tail of the block chain after being identified by nodes in the block chain network, so as to form a chain growth, and a chain structure based on hash values between blocks ensures tamper resistance and forgery resistance of transactions in the block.
An exemplary functional architecture of the blockchain network according to the embodiment of the present invention is described below, referring to fig. 12, fig. 12 is a schematic functional architecture diagram of the blockchain network 81 according to the embodiment of the present invention, where the functional architecture of the blockchain network 81 includes an application layer 201, a consensus layer 202, a network layer 203, a data layer 204, and a resource layer 205, which are described below respectively.
The resource layer 205 encapsulates the computing, storage, and communication resources that implement each node 810 in the blockchain network 81.
The data layer 204 encapsulates various data structures that implement the ledger, including blockchains implemented in files in a file system, state databases of the key-value type, and presence certificates (e.g., hash trees of transactions in blocks).
The network layer 203 encapsulates the functions of a Point-to-Point (P2P) network protocol, a data propagation mechanism, a data verification mechanism, an access authentication mechanism, and a service agent identity management.
The P2P network protocol implements communication between nodes 810 in the blockchain network 81, the data propagation mechanism ensures propagation of transactions in the blockchain network 81, and the data verification mechanism is used for implementing reliability of data transmission between nodes 810 based on an encryption method (e.g., digital certificate, digital signature, public/private key pair); the access authentication mechanism is used for authenticating the identity of the service subject added to the block chain network 81 according to an actual service scene, and endowing the service subject with the authority of accessing the block chain network 81 when the authentication is passed; the service agent identity management is used to store the identity of the service agent that is allowed to access the blockchain network 81, as well as the rights (e.g., the type of transaction that can be initiated).
The consensus layer 202 encapsulates the functionality of the mechanisms by which nodes 810 in the blockchain network 81 agree on a block (i.e., consensus mechanisms), transaction management, and ledger management. The consensus mechanism comprises consensus algorithms such as POS, POW and DPOS, and the pluggable consensus algorithm is supported.
The transaction management is used for verifying the digital signature carried in the transaction received by the node 810, verifying the identity information of the service subject, and determining whether the service subject has the right to perform the transaction (reading the relevant information from the identity management of the service subject) according to the identity information; for the service agents authorized to access the blockchain network 81, the service agents all have digital certificates issued by the certificate authority, and the service agents sign submitted transactions by using private keys in the digital certificates of the service agents, so that the legal identities of the service agents are declared.
The ledger administration is used to maintain blockchains and state databases. For the block with the consensus, adding the block to the tail of the block chain; executing the transaction in the acquired consensus block, updating the key-value pairs in the state database when the transaction comprises an update operation, querying the key-value pairs in the state database when the transaction comprises a query operation and returning a query result to the client node of the business entity. Supporting query operations for multiple dimensions of a state database, comprising: querying the block based on the block vector number (e.g., hash value of the transaction); inquiring the block according to the block hash value; inquiring a block according to the transaction vector number; inquiring the transaction according to the transaction vector number; inquiring account data of a business main body according to an account (vector number) of the business main body; and inquiring the block chain in the channel according to the channel name.
The application layer 201 encapsulates various services that the blockchain network can implement, including tracing, crediting, and verifying transactions.
By adopting the technical scheme provided by the embodiment of the invention, the service node of the target police application is determined through the constructed intermediate service node, the downloading request which is initiated by the first terminal and aims at the target police application is forwarded to the service node of the target police application, when the identity authentication of the service node of the target police application to the first terminal is passed, the operation authority aiming at the target police application is distributed to the first terminal, the intermediate service node sends the notification message to the first terminal, and the first terminal downloads the target police application according to the indication of the notification message, so that the service cascade of police application markets in different areas is realized through the intermediate service node, the downloading of the cross-domain police application can be realized, the phenomenon of repeated construction is avoided, the utilization rate of the cross-domain police application is improved, and the user experience is improved;
meanwhile, the embodiment of the invention can also carry out uplink storage on the identity information of the terminal and the notification message generated after the service node of the target police application allocates the operation authority aiming at the target police application to the terminal, so as to realize the backup of the record.
In the following, an exemplary application of the embodiments of the present invention in a practical application scenario will be described.
In the embodiment of the invention, in order to realize the sharing of various police service applications in two different police service application markets, an intermediate service node is constructed through a micro-service technical architecture, a service node corresponding to a target police service application is searched based on a mapping relation stored in an application service directory of the intermediate service node, the intermediate service node forwards a downloading request to the service node of the target police service application, the service node of the target police service application performs remote identity authentication on identity information of a terminal initiating the downloading request, and when the remote identity authentication is passed, an operation authority aiming at the target police service application is distributed to the terminal, the terminal realizes remote roaming downloading of the target police service application based on the operation authority, and meanwhile, the quick development, quick deployment and quick iteration of application resources can be realized, the flexibility, robustness, high efficiency, easy use, safe development and operation of various levels of mobile police service platform applications are ensured, the application roaming and resource sharing are promoted, and the development of application health and ordered is promoted.
Next, taking the example that the policeman in province a enters the mobile police application market client and wants to click and download the policeman application in province B in the mobile police application market client, such as the guangdong police application, the implementation of the processing method for the police application provided in the embodiment of the present invention is described.
Referring to fig. 13, fig. 13 is a schematic view of a roaming download process of a remote police application provided in an embodiment of the present invention, where a mobile police application market client is disposed in a mobile terminal of a province policeman, and first, the province policeman triggers an application download request to a background server of a province node by clicking a mode of a B province police application through the mobile police application market client, the background server of the a province node performs login authentication on the a province policeman through a unified authentication module, and when the login authentication on the a policeman is passed, an authentication service interface is called to send an application download request to an intermediate service node through an HTTP protocol, where the application download request carries identity information of the a province policeman and an identifier of a guangdong police application; next, the intermediate service node determines, based on the identifier of the Guangdong police application, that the service node corresponding to the Guangdong police application is a B province service node, where the intermediate service node finds the service address of the service node corresponding to the Guangdong police application through a mapping relationship stored in an application service directory (the mapping relationship between the police application identifier and the service address of the service node is stored), and further determines that the service node corresponding to the Guangdong police application is the B province service node;
next, the intermediate service node calls a service interface of remote identity authentication, the identity information of the national police of province A is sent to the service node of province B through an HTTP (hyper text transport protocol), so that the service node of province B performs remote identity authentication on the identity information of the national police of province A through the unified authentication module, and an authentication result of the identity authentication is returned to a background server of the service node of province A through the intermediate service node; next, when the authentication result received by the background server of the node a of province is that the identity authentication is passed, an application publishing management module in the background server of the node a of province sends an application downloading request to an intermediate service node through an HTTP protocol, the intermediate service node forwards the application downloading request to the service node B of province, when the request sent by the policeman of province for roaming downloading of the application in different places is determined, the application authority management module of the service node B of province allocates a corresponding operation authority to the policeman of province a, after the authority is allocated, a notification message generated by the service node B of province B is forwarded to the background server of the node a of province a through the intermediate service node, the background server of the node a of province a issues the notification message to the mobile terminal of policeman of province a, wherein the notification message is used for indicating that the policeman of province a can download the policeman application based on the operation authority, and the notification message can carry an application installation package or an application installation address corresponding to the policeman application; finally, the policeman in province A can download the policeman application in Guangdong based on the application installation package or the application installation address, so that the service cascade of the policeman application across provinces and cities is realized, and the policeman in province A can conveniently inquire the policeman data in the Guangdong area through the downloaded policeman application in Guangdong.
Therefore, in the embodiment of the invention, the cross-provincial and municipal application market service cascade is realized, and an intermediate service node is required to be constructed to manage the registration, application and service interface mapping of different provincial and municipal application service catalogs. The platform information of each level comprises the information of the organization mechanism of the level, the basic information of the platform and the information of the application support cascade interface, and the platform information of different places is regularly pulled from the platform of the department level through the corresponding acquisition interface by the configuration management center of the level. In the roaming downloading process of the remote police service application provided by the embodiment of the invention, the whole cross-domain service calling process is realized through background service, and is not perceived by a policeman user, and the embodiment of the invention adopts an HTTP downloading mode, can directly download the application installation package or the application installation address without secondary authentication, improves the utilization rate and downloading efficiency of the cross-domain police service application, and the application downloading function of the application market at this stage is independently realized by mobile terminals at various places.
Here, the police application is registered by a developer (or manager) in an application attribution place before being developed and released, and a configuration management center assigns a unique police application identifier and an attribution authority identifier to the police application. It should be noted that the mobile application client and the server may carry the police application identifier in the subsequent access.
Here, when the resource is owned by the remote platform, the resource attribution administrator reviews the remote resource application information, grants the application resource using authority, and feeds back the authorization information to the application party service system while locally retaining the review information. And after receiving the resource application feedback information, the application party imports the application resource authority. And an application developer (or a manager) checks the resource approval condition, records the approved resource identification and the attribution mechanism identification, solidifies in the mobile application client and server program codes, and is used for calling the resources during program operation.
The following describes the process of viewing, downloading and installing a police application in the application marketplace.
Referring to fig. 14, fig. 14 is a schematic flowchart of a viewing, downloading, and installing process of a police application in an application market according to an embodiment of the present invention, and it is still described that a police officer in province a enters a mobile police application market client and wants to click and download a police application in province B in the mobile police application market client, for example, a police application in guangdong. The method comprises the steps that a mobile police application market client is arranged in a mobile terminal of a national police, a plurality of remote police applications are displayed in a display interface of the application market client, for example, the police applications can be displayed according to region, police and authority categories, the national police initiate an application download request by clicking the Guangdong police applications in the display interface of the application market client, the application market client sends the application download request to an application market server through an HTTP protocol, the application market server is a background server of the national police, the application market server acquires roaming platform node information, a remote application list and relevant application details, then the application market server forwards the application download request to a configuration management center through the HTTP protocol, the intermediate service node acquires application service directories of various places through the intermediate service node, further, a service node corresponding to the Guangdong police applications is searched according to a mapping relation in the application service directory, namely a publishing server of the Guangdong police applications is a publishing server of the Guangdong police applications, when the identity of the national police applications is passed through the A, the operation corresponding to the Guangdong police applications is distributed to the Guangdong police applications, the A is further, the publishing server of the Guangdong police applications can be installed in the mobile police packages, and the Guangdong police applications can be downloaded from the mobile police packages which are acquired in the mobile police installation management center. Certainly, the mobile terminal of the policeman in province a can also pull the application installation address from the issuing server of the Guangdong police application, and further download and install the police application through clicking the application installation address.
For the users of the civil police in province A, the application can be visible and available, and the roaming police service application in different places can be directly downloaded and installed through the application market roaming function module. The used application market server side can download the installation package of the remote application through standard HTTP download service provided by the remote application market, and provide mobile application download service for the local application market client side through the internal protocol.
The technical scheme of the embodiment of the invention can produce the following beneficial effects:
1. application for realizing sharing and hatching innovation of cross-domain police service application
An application market platform is established in a public security mobile information network environment, police applications of various service application manufacturers can be managed according to the advantages of the platform, a police application innovation atmosphere is formed, and some high-quality innovation applications are hatched; for some poor quality applications, elimination may be performed by applying a market mechanism.
2. The option of police application installation is given to public security policemen, and user experience is improved
According to the embodiment of the invention, a loose coupling relation between an application market and the police application is formed by means of an independent application market, and the police application required by the police can be actively downloaded by the police policeman, so that the police policeman has more options, and the user experience is improved.
3. Realizing precise operation through system
Through the business application distributed by the application market, the related data can be counted, the mobile police service system for the public security can be operated accurately, and the police resource can be put in better assistance with the public security.
Next, a software implementation of the processing device 455 of the police application according to the embodiment of the present invention will be described. Taking the software module included in the memory 450 of the electronic device 40 for implementing the processing method of the police application according to the embodiment of the present invention as an example, the details that are not described in the following functional description of the module may be understood by referring to the above description of the embodiment of the method according to the present invention.
A first obtaining unit 4551, configured to obtain a download request for a target police application, where the download request carries identity information of a first terminal and a target police application identifier, and a home location of the first terminal is different from a home location of the target police application;
a determining unit 4552, configured to determine, based on the target police application identifier, a service node corresponding to the target police application;
a first sending unit 4553, configured to send the download request to the service node of the target police application, so that when the service node of the target police application passes identity authentication on the identity information, an operation right for the target police application is allocated to the first terminal;
a second sending unit 4554, configured to send a notification message to the first terminal, where the notification message is used to instruct the first terminal to download the target police application based on the operation permission, and the target police application is used for the first terminal to query police data.
In some embodiments, the determining unit may determine the service node corresponding to the target police application based on the target police application identifier, and may be implemented as follows:
searching a mapping relation between a police service application identifier stored in an application service directory and a service address of a service node to determine the service address of the service node corresponding to the target police service application identifier;
and determining a service node corresponding to the target police application based on the determined service address of the service node.
In some embodiments, the processing means of the policing application further comprises:
the analysis unit is used for analyzing the downloading request to obtain the identity information of the first terminal when the downloading request is determined to be the downloading request of the remote application based on the attribution of the first terminal;
a third sending unit, configured to send the identity information of the first terminal to the service node of the target police application, so that the service node of the target police application performs identity authentication on the identity information of the first terminal.
In other embodiments, the processing device of the police application further comprises:
a second obtaining unit, configured to obtain a registration application request for the target police application;
the auditing unit is used for responding to the registration application request and auditing the application information of the target police application;
and the distribution unit is used for distributing corresponding target police application identification and attribution mechanism identification for the target police application when the application information of the target police application passes the verification.
In some embodiments, for the case that the first obtaining unit obtains the download request for the target police application corresponding to the first terminal, the following may be implemented:
when a service node of the first terminal receives a downloading request for a target police application sent by the first terminal, login authentication is carried out on the first terminal, and
and when the service node of the first terminal passes login authentication of the first terminal, acquiring a downloading request corresponding to the first terminal and aiming at the target police application.
In some embodiments, the following may be implemented in terms of the first sending unit sending the download request to the service node of the target police application:
acquiring a hypertext transfer protocol in a mobile police information network;
and sending the downloading request to a service node of the target police application through the hypertext transfer protocol.
In further embodiments, the processing means of the police application further comprises:
a fourth sending unit, configured to send the identity information of the first terminal and the corresponding notification message to a blockchain network, so that a node of the blockchain network fills the identity information of the first terminal and the corresponding notification message into a new block, and when the new block is identified consistently, adds the new block to a tail of the blockchain.
An embodiment of the present invention further provides a storage medium, which stores executable instructions, and when the executable instructions are executed, the storage medium is configured to implement a method for processing a police application provided in an embodiment of the present invention, for example, a method as shown in fig. 4.
In some embodiments, the storage medium may be a computer-readable storage medium, such as a Memory, for example, a Ferroelectric Random Access Memory (FRAM), a ROM, a PROM, an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, a Compact Disc or Read-Only disk (CD-ROM), and the like; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. A method for processing a police application, applied to an intermediate service node, the method comprising:
acquiring a downloading request corresponding to a first terminal and aiming at a target police application, wherein the downloading request carries identity information of the first terminal and a target police application identifier, and the home location of the first terminal is different from the home location of the target police application;
searching a mapping relation between a police service application identifier stored in an application service directory and a service address of a service node to determine the service address of the service node corresponding to the target police service application identifier; determining a service node corresponding to the target police application based on the determined service address of the service node;
sending the downloading request to a service node of the target police application, so that the service node of the target police application distributes an operation authority aiming at the target police application to the first terminal when the identity information is authenticated;
and sending a notification message to the first terminal, wherein the notification message is used for indicating the first terminal to download the target police application based on the operation authority, and the target police application is used for the first terminal to inquire police data.
2. The method of claim 1, wherein the method further comprises:
analyzing the downloading request to obtain the identity information of the first terminal when the downloading request is determined to be the downloading request of the remote application based on the attribution of the first terminal;
and sending the identity information of the first terminal to a service node of the target police application so that the service node of the target police application performs identity authentication on the identity information of the first terminal.
3. The method of claim 1, wherein the method further comprises:
acquiring a registration application request aiming at the target police application;
responding to the registration application request, and auditing the application information of the target police application;
and when the application information of the target police application passes the verification, distributing a corresponding target police application identifier and an attribution mechanism identifier for the target police application.
4. The method of claim 1, wherein obtaining a download request for the target police application for the first terminal comprises:
when a service node of the first terminal receives a downloading request for a target police application sent by the first terminal, login authentication is carried out on the first terminal, and
and when the service node of the first terminal passes login authentication of the first terminal, acquiring a downloading request corresponding to the first terminal and aiming at the target police application.
5. The method of claim 1, wherein the sending the download request to the service node of the target police application comprises:
acquiring a hypertext transfer protocol in a mobile police information network;
and sending the downloading request to a service node of the target police application through the hypertext transfer protocol.
6. The method of any of claims 1 to 5, further comprising:
the identity information of the first terminal is transmitted, and sending the corresponding notification message to a block chain network so as to enable the block chain network to be used for transmitting the notification message
And the node of the block chain network fills the identity information of the first terminal and the corresponding notification message into a new block, and when the identity information of the first terminal and the corresponding notification message are consistent, the new block is added to the tail of the block chain.
7. A police application processing apparatus, for application to an intermediate service node, the apparatus comprising:
a first obtaining unit, configured to obtain a download request for a target police application, where the download request corresponds to a first terminal, where the download request carries identity information of the first terminal and a target police application identifier, and a home location of the first terminal is different from a home location of the target police application;
the determining unit is used for searching the mapping relation between the police service application identifier stored in the application service directory and the service address of the service node so as to determine the service address of the service node corresponding to the target police service application identifier; determining a service node corresponding to the target police application based on the determined service address of the service node;
a first sending unit, configured to send the download request to a service node of the target police application, so that when the service node of the target police application passes identity authentication on the identity information, an operation right for the target police application is allocated to the first terminal;
and a second sending unit, configured to send a notification message to the first terminal, where the notification message is used to instruct the first terminal to download the target police application based on the operation permission, and the target police application is used for the first terminal to query police data.
8. An electronic device, characterized in that the electronic device comprises:
a memory for storing executable instructions;
a processor for implementing the method of processing a police application as claimed in any one of claims 1 to 6 when executing executable instructions stored in the memory.
9. A storage medium storing executable instructions for implementing a method of processing a policing application as claimed in any one of claims 1 to 6 when executed.
CN201911171027.6A 2019-11-26 2019-11-26 Police application processing method and device, electronic equipment and storage medium Active CN111182529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911171027.6A CN111182529B (en) 2019-11-26 2019-11-26 Police application processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911171027.6A CN111182529B (en) 2019-11-26 2019-11-26 Police application processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111182529A CN111182529A (en) 2020-05-19
CN111182529B true CN111182529B (en) 2022-11-29

Family

ID=70651897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911171027.6A Active CN111182529B (en) 2019-11-26 2019-11-26 Police application processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111182529B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837023A (en) * 2020-12-03 2021-05-25 杭州趣链科技有限公司 Business collaboration platform, method and device of organization and electronic equipment
CN113360299B (en) * 2021-06-29 2022-11-29 深圳市商汤科技有限公司 Transaction processing method and related product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101083229B1 (en) * 2010-07-16 2011-11-11 주식회사 엘지유플러스 Method, apparatus, system, and recording medium for downloading necessary application of mobile terminal
CN102685727A (en) * 2011-03-11 2012-09-19 中国移动通信有限公司 Method for transmitting and operating application program, system for operating application program, server and terminal
CN103139319A (en) * 2011-11-29 2013-06-05 华为终端有限公司 Method, terminal and server for obtaining resource address
CN103888505A (en) * 2013-11-26 2014-06-25 北京奇虎科技有限公司 File transmission method and system, and terminal devices and servers
CN104301366A (en) * 2013-09-24 2015-01-21 上海辰锐信息科技公司 Mobile police service application management and control system
CN106790679A (en) * 2017-01-23 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and server, terminal for downloading application resource bag
CN109413186A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Application program update method, terminal, server and system
CN110225104A (en) * 2019-05-24 2019-09-10 深圳市明源云科技有限公司 Data capture method, device and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101083229B1 (en) * 2010-07-16 2011-11-11 주식회사 엘지유플러스 Method, apparatus, system, and recording medium for downloading necessary application of mobile terminal
CN102685727A (en) * 2011-03-11 2012-09-19 中国移动通信有限公司 Method for transmitting and operating application program, system for operating application program, server and terminal
CN103139319A (en) * 2011-11-29 2013-06-05 华为终端有限公司 Method, terminal and server for obtaining resource address
CN104301366A (en) * 2013-09-24 2015-01-21 上海辰锐信息科技公司 Mobile police service application management and control system
CN103888505A (en) * 2013-11-26 2014-06-25 北京奇虎科技有限公司 File transmission method and system, and terminal devices and servers
CN106790679A (en) * 2017-01-23 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and server, terminal for downloading application resource bag
CN109413186A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Application program update method, terminal, server and system
CN110225104A (en) * 2019-05-24 2019-09-10 深圳市明源云科技有限公司 Data capture method, device and terminal device

Also Published As

Publication number Publication date
CN111182529A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
JP7076682B2 (en) Data processing methods, devices, electronic devices and computer programs based on blockchain networks
US10944574B2 (en) Method for providing virtual asset service based on decentralized identifier and virtual asset service providing server using them
JP2024050856A (en) Blockchain-enabled method and system
EP3365827B1 (en) End user initiated access server authenticity check
CN105684388B (en) Utilize the network-based single-sign-on of form filling agent application
US9985969B1 (en) Controlling use of computing-related resources by multiple independent parties
CN110599213B (en) Article management method and device based on blockchain network and electronic equipment
US9344432B2 (en) Network layer claims based access control
CN110769274B (en) Live broadcast information processing method and device based on block chain network, electronic equipment and storage medium
US20110321152A1 (en) Trusted intermediary for network layer claims-enabled access control
US20140228001A1 (en) Controlling Application Access to Mobile Device Functions
JP2016535880A (en) Multiple resource servers with a single flexible and pluggable OAuth server, OAuth protected REST OAuth permission management service, and OAuth service for mobile application single sign-on
CN110569643A (en) traffic management method and device based on block chain network
CN110543545A (en) file management method and device based on block chain and storage medium
US20220179975A1 (en) Securely sharing selected fields in a blockchain with runtime access determination
US11405402B2 (en) System and method for implementing a computer network
CN110599697A (en) Vehicle sharing method, device and equipment based on block chain and storage medium
CN110598434A (en) House information processing method and device based on block chain network, electronic equipment and storage medium
WO2023005838A1 (en) Data sharing method and electronic device
CN111182529B (en) Police application processing method and device, electronic equipment and storage medium
CN110766394A (en) Bus taking payment method and device based on credit degree, electronic equipment and storage medium
US11438141B2 (en) Method and system for managing consent and utilization of information using blockchain
CN112702419B (en) Data processing method, device, equipment and storage medium based on block chain
CN111178896B (en) Bus taking payment method, device and storage medium
CN112925589A (en) Calling method and device of expansion interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant