Thaqib System
The system addresses the challenge of secure, real-time data access and analysis in law enforcement by integrating with government databases, ensuring compliance and efficiency through a multi-layered architecture with role-based permissions, enhancing forensic and investigative operations.
Patent Information
- Application Number
- SA1020254902
- Authority / Receiving Office
- SA · SA
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2026-10-01
AI Technical Summary
Existing law enforcement systems lack efficient, secure, and real-time data access and analysis capabilities for integrated forensic and investigative operations, particularly in the Kingdom of Saudi Arabia, due to limitations in data sharing and integration with government databases.
A system architecture with four interconnected layers and seven functional units, including an encrypted user interface, dynamic authorization, parallel analysis engine, transient connectivity, and secure infrastructure, enabling secure, real-time data access and analysis from government databases like Absher, Criminal Evidence Department, and Forensic Medicine Department, with permission distribution based on user roles.
Facilitates secure, real-time data access and analysis for forensic and investigative tasks, ensuring data privacy and compliance with Saudi Arabian regulations, while providing instant reporting and analysis capabilities for fingerprint, facial recognition, location determination, and criminal history inquiries.
Smart Images

Figure 2A7641C8-57A2-4236-9C9B-0ED061ABE4C4 
Figure 40F05BFE-B498-436D-9E49-F9074AEA02E6 
Figure 5072CF3A-2DB4-49F8-A0DE-1E103BEEA67C
Abstract
Description
The following is a detailed description of the components and mechanisms of operation, with explicit reference to the accompanying illustrations, to enable professionals to implement the invention. First: The system's architectural structure as shown in Figure (1): Figure (1) illustrates the complete architectural structure, which consists of seven structurally and functionally interconnected technical units, distributed across three architectural layers: The first layer (the interface layer): This includes the encrypted user interface (10), which is the sole point of interaction between the authorized specialist and the system. This interface is functionally connected to the dynamic authorization system (40) to verify the user's identity and authorization before any processing, to the parallel analysis engine (30) to receive and display matching results, and to the technical reporting unit (60) to generate official reports.The second layer (the operational core layer) includes the parallel analysis engine (30), which performs concurrent matching operations in working memory only; the transient connectivity unit (20), which handles real-time communication with external government databases; the dynamic permissions system (40), which restricts access for each user to their designated role; and the protected audit log (50), which documents all operations in an immutable manner. The third layer (the secure infrastructure layer) includes the encryption connectivity unit (70), which encloses all internal and external communications with standard encryption channels (TLS 1.3); and the technical reporting unit (60), which generates the approved digital documents attached to case files. These three layers are linked to a fourth, external layer representing the databases of associated government entities (such as Absher, the Communications Authority, the Criminal Evidence Department, and the Forensic Medicine Department). The system accesses these databases only through the transient connectivity unit (20), without any permanent storage of their data within the system. Second: Permission Distribution as per Figure (2): Figure (2) shows the permission distribution diagram within the system, illustrating the entities authorized to access the system and their respective tasks. This is achieved through the Dynamic Permissions System (40), which ensures that each entity sees only the data and functions related to its actual job responsibilities and does not have access to the data or queries of any other entity. Third: System Interface Operation (Figures 3 to 9): The login screen as per Figure (3): This screen demonstrates the mechanism for verifying the user's identity and password via the Dynamic Permissions System (40) before granting any access to the system. The user enters their data, which is then verified. Their permission level is then determined based on their pre-registered job role, and they are only shown the services permitted by their role. The home page, as shown in Figure (4): represents the encrypted user interface (10) after user verification, and displays the services provided by the parallel analysis engine (30) to the authorized investigator, which are: fingerprint analysis, facial recognition, location determination, timeline mapping, weapon identification, criminal history inquiry, biological evidence, and report issuance.Facial Recognition Service (Figure 5): This service involves uploading a suspect's image via the encrypted user interface (10), which is then forwarded to the AI-powered facial recognition unit within the parallel analysis engine (30). The transient linking unit (20) then sends a transient query request to the official Absher database for identity verification. The result is immediately returned to the interface without any internal storage of the image or the result. Fingerprint Analysis Service (Figure 6): This service involves uploading a fingerprint file via the interface, which is forwarded to the fingerprint analysis unit in the parallel analysis engine (30). The transient linking unit (20) then creates a temporary query session with the records held by the Criminal Evidence Department to perform the matching. The result is returned immediately and then displayed upon completion of the session. Criminal Record Inquiry Service (Figure 7): This service demonstrates the mechanism for instant transient inquiry into the suspect's criminal record from the records held by the relevant authorities. The transient linking unit (20) opens a temporary query session, returns the result to the interface without any storage, and then closes the session upon completion of the inquiry.Geographic Location Services (Figure 8): These services embody the system's two geographic functions: (a) mapping the suspect's movements over time, and (b) determining their last known location. Both functions operate within the Geo-Time Analysis Unit of the Parallel Analysis Engine (30), and are retrieved from the Communications Authority's database via the Transit Link Unit (20). The Timeline Report (Figure 9): This report represents the output of the Geo-Time Analysis Unit, which is an interactive map showing the suspect's locations along with a table of precise coordinates and times. It is printable and can be attached to the case file via the Technical Reports Unit (60) as certified digital evidence. Fourth: Geo-Temporal Analysis Mechanism: The geo-temporal analysis mechanism operates within the Geo-Analysis Unit of the Parallel Analysis Engine (30), in collaboration with the Transient Link Unit (20), through the following technical steps: (1) Receiving the suspect's identifiers and time range: The authorized specialist enters the suspect's identifier (ID number or mobile number) and a specific time range (start and end date and time) via the user interface (10) to determine the time range within which their movements will be monitored. (2) Opening a query session with the Communications Authority: The Transient Link Unit (20) establishes a temporary, encrypted query session with the Communications Authority's database to obtain a list of cell tower IDs that the suspect's device contacted within the specified time range. (3) Converting tower IDs to coordinates: The retrieved tower IDs are converted into geographic coordinates (latitude, longitude) using a reference table approved by the Communications Authority, with timestamps accurate to the second.(4) Chronological Location Sorting: Retrieved coordinates are sorted chronologically according to the timestamp to generate a timeline trajectory within working memory only, without any permanent storage. (5) Matching with Criminal Incident Locations: The analysis engine performs (30) matches between the suspect's movement coordinates and the coordinates of criminal incident locations recorded in the case file, within an adjustable radius (default 500 meters). (6) Report and Map Generation: The technical reports module generates (60) an interactive map showing the suspect's locations in chronological order, along with a table of coordinates and times, which can be attached to the case file as valid digital evidence. (7) Session Termination and Data Discarding: The transient linking module closes the query session (20) and discards all retrieved data from working memory immediately upon report issuance, leaving no trace of the queried data within the system. Fifth: System Process Flow: Processes within the system flow in the following sequence among the seven modules: (a) The encrypted user interface (10) receives the query data from the authorized user and verifies their authority via the dynamic permissions system (40) before any processing.(b) The Transient Link Unit (20) opens temporary query sessions synchronous with the databases of the linked entities, via the Encryption Link Unit channels (70). (c) The Parallel Analysis Engine (30) performs multiple matching operations (face, fingerprints, location, history, etc.) on the retrieved data in working memory only, in a synchronous, not sequential, manner. (d) The matching results are immediately displayed to the specialist via the encrypted user interface (10). (e) The Technical Reports Unit (60) issues a digitally certified technical report that is attached to the case file. (f) The query sessions are closed, all temporary data is removed from working memory, and the completion of the process is recorded in the protected audit log (50) via an unalterable, encrypted time-sequence mechanism. Industrial Application and Practical Feasibility: It is industrially applicable according to Article (45) of the Patent Law, as it can be manufactured and operated in the security and judicial sectors of the Kingdom of Saudi Arabia using currently available technologies and infrastructure, without the need to develop new technologies from scratch. First: Technical Feasibility: The system is implemented using existing and proven computer technologies: a software platform operating via the HTTPS protocol, deployable on a reliable government cloud infrastructure (the equivalent of the National Information Center); integration via standard application programming interfaces (APIs) already available in national systems (example: the similar integration used in the "Tawakkalna" application with Absher); an artificial intelligence engine for facial and fingerprint recognition based on commercially available Computer Vision and Biometrics libraries; a standard encrypted hash function (SHA-256) for the protected audit log; and (50) standard encryption channels (TLS 1).3) To protect data exchange via the encryption link unit (70). Second: Demonstrating feasibility with a prototype: A simulation prototype of the interfaces and workflows between the seven system units was built using virtual data, as illustrated in Figures (3) to (9). This model embodies the system's architectural concept and functional flow between its units, and demonstrates the feasibility of implementing the actual system when integration with relevant government systems is achieved via currently available national API protocols (similar to the integration of the "Tawakkalna" application with the Absher platform). Third: Entities connected to the system and the nature of each connection: The relationship of government entities to the system varies according to their respective functions, at three levels: (1) Entities using the system (actual operational privileges): The Public Prosecution – Investigators. Public Security (Traffic and Police Stations). These are the entities that have user interfaces within the system via the dynamic permissions system (40) to upload data and conduct search and matching operations, within the limits of their respective functional jurisdictions.(2) Entities connected as data sources (passive query only – without operational privileges within the system): Absher platform – for identity verification and matching official facial data. Communications Authority – to provide cell tower data and geographic coordinates of suspects. Criminal Evidence Department – for pass-through querying of criminal records, fingerprints, and previous examination data recorded in its databases. These entities are connected to the system via the pass-through link unit (20) and via the encryption link unit channels (70). They respond to instant query requests, and the relationship ends upon the session's conclusion without any internal storage. (3) Entities connected to attach their examination results (without investigative privileges within the system): Criminal Evidence Department – attaching the results of new technical and laboratory examinations after their completion in its specialized laboratories. Forensic Medicine Department – attaching the results of analyses and forensic medical reports after their completion in its specialized laboratories. These reports are uploaded via the Technical Reports Unit (60) to be included in the case file, without these entities conducting any investigative operations within the system.Note: The Criminal Evidence Department appears in categories (2) and (3) because it plays a dual role: a data source for inquiries about criminal records and registered fingerprints, and simultaneously an entity that attaches the results of its new examinations upon completion. The system can be expanded in the future to add additional analytical units in line with rapid technological advancements.
Claims
1. Integrated Computer System for Real-Time Criminal Investigation: An integrated computer system for real-time criminal investigation, combining structurally and functionally interconnected technical units on a unified, encrypted platform, including at least: (a) An encrypted user interface (10) functionally connected to the authorization system (40) for authentication, the analysis engine (30) for displaying results, and the reporting unit (60) for generating reports; it receives multi-type criminal data before any processing. (b) A transient link unit (20) functionally connected to the interface (10) and the analysis engine (30), operating through the channels of the encrypted link unit (70); it establishes synchronous temporary query sessions with the databases of multiple government agencies, and discards all data immediately upon session termination without any permanent internal storage. (c) A parallel analysis engine (30) functionally connected to the transient link unit (20) to receive the retrieved data, and passes its outputs to the interface (10) and the reporting unit (60); it performs matching operations in working memory only, concurrently, not sequentially. (d) A dynamic permissions system (40) that is functionally connected to all units; it restricts each user’s access to the limits of their actual job task, so that no party sees another party’s data at any stage.(e) A secure audit log (50) functionally connected to all units to receive transaction notifications; it documents them in an unalterable, encrypted chronological sequence. (f) A technical reports unit (60) functionally connected to the analysis engine (30) to receive matching results; it issues digitally certified documents that are attached to the case file. (g) A cryptographic linking unit (70) that connects all units to each other and to external parties; it protects data exchange in all integration channels. These units interact as a unified, interconnected system, so that none of them operates in isolation from the others, and the system cannot operate or obtain the required result in the absence of any of them.
2. System Operation Method According to Element (1) The system operation method according to Element (1) includes the following steps in order: (a) Receiving criminal data from an authorized user via Interface (10), and verifying their authority via the permissions system (40) before any processing. (b) Opening temporary query sessions synchronously with the connected parties via the cross-linking unit (20), and via the cryptographic linking unit channels (70). (c) Running the analysis engine (30) on the retrieved data in working memory only. (d) Displaying the matching results immediately to the investigator via the interface (10).(e) Issuing a digitally certified technical report via the Reports Unit (60). (f) Closing the session, discarding all provisional data, and recording the completion of the process in the audit log (50).
3. The system according to element (1), where concurrent matching operations in the analysis engine (30) include: facial feature matching using artificial intelligence techniques; fingerprint analysis; geo-temporal analysis; matching of forensic biological samples; comparison of weapons data; and instant criminal background checks—all performed simultaneously in a single, cross-referenced query session.
4. The system according to element (3), where facial feature matching is performed via an instant query from an official national identity database, by sending the suspect's image via the cross-reference unit (20) to the original data source, and receiving the verification result without any internal storage of the image or the result in the system. 5.The system, according to element (3), involves a temporal geographic analysis that includes a cross-reference query from the Communications Authority's database to obtain the identifiers of the communication towers that the suspect's device contacted within a specific time range. This data is then converted into chronologically ordered geographic coordinates and matched with the locations of the criminal events recorded in the case file. This generates a movement trail that can be attached to the case file as certified digital evidence via the Reports Unit (60).
6. The system, according to element (1), involves the cross-reference unit (20) operating on the principle of real-time subtractive querying. No data from the connected entities is stored in the system's database or in a cache for a period exceeding the duration of a single session. This makes retrieving data from the entities within the system itself technically impossible after the session ends. 7.The system, according to element (6), achieves three combined properties in the transient link unit (20): (a) no permanent storage of any retrieved data, (b) automatic session termination upon completion of the operation, and (c) no cache memory between sessions. This ensures that sovereign databases remain under the control of their original entities, and data are not aggregated in a single central location within the system.
8. The system, according to element (1), operates the audit log (50) using a chronological encryption mechanism with a standard SHA-256 hash function. Each log is linked to the preceding log via an encrypted hash value, automatically detecting any subsequent modification. Each log includes: user ID, entity, transaction type, time in seconds, and session ID.
9. The system, according to element (1), operates the cryptographic link unit (70) using the standard TLS 1.3 encryption protocol to protect data exchange between all internal units and with external parties across all integration channels. 10.The system, according to element (1), ensures that no user is granted permissions exceeding their actual job duties via the permissions system (40). Any unauthorized access attempt is automatically monitored, and an immediate alert is sent to the relevant department via the audit log (50).
11. The system, according to element (1), supports integration with the databases of multiple government entities via standard APIs, including at least the National Identity Database, the Communications Authority Database, and the Criminal Evidence Database, without storing any of their data within the system.
12. The system, according to element (1), allows the Technical Reports Unit (60) to issue electronically signed digital documents with session IDs and query data, which can be attached to the case file as valid digital evidence that can be verified later via the audit log (50).
13. The system, according to element (1), operates via a deployable HTTPS protocol on a reliable government cloud infrastructure, enabling system deployment without the need to develop a new infrastructure from scratch. 14.The system according to element (5), where the geographical radius for matching the suspect's movements with the locations of criminal events is adjustable by the authorized investigator, allowing it to be narrowed or widened according to the nature of the case under investigation.
15. Readable computer medium: Non-temporary readable computer medium containing processor-executable instructions that, when executed, cause the computer to perform the steps of the method according to element (2). These instructions include: creating temporary query sessions, running the parallel analysis engine in working memory, recording operations in the encrypted audit log, and issuing digitally validated technical reports.
16. The system according to element (1), where user credentials are verified independently of previous sessions in each new query session. No user is granted permanent privileges; instead, privileges are granted temporarily according to the session and task. 17.The system is based on element (2), where it prevents the execution of any step of the method without the successful completion of the previous step, so that the system ensures the sequence of operations in the prescribed order. Validation verification is a prerequisite for opening query sessions, and issuing the report is a prerequisite for closing the session.
