From Search to AI: A Guide to Building Internet Technology Systems

    This article presents a layered approach to analyzing and building internet technology systems, moving beyond corporate profile data to the technical capabilities behind search, mobile operating systems, and AI. It outlines a shared foundation across infrastructure, data and compute, domain capabilities, and business applications; then examines search systems, mobile devices, and AI-enabled workflows in detail. It also covers reliability, data consistency, cost governance, and a phased implementation roadmap. Readers will learn how to connect business scenarios, core capabilities, infrastructure, and governance mechanisms into a maintainable system that balances quality, latency, security, and cost.

    1. From Corporate Profiles to Technical Capability Analysis

    Understanding a large internet technology company should not stop at founding date, headquarters location, employee count, and revenue. Such information can describe organizational scale, but it cannot explain why its services continue to run, how different businesses share a technical foundation, or how technology investment translates into user value.

    Three broadly applicable technical questions emerge from business categories such as search services, mobile operating systems, and AI:

    First, how can relevant information be discovered from massive, heterogeneous, and continuously changing data and returned with low latency?

    Second, how can a stable, secure, and consistent endpoint experience be delivered across environments with significant differences in device capability, network conditions, and software versions?

    Third, how can statistical learning and generative models be turned into business capabilities that are evaluable, controllable, and sustainable to operate?

    These three questions correspond to information retrieval, endpoint systems, and intelligent computing, but they depend on highly overlapping underlying capabilities, including distributed storage, task scheduling, data governance, identity authentication, observability, and reliability engineering. A more valuable technical analysis approach is therefore to establish a layered perspective of “business scenario—core capability—infrastructure—governance mechanism” rather than simply listing different products.

    2. Overall Architecture: A Shared Foundation, Not Forced Unification of All Businesses

    A sustainable and evolving internet technology system can be divided into four layers.

    The basic resource layer provides compute, network, and storage capabilities and handles resource isolation, capacity management, and failure recovery. Its goal is not unlimited scaling, but meeting business requirements for throughput, latency, and availability under cost constraints.

    The data and compute layer handles data ingestion, cleaning, persistence, batch processing, and real-time processing, and provides trustworthy data input for retrieval, analysis, and model training.

    The domain capability layer includes modules such as search candidate retrieval, ranking, device management, and model inference. Different domains can share basic components, but they should retain their own data models, performance objectives, and release cadence.

    The business application layer serves specific user tasks, such as information lookup, content understanding, endpoint interaction, and enterprise knowledge Q&A.

    A common misconception should be avoided here: sharing infrastructure does not mean all businesses share one database, one release process, or one massive service. Reasonable reuse should occur in capabilities with stable responsibilities and clear boundaries. Modules with different business semantics, access patterns, and failure impact scopes should be allowed to evolve independently.

    3. Search Systems: From Data Collection to Result Ranking

    3.1 Data Ingestion and Content Governance

    Search quality depends first on data, not on ranking models.

    Retrieval of public information requires attention to access authorization, crawl frequency, duplicate content, and expired pages. Retrieval of enterprise internal materials needs to preserve source, version, owning department, and access permissions to avoid information leaks where “the original system has no access, but search results make the content visible.”

    After data enters the system, it usually needs text extraction, encoding unification, structure recognition, deduplication, and quality checks. For scanned documents, tables, or image materials, corresponding content recognition processing may also be required, but recognition results must retain confidence levels or verification mechanisms. It should not be assumed that all extracted content is accurate.

    It is recommended to record a stable identifier, source, update time, permission scope, and processing status for each document. This supports incremental updates, error traceability, and deletion propagation.

    3.2 Indexing and Candidate Retrieval

    An inverted index supports efficient keyword matching by establishing mappings between terms and documents. Vector retrieval represents queries and content as numerical vectors and finds semantically related content through similarity calculation.

    The two methods have different applicable scopes. Keyword matching is more direct for exact terms, numbers, and proper expressions; vector retrieval can supplement semantic connections between different expressions, but it may also return content that is “semantically close but factually irrelevant.”

    Therefore, a practical system can use hybrid candidate retrieval: obtain candidates separately, then form a unified candidate set through score normalization, rank fusion, or subsequent ranking. Scores from different retrieval channels are usually not on the same scale and cannot be added directly without processing.

    3.3 Ranking and Result Presentation

    The ranking stage needs to consider factors such as relevance, content quality, freshness, and user intent. For enterprise knowledge retrieval, document authority, version validity, and applicable scope should also be considered.

    The result page should not only display titles and snippets, but also provide sources, update times, and necessary matching evidence. Snippets must be faithful to the original text and must not add conclusions that do not exist in the original merely for fluency.

    Search quality evaluation should cover both offline and online layers. Offline evaluation focuses on recall rate, ranking quality, and no-result rate; online evaluation focuses on task completion rate, user feedback, and query rewriting behavior. Click-through rate can be used as a reference, but it cannot alone represent result correctness, because position, title, and presentation style all affect clicks.

    4. Mobile Devices: Compatibility, Security, and Resource Constraints

    4.1 Layered Design Reduces the Impact of Device Differences

    Mobile device systems usually need to coordinate relationships among hardware drivers, system services, runtime environments, and applications. Clear abstraction boundaries can reduce the impact of hardware differences on upper-layer applications, but they cannot completely eliminate compatibility issues.

    Screen size, sensor capability, storage speed, memory capacity, and system version can all change application behavior. Therefore, endpoint capability development is not only about implementing features, but also about establishing a device coverage matrix, compatibility test sets, and fault classification mechanisms.

    For enterprise applications, test priorities should be determined based on the real distribution of user devices rather than pursuing formal full coverage.

    4.2 Performance Optimization Must Consider Energy Consumption

    Endpoint optimization cannot look only at response speed; it also needs to consider power consumption, heat, network traffic, and background resource usage.

    For example, merging multiple non-urgent network requests usually helps reduce frequent wakeups and connection overhead; however, if the merge window is too long, it may affect data freshness. Caching can reduce network access, but it requires capacity limits, invalidation policies, and sensitive data protection.

    Therefore, each optimization should have clear objectives and costs. Startup time, interaction response, peak memory, background power consumption, and abnormal exit rate should be continuously observed as a set of mutually constraining metrics.

    4.3 Update Mechanisms Are Also Security Mechanisms

    Endpoint software must have a trustworthy software update process, including update package integrity verification, source verification, staged rollout, and failure recovery.

    Staged rollout can reduce the impact scope of unknown issues, but the premise is that the system can identify anomalies in a timely manner. Release monitoring should correlate version, device type, network conditions, and critical business paths, rather than only counting overall installation success rates.

    When permission changes or data format migrations are involved, backward compatibility strategies also need to be designed. If a migration is irreversible, merely preparing an old version installation package does not guarantee a safe rollback.

    5. AI: From Model Output to Reliable Business Workflows

    5.1 First Determine Whether Generative Capabilities Are Needed

    Not all problems are suitable for generative models. Tasks with clear rules, unique answers, and strict requirements for repeatability may be better suited to rule engines, structured queries, or traditional classification models.

    Generative models are better suited to open expression, content summarization, and multi-turn interaction, but their outputs are uncertain. Therefore, technology selection should start from the nature of the task rather than choosing a model first and then looking for a scenario.

    For high-risk operations, a model can make suggestions, but it should not directly execute fund changes, permission grants, or data deletion based solely on natural language output.

    5.2 Connect Knowledge Retrieval with the Generation Process

    Enterprise knowledge Q&A can use retrieval-augmented generation: first retrieve authorized materials relevant to the question, then provide the materials as context for the model to generate an answer.

    This process includes at least question understanding, permission filtering, candidate retrieval, content reranking, context organization, and answer validation. When retrieval results are insufficient, the system should explicitly indicate that information is missing rather than requiring the model to produce a seemingly complete answer.

    It is especially important to emphasize that providing reference materials can only reduce some factual error risk; it cannot guarantee that an answer is necessarily correct. The system should still check whether citations support the conclusions, whether materials are outdated, and whether different sources conflict.

    5.3 Prevent Untrusted Content from Influencing Model Behavior

    Retrieved web pages, documents, and user-uploaded materials should all be treated as untrusted input. They may contain instructions that attempt to make the model ignore rules, leak information, or perform unauthorized operations.

    Protection cannot rely only on prompts; it should be implemented through system boundaries: separate material content from control instructions, limit the capabilities the model can invoke, verify permissions before execution, and require human confirmation for high-risk actions.

    Model output should also undergo format checks and business validation. Output that meets structural requirements does not mean that the business facts, amounts, or permission judgments within it are correct.

    6. Engineering Foundation: Reliability, Data Consistency, and Cost Governance

    6.1 Manage Reliability with Explicit Objectives

    “System stability” is not an executable objective. User experience should be translated into measurable metrics, such as request success ratio, latency distribution, and data visibility delay, and service objectives should then be set for critical paths.

    Latency cannot be judged only by averages. A small number of very slow requests may significantly damage user experience, so high-percentile latency should also be observed, and time should be distinguished among application processing, storage access, external dependencies, and network transmission.

    When dependent services are abnormal, timeout control, limited retries, concurrency limits, and degradation strategies can be used. Retries must have an upper limit and consider backoff and jitter; otherwise, they may amplify traffic during a failure.

    6.2 Choose Consistency Strategies Based on Business Semantics

    There is usually an update delay between search indexes and original databases, but operations such as permission revocation and sensitive content deletion cannot simply follow ordinary content update strategies.

    A practical approach is to distinguish content freshness from access control: ordinary body content may allow short delayed updates, while permission judgments should rely as much as possible on authoritative state or timely invalidation mechanisms, with necessary checks performed before results are returned.

    For asynchronous processing pipelines, duplicate messages, out-of-order arrival, and task replay should also be considered. Idempotent processing, version comparison, and failure compensation are more robust than assuming messages “arrive exactly once and accurately.”

    6.3 Incorporate Cost into Architecture Evaluation

    A technical solution should not only be verified for whether it can run, but also evaluated for whether it can be sustained over the long term.

    Search systems need to pay attention to index size, update frequency, and query peaks; model services need to pay attention to input and output scale, concurrency, and compute resource usage; endpoint services need to pay attention to bandwidth, cache hit rate, and version distribution.

    Optimization should be based on measurement. Consumption can be reduced through tiered storage, caching, task merging, and tiered model invocation, but accuracy, freshness, and maintenance complexity must be evaluated at the same time to avoid local savings creating greater system costs.

    7. Implementation Roadmap: From a Minimal Closed Loop to Continuous Evolution

    In the first phase, clarify user tasks, data boundaries, and acceptance criteria. First answer “what problem is being solved,” “which data can be used,” and “what result counts as effective,” then discuss the specific architecture.

    In the second phase, establish a minimal usable closed loop. Select datasets and business processes with clear scope, and complete ingestion, processing, serving, feedback, and auditing without rushing to cover all scenarios.

    In the third phase, build an evaluation and observability system. Incorporate quality, latency, error rate, resource consumption, and security events into unified analysis, and retain version information so that issues can be reproduced.

    In the fourth phase, carry out controlled expansion. Validate system boundaries through capacity testing, failure drills, and staged releases, then gradually expand data scale, user scope, and automation level.

    In the fifth phase, form a continuous governance mechanism. Assign clear owners for data, interfaces, models, and business rules, and set up change approval, incident handling, and retirement processes to prevent the system from becoming unmaintainable as features grow.

    8. Conclusion

    Although search, mobile devices, and AI have different development paths, they all depend on the same set of engineering principles: trustworthy data sources, clear system boundaries, measurable quality, controllable risk, and continuously visible cost.

    For developers, the key is not to stack more components, but to understand the problem each component solves and its applicable boundaries. For enterprises, what can truly accumulate long-term value is not an isolated feature, but the system capability that connects data, infrastructure, business processes, and governance mechanisms.