Mobile device, operation method and system thereof, and computer readable storage medium

By setting up a switching circuit and memory system in the mobile device, the problem of limited storage capacity of mobile devices is solved, and the storage capacity expansion of mobile devices and the integration of communication and mobile storage is realized, reducing user usage costs and improving portability.

CN119645290AActive Publication Date: 2025-03-18YANGTZE MEMORY TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311212423.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2025-03-18
Estimated Expiration
2043-09-18

AI Technical Summary

Technical Problem

The storage capacity of mobile devices is limited and it is difficult to meet users' growing storage needs. At the same time, users need to purchase and carry communication devices and mobile storage devices at the same time, resulting in increased usage costs and reduced portability.

Method used

A switching circuit and a memory system are provided in the mobile device, which can switch from the first state to the second state or the third state in response to the switching instruction, such that the memory system can be used as extended memory of the mobile device or the mobile device can be used as mobile storage.

Benefits of technology

By providing additional storage space, increasing the storage capacity of mobile devices and combining mobile storage into one product, mobile devices have both communication and mobile storage functions, reducing user usage costs and enhancing portability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645290A_ABST
    Figure CN119645290A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses mobile equipment, an operation method and system thereof and a computer readable storage medium. The mobile equipment comprises a first memory, a memory system, a switching circuit and an external interface, the switching circuit is configured to: switch from a first state to a second state or a third state in response to a switching instruction; wherein the switching instruction is used for indicating access to the memory system; in the first state, the first memory is coupled with the external interface through the switching circuit; in the second state, the memory system is coupled to the first memory through the switching circuit. In the third state, the memory system is coupled to the external interface through the switching circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to semiconductor technology, and relate to but are not limited to a mobile device and an operating method, system, and computer-readable storage medium thereof. Background Art

[0002] With the development of information technology, mobile devices such as mobile phones and tablet computers are increasingly used in daily work, study and life. By using small and portable mobile devices, users can not only communicate, but also store data information (for example, audio, video, images, etc.) anytime and anywhere.

[0003] However, the storage capacity of the above mobile devices is limited, which is difficult to meet the growing storage capacity requirements of users. Therefore, how to make the mobile devices have both communication and mobile storage functions has become a technical problem to be solved urgently. Summary of the invention

[0004] In view of this, embodiments of the present disclosure provide a mobile device and an operating method, system, and computer-readable storage medium thereof.

[0005] In a first aspect, an embodiment of the present disclosure provides a mobile device, the mobile device comprising: a first memory, a memory system, a switching circuit, and an external interface;

[0006] The switching circuit is configured to: switch from a first state to a second state or a third state in response to a switching instruction; wherein the switching instruction is used to instruct access to the memory system; in the first state, the first memory is coupled to the external interface via the switching circuit; in the second state, the memory system is coupled to the first memory via the switching circuit; in the third state, the memory system is coupled to the external interface via the switching circuit.

[0007] In some embodiments, the switching instruction includes a first sub-switching instruction; wherein the first sub-switching instruction is used to instruct switching to the second state; the mobile device further includes: a processor, the processor being coupled to the first memory;

[0008] The switching circuit includes: a first port, a second port and a third port, the first port is coupled to the first memory, the second port is coupled to the memory system, and the third port is coupled to the external interface;

[0009] The switching circuit is specifically configured to: in response to the first sub-switching instruction from the processor, switch the first port from being coupled to the third port to being coupled to the second port.

[0010] In some embodiments, the processor is configured to:

[0011] Backing up the data stored in the first memory to the second memory of the memory system;

[0012] or,

[0013] The data stored in the second memory of the memory system is read.

[0014] In some embodiments, the switching instruction also includes a second sub-switching instruction; wherein the second sub-switching instruction is used to indicate switching to the third state; the switching circuit is also configured to: switch from the second state to the third state in response to the second sub-switching instruction from the processor.

[0015] In some embodiments, the switching circuit is further configured to: switch from the second state or the third state to the first state in response to a resume instruction from the processor.

[0016] In some embodiments, the switching circuit is specifically configured to: in response to the switching instruction from the processor, the third port switches from coupling with the first port to coupling with the second port; wherein the external interface is coupled to an external terminal.

[0017] In some embodiments, the memory system includes a second memory and a memory controller; wherein the second memory and the memory controller are jointly packaged on a mainboard of the mobile device; the mobile device also includes: a bridge chip, and the memory system is coupled to the external interface through the bridge chip.

[0018] In some embodiments, the memory system includes a second memory and a memory controller, wherein the second memory and the memory controller are respectively packaged on a main board of the mobile device; the second memory is coupled to the external interface through the memory controller.

[0019] In some embodiments, the memory system includes at least one of an embedded multimedia card, a universal flash memory, and a solid state drive.

[0020] In some embodiments, the mobile device is used for communication and / or mobile storage.

[0021] In some embodiments, the mobile device includes: a mobile phone or a tablet computer.

[0022] In a second aspect, an embodiment of the present disclosure provides an operating method of a mobile device, wherein the mobile device includes a first memory, a memory system, a switching circuit, and an external interface; the operating method includes:

[0023] receiving a switching instruction; wherein the switching instruction is used to instruct access to the memory system;

[0024] In response to the switching instruction, the switching circuit switches from a first state to a second state or a third state; wherein, in the first state, the first memory is coupled to the external interface through the switching circuit; in the second state, the memory system is coupled to the first memory through the switching circuit; and in the third state, the memory system is coupled to the external interface through the switching circuit.

[0025] In some embodiments, the mobile device further comprises: a processor, the processor being coupled to the first memory; the switching circuit comprising: a first port, a second port and a third port, the first port being coupled to the first memory, the second port being coupled to the memory system, and the third port being coupled to the external interface;

[0026] The receiving of the switching instruction comprises: receiving a first sub-switching instruction from the processor; wherein the switching instruction comprises the first sub-switching instruction, and the first sub-switching instruction is used to instruct switching to the second state;

[0027] In response to the switching instruction, the switching circuit switches from the first state to the second state, including: in response to the first sub-switching instruction from the processor, the first port switches from being coupled to the third port to being coupled to the second port.

[0028] In some embodiments, the operating method further includes:

[0029] Backing up the data stored in the first memory to the second memory of the memory system;

[0030] or,

[0031] The data stored in the second memory of the memory system is read.

[0032] In some embodiments, the receiving of the switching instruction further includes: receiving a second sub-switching instruction from the processor; wherein the switching instruction includes the second sub-switching instruction, and the second sub-switching instruction is used to instruct switching to the third state;

[0033] The operating method further includes: in response to the second sub-switching instruction from the processor, the switching circuit switches from the second state to the third state.

[0034] In some embodiments, the operating method further includes: in response to a recovery instruction from the processor, the switching circuit switches from the second state or the third state to the first state.

[0035] In some embodiments, in response to a switching instruction, the switching circuit switches from a first state to a third state, including: in response to the switching instruction from the processor, the third port switches from coupling with the first port to coupling with the second port; wherein the external interface is coupled to an external terminal.

[0036] In a third aspect, an embodiment of the present disclosure provides a system, the system comprising:

[0037] A mobile device as described in any of the above embodiments;

[0038] An external terminal is coupled to the mobile device, and the external terminal is configured to: access the first memory when the switching circuit is in the first state; or access the memory system when the switching circuit is in the third state.

[0039] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which instruction codes are stored, and when the instruction codes are executed, the operating method described in any of the above embodiments is implemented.

[0040] In the embodiments of the present disclosure, a switching circuit and a memory system are provided in a mobile device, and the switching circuit can switch from a first state to a second state or a third state in response to a switching instruction, so that the memory system can be used as an extended memory of the mobile device or the mobile device can be used as a mobile storage; on the one hand, additional storage space can be provided for the mobile device, thereby increasing the storage capacity of the mobile device, and the communication function of the mobile device is not affected; on the other hand, the two products of mobile phone and mobile storage are combined into one product, and the mobile device has both the functions of communication and mobile storage, which can reduce the user's usage cost and enhance portability. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a schematic diagram showing a mobile device in a first state according to an embodiment of the present disclosure;

[0042] Figure 2 is a schematic diagram showing a mobile device in a second state according to an embodiment of the present disclosure;

[0043] Figure 3 is a schematic diagram showing a mobile device in a third state according to an embodiment of the present disclosure;

[0044] Figure 4 is a schematic diagram of another mobile device according to an embodiment of the present disclosure;

[0045] Figure 5is a schematic diagram of a memory system according to an embodiment of the present disclosure;

[0046] Figure 6a is a schematic diagram of a memory card according to an embodiment of the present disclosure;

[0047] Figure 6b is a schematic diagram of a solid state hard disk according to an embodiment of the present disclosure;

[0048] Figure 7 is a flow chart of an operating method of a mobile device according to an embodiment of the present disclosure;

[0049] Figure 8 It is a schematic diagram of a system according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0050] In order to facilitate the understanding of the present disclosure, the exemplary embodiments of the present disclosure will be described in more detail below with reference to the relevant drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the specific embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0051] In the following description, a large number of specific details are given to provide a more thorough understanding of the present disclosure. However, it is obvious to those skilled in the art that the present disclosure can be implemented without one or more of these details. In some embodiments, in order to avoid confusion with the present disclosure, some technical features known in the art are not described; that is, all features of the actual embodiment may not be described here, and well-known functions and structures may not be described in detail.

[0052] Generally, terms can be understood at least in part from their use in context. For example, depending at least in part on the context, the term "one or more" as used herein can be used to describe any feature, structure or characteristic in a singular sense, or can be used to describe a combination of features, structures or characteristics in a plural sense. Similarly, terms such as "one" or "the" can also be understood to convey singular usage or to convey plural usage, depending at least in part on the context. In addition, the term "based on" can be understood to not necessarily be intended to convey an exclusive set of factors, and can alternatively allow for the presence of additional factors that are not necessarily explicitly described, which also depends at least in part on the context.

[0053] Unless otherwise defined, the purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present disclosure. When used herein, the singular forms "one", "an" and "said / the" are also intended to include plural forms, unless the context clearly indicates another way. It should also be understood that the terms "consisting of" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0054] In order to thoroughly understand the present disclosure, detailed steps and detailed structures will be presented in the following description to illustrate the technical solution of the present disclosure. The preferred embodiments of the present disclosure are described in detail below, but in addition to these detailed descriptions, the present disclosure may also have other implementations.

[0055] Mobile phones are widely used as common mobile devices in daily life, but the storage capacity of mobile phones is limited and can be easily filled up. As the behavior of storing large amounts of data (e.g., saving short videos, movies, TV series, audio) becomes more and more common, users need larger storage capacity. Therefore, additional storage space needs to be provided.

[0056] Mobile storage has the advantages of being rewritable and having a large storage capacity, and is therefore favored by consumers. Mobile storage includes but is not limited to USB flash disks, mobile hard disks, memory cards, etc. By backing up the data in a mobile phone to a mobile storage, additional storage space can be provided for the mobile phone and the mobile phone memory can be freed up. However, in this solution, users need to purchase and carry both a mobile phone and a mobile storage product, which increases the user's usage cost and reduces portability.

[0057] Moreover, backing up data in a mobile phone to a mobile storage usually requires the use of other devices, which makes the user experience poor. For example, the mobile phone and the mobile storage are connected to the computer respectively to copy the data; after the copy is completed, the mobile phone and the mobile storage are unplugged from the computer. In addition, users also need to purchase matching data cables, which further increases the user's usage cost and further reduces the portability.

[0058] Based on this, in order to solve one or more of the above technical problems, an embodiment of the present disclosure provides a mobile device.

[0059] Figure 1 is a schematic diagram showing a mobile device 100 in a first state according to an embodiment of the present disclosure, Figure 2 is a schematic diagram showing a mobile device 100 in a second state according to an embodiment of the present disclosure, Figure 3is a schematic diagram showing a mobile device 100 in a third state according to an embodiment of the present disclosure. Figures 1 to 3 The mobile device 100 provided by the embodiment of the present disclosure is described.

[0060] Reference Figure 1 As shown, the mobile device 100 includes: a first memory 120, a memory system 130, a switching circuit 150 and an external interface 160; the switching circuit 150 is configured to: switch from a first state to a second state or a third state in response to a switching instruction; wherein the switching instruction is used to instruct access to the memory system 130; in the first state, the first memory 120 is coupled to the external interface 160 via the switching circuit 150; in the second state, the memory system 130 is coupled to the first memory 120 via the switching circuit 150; in the third state, the memory system 130 is coupled to the external interface 160 via the switching circuit 150.

[0061] The mobile device 100 includes but is not limited to a smart phone (e.g., a mobile phone), a tablet computer (e.g., a tablet computer), or a laptop computer, etc. In the embodiment of the present disclosure, the mobile device 100 is described as a mobile phone. The mobile device 100 includes a first memory 120, a memory system 130, a switching circuit 150, and an external interface 160. Figure 1 Not shown, the mobile device 100 may also include other functional devices known in the art, such as a power management chip, a baseband chip, a radio frequency chip, a WIFI chip, etc.

[0062] The first memory 120 includes at least one of a volatile memory and a non-volatile memory. The volatile memory includes, but is not limited to, a static random access memory (SRAM), a dynamic random access memory (DRAM), etc.; the non-volatile memory includes, but is not limited to, a read-only memory (ROM), a flash memory, etc.

[0063] In the embodiment of the present disclosure, the first memory 120 may be the running memory and / or the body memory of the mobile phone. The number of the first memory 120 is not limited to Figure 1 The number shown is 1, and may also be 2 or more; the storage capacity of the first memory 120 includes but is not limited to 32G, 64G, 128G or 256G. Of course, the storage capacity of the first memory 120 may also be less than 32G (for example, 16G) or greater than 256G (for example, 512G); the embodiment of the present disclosure has no special restrictions on the number and storage capacity of the first memory 120.

[0064] The memory system 130 includes one or more second memories 131 and a memory controller 132, the memory controller 132 is coupled to the second memories 131 and the switching circuit 150, and is configured to control the second memories 131. The memory controller 132 can manage the data stored in the second memories 131, and communicate with the processor 110 or an external terminal. Figure 4 and Figure 5 The details are described in detail in the embodiments of the present invention and will not be repeated here.

[0065] The switching circuit 150 can switch from the first state to the second state or the third state in response to a switching instruction, and the functional circuit inside the mobile device 100 or the external terminal can access the memory system 130, so that the mobile device 100 has both communication and mobile storage functions.

[0066] For example, refer to Figure 1 and Figure 2 As shown, when the processor 110 needs to access the memory system 130, the switching circuit 150 can switch from the first state to the second state after receiving the switching instruction, so that the processor 110 is coupled to the memory system 130 through the switching circuit 150, thereby achieving access to the memory system 130. At this time, the memory system 130 can be used as an extended memory of the mobile device 100, thereby providing additional storage space for the mobile device 100, increasing the storage capacity of the mobile device 100, and the communication function of the mobile device 100 is not affected.

[0067] It should be noted that when other functional circuits in the mobile device 100 need to access the memory system 130, the switching circuit 150 can execute similar Figure 1 and Figure 2 The operation enables other functional circuits inside the mobile device 100 to be coupled to the memory system 130 through the switching circuit 150, thereby achieving access to the memory system 130. In the embodiment of the present disclosure, the functional circuits inside the mobile device 100 that access the memory system 130 are not limited to the processor 110.

[0068] For example, refer to Figure 1 and Figure 3As shown, when the external terminal needs to access the memory system 130, the switching circuit 150 can switch from the first state to the third state after receiving the switching instruction, so that the external terminal is coupled to the memory system 130 through the external interface 160 and the switching circuit 150, thereby achieving access to the memory system 130. At this time, the mobile device 100 can be used not only as a communication device, but also as a mobile storage device, that is, the mobile device 100 has both communication and mobile storage functions. The external terminal includes but is not limited to a desktop computer or a laptop computer.

[0069] The switching circuit 150 includes a switch circuit, for example, a paddle switch circuit, a membrane switch circuit, etc. In a specific embodiment, the switching circuit 150 is a paddle switch circuit, and the paddle switch circuit may have at least three gears, each gear corresponding to one of the first state, the second state, and the third state, and different gears correspond to different states, so that switching between different states can be achieved. Here, the switching circuit 150 including the switch circuit is only exemplary. In general, the switching circuit 150 may also include other circuits that can realize the switching function, for example, a multiplexer circuit, a vertical and horizontal switching circuit, or a switch matrix circuit, etc.

[0070] The external interface 160 includes a Universal Serial Bus (USB) interface, such as a MicroUSB interface, a Type-c interface, a Lightning interface, etc. In the embodiment of the present disclosure, the external interface 160 is described as a Type-c interface.

[0071] In the embodiments of the present disclosure, a switching circuit and a memory system are provided in a mobile device, and the switching circuit can switch from a first state to a second state or a third state in response to a switching instruction, so that the memory system can be used as an extended memory of the mobile device or the mobile device can be used as a mobile storage; on the one hand, additional storage space can be provided for the mobile device, thereby increasing the storage capacity of the mobile device, and the communication function of the mobile device is not affected; on the other hand, the two products of mobile phone and mobile storage are combined into one product, and the mobile device has both the functions of communication and mobile storage, which can reduce the user's usage cost and enhance portability.

[0072] In some embodiments, the switching instruction includes a first sub-switching instruction; wherein the first sub-switching instruction is used to instruct switching to the second state; the mobile device 100 further includes: a processor 110, the processor 110 is coupled to the first memory 120;

[0073] The switching circuit 150 includes: a first port, a second port and a third port, the first port is coupled to the first memory 120, the second port is coupled to the memory system 130, and the third port is coupled to the external interface 160;

[0074] The switching circuit 150 is specifically configured to: in response to a first sub-switching instruction from the processor 110 , switch the first port from being coupled to the third port to being coupled to the second port.

[0075] The processor 110 includes a dedicated processor, for example, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a tensor processing unit (TPU), a video processing unit (VPU), etc. At least one of the multiple dedicated processors. The processor 110 may also include a system on chip (SoC) integrated with multiple dedicated processors, for example, an application processor (AP), a baseband processor, etc., wherein the application processor processes applications running in an operating system environment, and the baseband processor processes cellular mobile communications, such as second generation (2G), third generation (3G), fourth generation (4G), fifth generation (5G) cellular mobile communications, etc. It should be noted that the processor 110 can complete the various operations disclosed in the embodiments of the present disclosure through hardware integrated logic circuits and / or software instruction codes.

[0076] For example, refer to Figure 1 and Figure 2 As shown, when the processor 110 needs to access the memory system 130, the processor 110 may send a first sub-switching instruction to the switching circuit 150; the switching circuit 150 switches from the A-C connection to the A-B connection in response to the first sub-switching instruction, so that the processor 110 is coupled to the memory system 130 through the switching circuit 150.

[0077] Exemplarily, the switching circuit 150 is a paddle switch circuit, which includes a first gear, a second gear and a third gear, and the first gear, the second gear and the third gear correspond to a first state, a second state and a third state respectively; after receiving the first sub-switching instruction, the switching circuit 150 can switch from the first gear to the second gear, thereby switching to the second state.

[0078] In some embodiments, the three nodes A, B, and C are respectively represented as the first port, the second port, and the third port; in other embodiments, at least one of the three nodes A, B, and C may be a connection node inside the switching circuit 150, for example, A is a connection node inside the switching circuit 150, and the A node may be connected to the first port. In practical applications, those skilled in the art may reasonably set the first port, the second port, and the third port according to requirements, and the present disclosure has no special restrictions on this.

[0079] In some embodiments, the processor 110 is configured to: back up data stored in the first memory 120 to the second memory 131 of the memory system 130 ; or read data stored in the second memory 131 of the memory system 130 .

[0080] Reference Figure 2 As shown, when the switching circuit 150 switches to the second state, the memory system 130 can be used as an extended memory of the mobile device 100. Exemplarily, when the available storage space of the first memory 120 is insufficient, the processor 110 can back up the data stored in the first memory 120 to the second memory 131 of the memory system 130, and erase the backed-up data in the first memory 120, thereby releasing the running memory and / or body memory of the mobile device 100, and improving the operating performance of the mobile device 100; and by backing up the data stored in the first memory 120 to the second memory 131 of the memory system 130, data loss can be avoided and data reliability can be ensured; in addition, the data backup is completed inside the mobile device 100 without the need for other devices, which can improve the speed of data transmission and backup efficiency.

[0081] It should be noted that, in actual applications, an application program may be installed on a mobile phone, and a user may complete the switching of the circuit state and the backup of the data stored in the first memory by operating the application program.

[0082] Exemplarily, when the data that the processor 110 needs to read is stored in the second memory 131, the processor 110 may send a first sub-switching instruction to the switching circuit 150; the switching circuit 150 switches from the A-C connection to the A-B connection in response to the first sub-switching instruction; in this way, the processor 110 can read the data stored in the second memory 131. Since the data reading is completed inside the mobile device 100, there is no need to use other devices, which can improve the data transmission speed and reading efficiency.

[0083] In the embodiment of the present disclosure, after the first port of the switching circuit is switched from coupling with the third port to coupling with the second port, the switching circuit can be switched to the second state. In this way, the memory system can be used as an extended memory of a mobile device, and backing up the data in the first memory to the memory system no longer requires the aid of other devices or supporting products, thereby enhancing the user experience, further reducing the cost of use, and further enhancing portability. Data can be backed up or read inside the mobile device without the aid of other devices, thereby improving backup efficiency or reading efficiency.

[0084] In some embodiments, the switching instruction further includes a second sub-switching instruction; wherein the second sub-switching instruction is used to instruct switching to the third state; the switching circuit 150 is further configured as:

[0085] In response to the second sub-switching instruction from the processor 110 , the second state is switched to the third state.

[0086] For example, refer to Figure 2 and Figure 3 As shown, when the external terminal needs to access the memory system 130, the processor 110 may send a second sub-switching instruction to the switching circuit 150; the switching circuit 150 switches from the A-B connection to the B-C connection in response to the second sub-switching instruction, so that the external terminal is coupled to the memory system 130 through the switching circuit 150.

[0087] Exemplarily, the switching circuit 150 is a paddle switch circuit, which includes a first gear, a second gear and a third gear, and the first gear, the second gear and the third gear correspond to a first state, a second state and a third state respectively; after receiving the second sub-switching instruction, the switching circuit 150 can switch from the second gear to the third gear, thereby switching to the third state.

[0088] In some embodiments, the switching circuit 150 is further configured to switch from the second state or the third state to the first state in response to a resume instruction from the processor 110 .

[0089] In some embodiments, the switching circuit 150 is specifically configured to: in response to a recovery instruction from the processor 110, the first port switches from coupling with the second port to coupling with the third port. In this way, the switching circuit 150 can switch from the second state to the first state.

[0090] For example, refer to Figure 2 As shown, after the data in the first memory 120 has been backed up, the processor 110 may send a recovery instruction to the switching circuit 150; the switching circuit 150 switches from the A-B connection to the A-C connection in response to the recovery instruction, as shown in FIG. Figure 1As shown, the mobile device 100 switches to the normal state (ie, the first state). It should be noted that, in the normal state, the mobile device 100 is usually used as a communication tool.

[0091] In some embodiments, the switching circuit 150 is specifically configured to: in response to a recovery instruction from the processor 110, the third port switches from coupling with the second port to coupling with the first port. In this way, the switching circuit 150 can switch from the third state to the first state.

[0092] For example, refer to Figure 3 As shown, after the external terminal has completed access to the memory system 130, the processor 110 may send a recovery instruction to the switching circuit 150; the switching circuit 150 switches from the B-C connection to the A-C connection in response to the recovery instruction, as shown in FIG. Figure 1 As shown, the mobile device 100 is switched to the normal state.

[0093] It should be noted that the recovery instruction for switching from the second state to the first state and the recovery instruction for switching from the third state to the first state may be the same or different, and the present disclosure has no special limitation on this.

[0094] In some embodiments, the switching circuit 150 is specifically configured to: in response to a switching instruction from the processor 110 , the third port switches from coupling with the first port to coupling with the second port; wherein the external interface 160 is coupled to an external terminal.

[0095] For example, refer to Figure 1 and Figure 3 As shown, when an external terminal needs to access the memory system 130, the processor 110 can send a switching instruction to the switching circuit 150; the switching circuit 150 responds to the switching instruction and switches from the A-C connection to the B-C connection, so that the external terminal is coupled to the memory system 130 through the external interface 160 and the switching circuit 150, thereby achieving access to the memory system 130.

[0096] It can be understood that the switching circuit 150 provided in the embodiment of the present disclosure can be switched between any two states to complete the corresponding logic operation.

[0097] In some embodiments, the memory system 130 includes a second memory 131 and a memory controller 132; wherein the second memory 131 and the memory controller 132 are packaged together on the motherboard of the mobile device 100; the mobile device 100 also includes: a bridge chip 140, and the memory system 130 is coupled to the external interface 160 through the bridge chip 140.

[0098] For example, refer to Figure 1As shown, the second memory 131 and the memory controller 132 can be packaged together as a memory system 130, and then packaged on the main board of the mobile device 100. The memory system 130 includes at least one of an embedded multimedia card (eMMC), a universal flash storage (UFS), and a solid state disk (SSD). The main board includes but is not limited to a printed circuit board (PCB).

[0099] Data, addresses, commands, etc. can be transmitted between the memory system 130 and the first memory 120 or an external terminal through the bridge chip 140. The bridge chip 140 is used to perform interface protocol conversion on signals (including data signals and / or control signals) transmitted between the memory system 130 and the first memory 120 or an external terminal. The bridge chip 140 includes a first interface, a conversion unit, and a second interface; the first interface is coupled to the memory system 130, and the second interface is coupled to the second port; the conversion unit is used to convert the interface protocol followed between the first interface and the memory system 130 into the interface protocol followed between the second interface and the first memory 120 or an external terminal, thereby ensuring the transmission of signals between the memory system 130 and the first memory 120 or an external terminal. Interface protocols include USB protocol, SATA protocol, PCIE protocol, etc.

[0100] In the embodiment of the present disclosure, by setting a bridge chip in the mobile device, the memory system composed of the second memory and the memory controller jointly packaged on the mainboard can be coupled to the external port through the bridge chip. In this way, the conversion of the interface protocol can be realized to ensure the transmission of signals between the memory system and the external terminal (or the first memory).

[0101] Figure 4 is a schematic diagram of another mobile device 100 according to an embodiment of the present disclosure. Figure 4 The processor 110, the first memory 120, the memory system 130, the switching circuit 150, and the external interface 160 are similar to those in the above embodiment and will not be described in detail. Figure 4 The memory system 130 includes a second memory 131 and a memory controller 132 . The second memory 131 and the memory controller 132 are respectively packaged on a main board of the mobile device 100 . The second memory 131 is coupled to the external interface 160 through the memory controller 132 .

[0102] It can be understood that in the embodiment of the present disclosure, the second memory 131 and the memory controller 132 can each be packaged on the mainboard as independent components (e.g., dies). When the second memory 131 and the memory controller 132 are each packaged on the mainboard, the bridge chip 140 can be omitted.

[0103] In some embodiments, mobile device 100 is used for communication and / or mobile storage.

[0104] Figure 5 1 is a schematic diagram of a memory system 130 according to an embodiment of the present disclosure. Figure 5 As shown, the memory system 130 includes one or more second memories 131 and a memory controller 132. The memory controller 132 is coupled to the second memories 131 and the switching circuit (see Figure 4 ), and is configured to control the second memory 131. The memory controller 132 may manage data stored in the second memory 131, and communicate with a processor or an external terminal.

[0105] In some embodiments, the memory controller 132 is designed to operate in a low duty cycle environment, such as a Secure Digital Memory Card (SD Card), a Compact Flash Card (CF Card), a Universal Serial Bus flash drive, or other media for use in electronic devices such as personal computers, digital cameras, mobile phones, etc. In some embodiments, the memory controller 132 is designed to operate in a high duty cycle environment, such as a solid state drive or an embedded multimedia card, SSD or eMMC used as data storage for mobile devices such as smart phones, tablet computers, laptops, etc. and enterprise storage arrays.

[0106] The memory controller 132 may be configured to control operations of the second memory 131, such as read, erase, and write operations. The memory controller 132 may also be configured to manage various functions regarding data stored or to be stored in the second memory 131, including but not limited to bad block management, garbage collection, logical to physical address conversion, wear leveling, etc. In some embodiments, the memory controller 132 is also configured to process error correction codes regarding data read from or written to the second memory 131. The memory controller 132 may also perform any other suitable functions, such as formatting the second memory 131. The memory controller 132 may communicate with an external terminal according to a specific communication protocol. For example, the memory controller 132 can communicate with an external terminal through at least one of various interface protocols, such as USB protocol, MMC protocol, Peripheral Component Interconnect (PCI) protocol, PCI Express (PCIE) protocol, Advanced Technology Attachment (ATA) protocol, Serial ATA protocol, Parallel ATA protocol, Small Computer System Interface (SCSI) protocol, Enhanced System Device Interface (ESDI) protocol, Integrated Drive Electronics (IDE) protocol, Firewire protocol, etc.

[0107] The memory controller 132 and the one or more second memories 131 can be integrated into various types of storage devices, for example, included in the same package (e.g., a universal flash memory package or an eMMC package). That is, the memory system 130 can be implemented and packaged into different types of terminal electronic products. Figure 6aIn one example shown in , the memory controller 132 and the single second memory 131 can be integrated into the memory card 202. The memory card 202 may include a PC card (Personal Computer Memory Card International Association, PCMCIA, Personal Computer Memory Card International Association), a CF card, a Smart Media (Smart Media, SM) card, a memory stick, a Multi Media Card (Multi Media Card, MMC), a Reduced-Size MMC (RS-MMC), a Micro Multi Media Card (Multi Media Card Micro, MMCmicro), an SD card (SD, miniSD, microSD, SDHC), a Universal Flash Storage (Univeral Flash Storage, UFS), etc. The memory card 202 may also include a bridge chip (e.g., Figure 1 The memory card connector 204 is coupled to the bridge chip in the embodiment of the present invention. Figure 6b In another example shown in , the memory controller 132 and the plurality of second memories 131 may be integrated into the SSD 206. The SSD 206 may also include a bridge chip (eg, Figure 1 In some embodiments, the storage capacity and / or operating speed of the SSD 206 is greater than the storage capacity and / or operating speed of the memory card 202. The second memory 131 may include a volatile memory and a non-volatile memory, such as a NAND flash memory, a dynamic random access memory, a ferroelectric random access memory, a magnetic random access memory, a phase change random access memory, a resistive random access memory, a nano random access memory, etc.

[0108] Based on the above mobile device, an embodiment of the present disclosure further provides an operating method of the mobile device.

[0109] Figure 7 is a flow chart of an operation method of a mobile device according to an embodiment of the present disclosure. Figure 7 As shown, the operation method at least includes the following steps:

[0110] S210: receiving a switching instruction; wherein the switching instruction is used to instruct access to a memory system;

[0111] S220: In response to a switching instruction, the switching circuit switches from a first state to a second state or a third state; wherein, in the first state, the first memory is coupled to an external interface via the switching circuit; in the second state, the memory system is coupled to the first memory via the switching circuit; in the third state, the memory system is coupled to an external interface via the switching circuit.

[0112] It should be noted that Figure 7 The steps shown in the operation are not exclusive, and other steps may be performed before, after or between any steps in the operation shown; Figure 7 The steps shown in the figure can be adjusted in sequence according to actual needs.

[0113] In some embodiments, the mobile device further comprises: a processor, the processor is coupled to the first memory; the switching circuit comprises: a first port, a second port and a third port, the first port is coupled to the first memory, the second port is coupled to the memory system, and the third port is coupled to the external interface;

[0114] The above step S210 includes: receiving a first sub-switching instruction from a processor; wherein the switching instruction includes a first sub-switching instruction, and the first sub-switching instruction is used to instruct switching to the second state;

[0115] The above step S220 includes: in response to a first sub-switching instruction from the processor, the first port switches from being coupled to the third port to being coupled to the second port.

[0116] In some embodiments, the above operation method further includes: backing up the data stored in the first memory to a second memory of the memory system; or reading the data stored in the second memory of the memory system.

[0117] In some embodiments, the above step S210 also includes: receiving a second sub-switching instruction from a processor; wherein the switching instruction includes a second sub-switching instruction, and the second sub-switching instruction is used to indicate switching to a third state; the above operating method also includes: in response to the second sub-switching instruction from the processor, the switching circuit switches from the second state to the third state.

[0118] In some embodiments, the above operating method further includes: in response to a recovery instruction from a processor, the switching circuit switches from the second state or the third state to the first state.

[0119] In some embodiments, the above step S220 includes: in response to a switching instruction from a processor, the third port switches from coupling with the first port to coupling with the second port; wherein the external interface is coupled to an external terminal.

[0120] The above operation method has been introduced in detail on the mobile device side and will not be repeated here for the sake of brevity.

[0121] Based on the above mobile device, an embodiment of the present disclosure further provides a system.

[0122] Figure 8 is a schematic diagram of a system 300 according to an embodiment of the present disclosure. Figure 8 As shown, the system 300 includes:

[0123] A mobile device 100 as in any of the above embodiments;

[0124] The external terminal 200 is coupled to the mobile device 100 , and is configured to: access the first memory 120 when the switching circuit 150 is in the first state; or access the memory system 130 when the switching circuit is in the third state.

[0125] In some embodiments, the external terminal comprises a desktop computer or a laptop computer.

[0126] Based on the above mobile device, an embodiment of the present disclosure further provides a computer-readable storage medium, on which instruction codes are stored, and when the instruction codes are executed, an operation method as in any of the above embodiments is implemented.

[0127] In some embodiments, the instruction code may be a computer program; the computer-readable storage medium may be applied to a mobile device in an embodiment of the present application, and the computer program enables the mobile device to execute corresponding steps in each operating method in an embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0128] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present disclosure, the size of the serial number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments.

[0129] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0130] The above is only an embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A mobile device, characterized in that: The mobile device comprises: a first memory, a memory system, a switching circuit and an external interface; The switching circuit is configured to: switch from a first state to a second state or a third state in response to a switching instruction; wherein the switching instruction is used to instruct access to the memory system; in the first state, the first memory is coupled to the external interface via the switching circuit; in the second state, the memory system is coupled to the first memory via the switching circuit; in the third state, the memory system is coupled to the external interface via the switching circuit.

2. The mobile device according to claim 1, characterized in that The switching instruction includes a first sub-switching instruction; wherein the first sub-switching instruction is used to instruct switching to the second state; the mobile device further includes: a processor, the processor is coupled to the first memory; The switching circuit includes: a first port, a second port and a third port, the first port is coupled to the first memory, the second port is coupled to the memory system, and the third port is coupled to the external interface; The switching circuit is specifically configured to: in response to the first sub-switching instruction from the processor, switch the first port from being coupled to the third port to being coupled to the second port.

3. The mobile device according to claim 2, characterized in that The processor is configured to: Backing up the data stored in the first memory to the second memory of the memory system; or, The data stored in the second memory of the memory system is read.

4. The mobile device according to claim 2, characterized in that The switching instruction further includes a second sub-switching instruction; wherein the second sub-switching instruction is used to instruct switching to the third state; and the switching circuit is further configured as: In response to the second sub-switching instruction from the processor, switching is performed from the second state to the third state.

5. The mobile device according to claim 2, characterized in that The switching circuit is further configured to: In response to a resume instruction from the processor, switching from the second state or the third state to the first state.

6. The mobile device according to claim 2, characterized in that The switching circuit is specifically configured as follows: In response to the switching instruction from the processor, the third port switches from coupling with the first port to coupling with the second port; wherein the external interface is coupled to an external terminal.

7. The mobile device according to claim 1, characterized in that The memory system comprises a second memory and a memory controller; wherein the second memory and the memory controller are packaged together on a mainboard of the mobile device; The mobile device further includes: a bridge chip, and the memory system is coupled to the external interface via the bridge chip.

8. The mobile device according to claim 1, characterized in that The memory system comprises a second memory and a memory controller, wherein the second memory and the memory controller are respectively packaged on a mainboard of the mobile device; and the second memory is coupled to the external interface via the memory controller.

9. The mobile device according to claim 1, characterized in that The memory system includes: at least one of an embedded multimedia card, a universal flash memory, and a solid state hard disk.

10. The mobile device according to claim 1, characterized in that The mobile device is used for communication and / or mobile storage.

11. The mobile device according to claim 1, characterized in that The mobile device includes: a mobile phone or a tablet computer.

12. A method for operating a mobile device, characterized in that: The mobile device comprises a first memory, a memory system, a switching circuit and an external interface; the operating method comprises: receiving a switching instruction; wherein the switching instruction is used to instruct access to the memory system; In response to the switching instruction, the switching circuit switches from a first state to a second state or a third state; wherein, in the first state, the first memory is coupled to the external interface through the switching circuit; in the second state, the memory system is coupled to the first memory through the switching circuit; and in the third state, the memory system is coupled to the external interface through the switching circuit.

13. The operating method according to claim 12, characterized in that: The mobile device further includes: a processor, the processor is coupled to the first memory; the switching circuit includes: a first port, a second port and a third port, the first port is coupled to the first memory, the second port is coupled to the memory system, and the third port is coupled to the external interface; The receiving of the switching instruction comprises: receiving a first sub-switching instruction from the processor; wherein the switching instruction includes the first sub-switching instruction, and the first sub-switching instruction is used to instruct switching to the second state; In response to the switching instruction, the switching circuit switches from the first state to the second state, comprising: In response to the first sub-switching instruction from the processor, the first port switches from being coupled to the third port to being coupled to the second port.

14. The operating method according to claim 13, characterized in that: The operation method also includes: Backing up the data stored in the first memory to the second memory of the memory system; or, The data stored in the second memory of the memory system is read.

15. The operating method according to claim 13, characterized in that: The receiving of the switching instruction further includes: receiving a second sub-switching instruction from the processor; wherein the switching instruction includes the second sub-switching instruction, and the second sub-switching instruction is used to instruct switching to the third state; The operation method also includes: In response to the second sub-switching instruction from the processor, the switching circuit switches from the second state to the third state.

16. The operating method according to claim 13, characterized in that: The operation method also includes: In response to a resume instruction from the processor, the switching circuit switches from the second state or the third state to the first state.

17. The operating method according to claim 13, characterized in that: In response to the switching instruction, the switching circuit switches from the first state to the third state, comprising: In response to the switching instruction from the processor, the third port switches from coupling with the first port to coupling with the second port; wherein the external interface is coupled to an external terminal.

18. A system, characterized in that: include: The mobile device according to any one of claims 1 to 11; an external terminal coupled to the mobile device, the external terminal being configured to: access the first memory when the switching circuit is in the first state; Alternatively, when the switching circuit is in the third state, the memory system is accessed.

19. The system according to claim 18, characterized in that The external terminal includes a desktop computer or a notebook computer.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instruction codes, which implement the operating method according to any one of claims 12 to 17 when executed.

Citation Information

Patent Citations

  • State switching method and system

    CN102436559A

  • Dual-operation system, working state control method and device and storage medium

    CN110502928A

  • Storage chip, control method and electronic equipment

    CN115657937A

  • Memory read-write circuit and electronic equipment

    CN211857466U

  • Log memory access circuit, information processing apparatus

    US20080177926A1