Storage circuit access method, device, terminal equipment and computer equipment

By obtaining the status information of the second service program of the second access module when receiving the first request information requesting access to the storage circuit, and starting the first service program when it is in a deactivated state, the access conflict problem that may be caused by eSE multi-interface access is solved, and safe and efficient access to the storage circuit is achieved.

CN114296932BActive Publication Date: 2025-03-11GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111646528.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-03-11
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

There are multiple interfaces for accessing eSE, and different interfaces may cause access conflicts to eSE at the same time.

Method used

When receiving the first request information requesting access to the storage circuit, the status information of the second service program of the second access module is obtained; when the status information of the second service program is deactivated status information, the first service program is started to access the storage circuit through the first service program.

Benefits of technology

Access conflicts that may be caused by multiple access modules accessing the memory circuit when the storage circuit is occupied are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114296932B_ABST
    Figure CN114296932B_ABST
Patent Text Reader

Abstract

The present application relates to a storage circuit access method, device, terminal device and computer device, which obtains the status information of the second service program of the second access module when receiving the first request information for accessing the storage circuit; when the status information of the second service program is the deactivated status information, starts the first service program to access the storage circuit through the first service program. Thus, it can avoid the problem that when the storage circuit is occupied, multiple access modules accessing the storage circuit may cause access conflicts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, terminal equipment and computer equipment for accessing a storage circuit. Background Art

[0002] With the development of communication technology, terminal devices are generally equipped with NFC (Near Field Communication) chips. NFC chips integrate eSE (embedded Secure Element), which can store various types of user data.

[0003] However, eSE has multiple interfaces for accessing it, and simultaneous access to eSE by different interfaces may cause access conflicts. Summary of the invention

[0004] Embodiments of the present application provide a method, apparatus, terminal device, and computer device for accessing a storage circuit, which can avoid access conflicts that may occur when multiple modules access the storage circuit at the same time.

[0005] A method for accessing a storage circuit is applied to a first access module, wherein the first access module is configured with a first service program, and the access method comprises:

[0006] Upon receiving first request information for accessing the storage circuit, acquiring state information of a second service program of a second access module;

[0007] When the state information of the second service program is the disabled state information, the first service program is started to access the storage circuit through the first service program.

[0008] An access device for a storage circuit, applied to a first access module, wherein the first access module is configured with a first service program, wherein the access device comprises:

[0009] a state acquisition module, configured to acquire state information of a second service program of a second access module upon receiving first request information for accessing the storage circuit;

[0010] The first starting module is used to start the first service program to access the storage circuit through the first service program when the state information of the second service program is disabled state information.

[0011] A terminal device, comprising:

[0012] Storage circuit;

[0013] A first access module, connected to the storage circuit and configured with a first service program;

[0014] A second access module, connected to the storage circuit and configured with a second service program;

[0015] Among them, the first access module is used to obtain the status information of the second service program when receiving the first request information requesting access to the storage circuit; and is also used to start the first service program to access the storage circuit through the first service program when the status information of the second service program is disabled status information.

[0016] A computer device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the access method as described above.

[0017] A computer-readable storage medium stores a computer program, which implements the steps of the access method described above when executed by a processor.

[0018] The above-mentioned storage circuit access method, device, terminal device, computer device, and computer-readable storage medium obtain the status information of the second service program of the second access module when receiving the first request information for requesting access to the storage circuit; when the status information of the second service program is the deactivated status information, the first service program is started to access the storage circuit through the first service program. Thus, the problem of access conflict caused by multiple access modules accessing the storage circuit when the storage circuit is occupied can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 is an application environment diagram of an access method in an embodiment;

[0021] Figure 2 One of the flowcharts of the access method in one embodiment;

[0022] Figure 3 This is a second flowchart of an access method in an embodiment;

[0023] Figure 4 This is a third flowchart of an access method in an embodiment;

[0024] Figure 5 One of the structural block diagrams of an access device in one embodiment;

[0025] Figure 6 This is a second structural block diagram of an access device in an embodiment;

[0026] Figure 7 This is a third structural block diagram of an access device in an embodiment;

[0027] Figure 8 FIG. 4 is a structural block diagram of a terminal device in an embodiment. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0029] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client. Both the first client and the second client are clients, but they are not the same client.

[0030] Figure 1 FIG. 1 is a schematic diagram of an application environment of a method for accessing a storage circuit in an embodiment. Figure 1 As shown, the application environment includes a storage circuit 100, a first access module 200 and a second access module 300. The first access module 200 and the second access module 300 are respectively connected to the storage circuit 100, and the execution subject of the access method can be the first access module 200 or the second access module 300.

[0031] The storage circuit 100 may store a variety of applications and data for access by the first access module 200 and the second access module 300. The storage circuit may be a security element, such as an eSE, which may store a variety of security applications and user personal data, wherein the security applications may be various bank cards, identity cards, bus cards, access cards, phone cards and other security applications, and the user personal data may be various bank card information, identity card information, bus card information, access card information, mobile phone information and the like.

[0032] The first access module 200 and the second access module 300 are respectively configured with a first service program and a second service program. When the first service program is started, the first access module 200 accesses the storage circuit through the first service program; when the second service program is started, the second access module 300 accesses the storage circuit through the second service program. The number of the first access module 200 and the second access module 300 can be one or more.

[0033] Optionally, the first access module 200 may be an AP (application process) for executing application programs, etc., and may be understood as an application processing module; the second access module 300 may be a Modem (modem) for implementing communication functions, and may be understood as a communication module. It is understandable that the first access module 200 may also be a Modem, and the second access module 300 may also be an AP. When the first access module 200 is an AP and the second access module 300 is a Modem, the first access module 200 may be connected to the storage circuit via an SPI interface, and the second access module 300 may be connected to the storage circuit 100 via an ISO interface.

[0034] Optionally, when the first access module 200 is an AP, the first service program may be a wallet service program (Wallet_Service), for example, the wallet service program is used to access electronic cards such as bus cards, bank cards, access control cards, eIDs, and their related data information in the storage circuit. When the second access module 300 is a Modem, the second service program may be a communication service program (eSIM_Service), for example, the communication service program is used to implement related application services such as creation, deletion, and authentication of the eSIM in the storage circuit 100.

[0035] Optionally, the storage circuit 100, the first access module 200 and the second access module 300 are all arranged in a terminal device, and the terminal device may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc.

[0036] Figure 2 FIG. 1 is a flowchart of a method for accessing a storage circuit in one embodiment. The access method in this embodiment is executed on Figure 1 The first access module in is described as an example. Figure 2 As shown, the access method includes steps 202 to 204 .

[0037] Step 202: upon receiving first request information for accessing a storage circuit, obtaining status information of a second service program of a second access module.

[0038] The first request information refers to the information sent by the relevant module to the first access module requesting access to the storage circuit, so as to instruct the first access module to access the storage circuit and feedback the corresponding access information. Optionally, the relevant module generates the corresponding first request information according to the user's access requirements and sends it to the first access module. The relevant module can be, for example, a touch control module of a terminal device, and the user inputs the relevant requirement instruction in the touch control module so that the touch screen generates the first request information according to the instruction.

[0039] Optionally, the first request information includes information such as the access type and access content of the requested access, wherein the access type refers to the storage type accessed, and the access type may include application management and data reading and writing; the access content refers to the specific content when accessing a certain storage type, including the specific management type of the application and the specific content of data reading and writing, and the specific management type of the application is, for example, application services such as downloading, updating, deleting, querying, authentication, and payment of the application. For example, if the first request information is to query the transaction records of XX bank card in October 2021, the corresponding access type is bank card information reading, and the access content may be the transaction records of XX bank card in October 2021.

[0040] Among them, the status information of the second service program refers to information related to the status of the second service program when the access is currently requested. The status of the second service program when the access is currently requested may be the state of accessing the storage circuit, the state of stopping access to the storage circuit, or the state of requesting access to the storage circuit. The status information of the second service program corresponds to access status information, deactivation status information, or access request status information. By obtaining the status information of the second service program, it can be determined whether the storage circuit is occupied, so that the subsequent steps can determine whether to start the first service program according to whether the storage circuit is occupied, so as to avoid access conflicts that may be caused by multiple modules accessing the storage circuit when the storage circuit is occupied.

[0041] Optionally, the first access module and the second access module can access each other to obtain the status information of the other party's service program. Step 202 may include: Step 2021, upon receiving the first request information, sending a service program status information query instruction to the second access module to instruct the second access module to feedback the status information of the second service program according to the query instruction; Step 2022, receiving the status information of the second service program fed back by the second access module. By directly querying and accessing the second access module to directly obtain the status information of the second service program fed back by the second access module, the time cost can be reduced, the access efficiency can be improved, and the user experience can be further improved.

[0042] Step 204 , when the status information of the second service program is the disabled status information, start the first service program to access the storage circuit through the first service program.

[0043] Among them, when the status information of the second service program is disabled status information, the second service program is in a state of stopping access to the storage circuit, and the storage circuit is not occupied. Therefore, the first service program is started to access the storage circuit through the first service program, avoiding the problem of access conflict.

[0044] Among them, accessing the storage circuit through the first service program means that the first service program manages the applications of the storage circuit and reads and writes the stored data. The first service program manages the applications of the storage circuit, including downloading, updating, deleting, querying, authenticating, and paying for the applications. When managing the applications, the configuration files of the relevant applications can be queried in the storage circuit, and the relevant application services can be started according to the configuration files. The first service program reads and writes the data stored in the storage circuit, including reading and storing the data. Taking the first request information of querying bank card transaction records as an example, when the first service program is started, the first service program can query the bank card transaction records in the data list in the storage circuit.

[0045] Optionally, the storage circuit can be configured to include multiple storage areas, different storage areas corresponding to different applications and data. When the first service program is started to access the storage circuit, the target storage area can be determined according to the first request information to perform corresponding access in the target storage area.

[0046] Optionally, the storage circuit can be configured to include a first storage area that is only accessible to the first access module and a second storage area that is only accessible to the second access module, thereby improving the security of storage in the storage circuit. When the first service program is started to access the storage circuit, corresponding access can be performed in the first storage area according to the first request information to improve the efficiency of access.

[0047] The access method provided in this embodiment obtains the state information of the second service program of the second access module when receiving the first request information for accessing the storage circuit; and starts the first service program to access the storage circuit through the first service program when the state information of the second service program is the deactivated state information. Thus, the problem of access conflict caused by multiple access modules accessing the storage circuit when the storage circuit is occupied can be avoided.

[0048] In some embodiments, Figure 3 As shown, the access method also includes:

[0049] Step 206: When the state information of the second service program is access state information, the current state of the first service program is maintained until the state information of the accessed second service program is updated to deactivated state information.

[0050] Among them, when the status information of the second service program is the access status information, the second service program is in the state of accessing the storage circuit, and the storage circuit is occupied. At this time, the current state of the first service program is kept unchanged to limit the first service program's access to the storage circuit; until the state information of the second service program is updated to the deactivated state information, the second service program is in the state of stopping access to the storage circuit, and the storage circuit is not occupied. At this time, it can return to step 204 to start the first service program to realize the first service program's access to the storage circuit. In this way, the problem of access conflict caused by the first access module and the second access module accessing the storage circuit at the same time can be avoided.

[0051] In other embodiments, when the status information of the second service program is the access status information, no operation is performed until the status information of the second service program is updated to the deactivation status information, and the first service program is started to access the storage circuit. Alternatively, when the status information of the second service program is the access status information, a waiting instruction is sent to the first service program to prompt the first service program to wait to be started, until the status information of the second service program is updated to the deactivation status information, and the first service program is started to access the storage circuit.

[0052] In some embodiments, Figure 3 As shown, the access method also includes:

[0053] Step 208: When the state information of the second service program is access request state information, obtain second request information of the second access module requesting access to the storage circuit.

[0054] Among them, the second request information refers to the information sent by the relevant module to the second access module requesting access to the storage circuit, so as to instruct the second access module to access the storage circuit and feedback the corresponding access information. Optionally, the relevant module generates the corresponding second request information according to the user's access requirements and sends it to the second access module. The relevant module can be, for example, a touch module of a terminal device, and the user inputs relevant requirement instructions in the touch module so that the touch screen generates the second request information according to the instructions. Optionally, the second request information requests information such as the access type and access content to be accessed. The relevant introduction of the access type and access content can be found in the relevant description of the above embodiment, which will not be repeated here.

[0055] Step 210: Determine the priority information in the first request information and the request information according to the first request information and the second request information.

[0056] Among them, the priority information can be a request information with a higher degree of importance or a higher degree of urgency. After obtaining the second request information, the first request information and the second request information are compared to obtain the priority information. The judgment mechanism of the degree of importance and the degree of urgency can be preset. Optionally, all possible request information can be graded according to the application of the storage circuit and the importance of the data, so that the first request information and the priority information in the request information can be confirmed according to the grade of the division. Optionally, a priority list can be preset, and the priority information in the first request information and the request information can be confirmed according to the grades of the first request information and the second request information in the priority list.

[0057] For example, the first request information is for paying by swiping a bus card, and the second request information is for updating the transaction record of the bus card at 9:00 p.m. every day. If the two request information are received by the first access module and the second access module at 9:00 p.m. respectively, the first access module and the second access module need to access the storage circuit at the same time. Relative to the user, the first request information for paying by swiping a bus card can be considered as a request information with a higher degree of urgency, and therefore the first request information can be determined as priority information.

[0058] Step 212: when the first request information is priority information, start the first service program to access the storage circuit through the first service program.

[0059] When the first request information is priority information, the first service program is started to access the storage circuit. While starting, the second access module can actively and / or passively learn that the status information of the first service program is access status information. For example, the second access module also executes steps 202-212, and thus also determines that the first request information is priority information, and maintains the current state of the second service program. For example, at the same time as step 212, the first access module can send relevant indication information that the first request information is priority information to the second access module, to instruct the second access module to maintain the current state of the second service program, until the first service program ends access to the storage circuit, and sends the status information of the first service program to the second access module as deactivated status information, to instruct the second access module to start the second service program to access the storage circuit.

[0060] By determining the priority information and starting the first service program to access the storage circuit through the first service program when the first request information is determined to be the priority information, possible access conflicts when multiple modules simultaneously access the storage circuit can be avoided.

[0061] In some embodiments, Figure 3 As shown, the access method also includes:

[0062] Step 214: When the second request information is priority information, the current state of the first service program is maintained until the state information of the second service program is accessed and updated to disabled state information.

[0063] When the second request information is priority information, the current state of the first service program is maintained. While maintaining the current state of the first service program, the second access module can also perform steps 202 to 212, thereby determining that the second request information is priority information and starting the second service program to access the storage circuit. When the second access module accesses the storage circuit, since the first access module maintains the current state of the first service program and restricts the first service program from accessing the storage circuit, possible access conflicts when the second access module accesses the storage circuit at the same time are avoided.

[0064] In some embodiments, Figure 4 As shown, the access method also includes:

[0065] Step 216: when the first service program is started to access the storage circuit through the first service program, the state information of the first service program is marked as access state information.

[0066] By marking the status information of the first service program when starting the first service program to access the storage circuit through the first service program, the current status information of the first service program can be updated in time to facilitate comparison with the status information of the second service program based on the current status information; at the same time, the marking of the status information of the first service program facilitates the second access module to quickly obtain the status information of the first service program, thereby improving the access efficiency of the second access module and improving the user experience.

[0067] Optionally, the access status information can be represented by "1". When the first service program is started to access the storage circuit through the first service program, the status information of the first service program can be marked as "1". Further, optionally, the access status information "1" can be saved during the time period when the first service program is started, so that when the second access module accesses it, the access status information "1" can be fed back to the second access module.

[0068] In some embodiments, Figure 4 As shown, the access method also includes:

[0069] Step 218: When the first service program ends accessing the storage circuit, the state information of the first service program is marked as disabled state information.

[0070] By marking the status information of the first service program when the first service program ends access to the storage circuit, the current status information of the first service program can be updated in time to facilitate comparison with the status information of the second service program based on the current status information; at the same time, marking the status information of the first service program facilitates the second access module to quickly obtain the status information of the first service program, thereby improving the access efficiency of the second access module and improving the user experience.

[0071] Optionally, the deactivation status information can be represented by "0". When the first service program ends its access to the storage circuit, the status information of the first service program can be marked as "0". Further, optionally, the deactivation status information "0" can be saved during the time period when the first service program stops accessing the storage circuit, so that when the second access module accesses it, the deactivation status information "0" can be fed back to the second access module.

[0072] In some embodiments, Figure 4 As shown, the access method also includes:

[0073] Step 220: When receiving the first request information for requesting to access the storage circuit, mark the state information of the first service program as request access state information.

[0074] By marking the status information of the first service program upon receiving the first request information for requesting access to the storage circuit, the current status information of the first service program can be updated in a timely manner to facilitate comparison with the status information of the second service program based on the current status information; at the same time, the marking of the status information of the first service program facilitates the second access module to quickly obtain the status information of the first service program, thereby improving the access efficiency of the second access module and improving the user experience.

[0075] Optionally, the request access status information can be represented by "2". When the first request information requesting access to the storage circuit is received, the status information of the first service program can be marked as "2". Further, optionally, the request access status information "2" can be saved within the time period of the requested access so that when the second access module accesses it, the request access status information "2" can be fed back to the second access module.

[0076] It should be understood that although Figure 2-Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-Figure 4At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0077] Figure 5 FIG. 1 is a block diagram of a storage circuit access device according to an embodiment of the present invention. Figure 1 The first access module in is described as an example, which is used to execute Figure 2 The relevant steps of the embodiment shown. Figure 5 As shown, the access device includes:

[0078] The status acquisition module 302 is used to acquire the status information of the second service program of the second access module when receiving the first request information for requesting to access the storage circuit.

[0079] The first starting module 304 is used to start the first service program to access the storage circuit through the first service program when the status information of the second service program is the disabled status information.

[0080] In some embodiments, Figure 6 As shown, the access device also includes:

[0081] The first maintaining module 306 is used to maintain the current state of the first service program when the state information of the second service program is access state information, until the state information of the accessed second service program is updated to deactivated state information.

[0082] In some embodiments, Figure 6 As shown, the access device also includes:

[0083] The information acquisition module 308 is used to acquire second request information of the second access module requesting to access the storage circuit when the state information of the second service program is requesting access state information.

[0084] The priority determination module 310 is used to determine the priority information in the first request information and the request information according to the first request information and the second request information.

[0085] The second starting module 312 is used to start the first service program to access the storage circuit through the first service program when the first request information is priority information.

[0086] In some embodiments, Figure 6 As shown, the access device also includes:

[0087] The second maintaining module 314 is used to maintain the current state of the first service program when the second request information is priority information, until the state information of the second service program is accessed and updated to the disabled state information.

[0088] In some embodiments, Figure 7 As shown, the access device also includes:

[0089] The first marking module 316 is configured to mark the state information of the first service program as access state information when the first service program is started to access the storage circuit through the first service program.

[0090] In some embodiments, Figure 7 As shown, the access device also includes:

[0091] The second marking module 318 is used to mark the state information of the first service program as disabled state information when the first service program ends accessing the storage circuit.

[0092] In some embodiments, Figure 7 As shown, the access device also includes:

[0093] The third marking module 320 is configured to mark the state information of the first service program as request access state information when receiving the first request information for requesting access to the storage circuit.

[0094] The division of the various modules in the above access device is only for illustration. In other embodiments, the access device may be divided into different modules as needed to complete all or part of the functions of the above access device.

[0095] For the specific definition of the access device, please refer to the definition of the access method above, which will not be repeated here. Each module in the above access device can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0096] The implementation of each module in the access device provided in the embodiment of the present application can be in the form of a computer program. The computer program can be run on a terminal or a server. The program module constituted by the computer program can be stored in the memory of the electronic device. When the computer program is executed by the processor, the steps of the method described in the embodiment of the present application are implemented.

[0097] This embodiment also provides a terminal device, such as Figure 8As shown, the terminal device 10 includes: a storage circuit 100; a first access module 200, connected to the storage circuit 100 and configured with a first service program; a second access module 300, connected to the storage circuit 100 and configured with a second service program; wherein the first access module 200 is used to obtain status information of the second service program upon receiving a first request information requesting access to the storage circuit 100; and is also used to start the first service program to access the storage circuit 100 through the first service program when the status information of the second service program is deactivated status information.

[0098] Optionally, the first access module 200 is also used to execute Figure 3 , Figure 4 For the relevant steps, please refer to the above embodiment for details, which will not be repeated here.

[0099] Optionally, the first access module 200 and the second access module 300 can access each other to obtain the status information of the service program of the other party. Optionally, an information transceiver channel (such as Figure 8 ), the first access module 200 and the second access module 300 can communicate with each other through the information transceiver channel. The information transceiver channel can be a temporary logical channel, for example, it can be set to be established in a preset time period to achieve a communication connection between the first access module 200 and the second access module 300, for example, it is established only in the time period when the first access module 200 needs to request access, or it is established in the time period after the terminal device is powered on. It can be understood that the information transceiver channel can also be a permanent logical channel, coexisting with the first access module 200 and the second access module 300 to permanently establish a communication connection between the first access module 200 and the second access module 300.

[0100] The following takes the first access module 200 as an AP, the second access module 300 as a Modem, the first service program as Wallet_Service, and the second service program as eSIM_Service as an example. Figure 8 The embodiment further illustrates that when the AP needs to access the eSE, the status of the eSIM_Service is queried through the information receiving and sending channel. When the status information of the eSIM_Service is queried to be the deactivated status information, it indicates that the Modem is accessing the eSE. At this time, the Wallet_Service is not started, and the status information of the eSIM_Service is waited for to be updated to the deactivated status information. Then, the Wallet_Service is started and the eSE is accessed. When the access is completed, the status information of the Wallet_Service is set to the deactivated status information.

[0101] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the access method described in the above embodiment.

[0102] The present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, cause the processors to perform the steps of the access method described in the above embodiment.

[0103] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include ROM (Read-Only Memory), PROM (Programmable Read-only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-only Memory) or flash memory. Volatile memory may include RAM (Random Access Memory), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), Double Data Rate DDRSDRAM (Double Data Rate Synchronous Dynamic Random Access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory), SLDRAM (Sync Link Dynamic Random Access Memory), RDRAM (Rambus Dynamic Random Access Memory), and DRDRAM (Direct Rambus Dynamic Random Access Memory).

[0104] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for accessing a storage circuit, applied to a first access module, wherein the first access module is configured with a first service program, characterized in that: The access method includes: Upon receiving first request information for accessing the storage circuit, acquiring state information of a second service program of a second access module; When the state information of the second service program is deactivated state information, starting the first service program to access the storage circuit through the first service program; An information transceiving channel is configured between the first access module and the second access module, and the first access module obtains the status information of the second service program of the second access module through the information transceiving channel.

2. The access method according to claim 1, characterized in that: The access method further comprises: When the state information of the second service program is access state information, the current state of the first service program is maintained until the state information of the second service program is accessed and updated to the deactivated state information.

3. The access method according to claim 1, characterized in that: The access method further comprises: When the state information of the second service program is request access state information, obtaining second request information of the second access module requesting access to the storage circuit; Determine priority information in the first request information and the request information according to the first request information and the second request information; When the first request information is priority information, the first service program is started to access the storage circuit through the first service program.

4. The access method according to claim 3, characterized in that: The access method further comprises: When the second request information is priority information, the current state of the first service program is maintained until the state information of the second service program is accessed and updated to the deactivated state information.

5. The access method according to claim 1, characterized in that: The access method further comprises: When the first service program is started to access the storage circuit through the first service program, marking the state information of the first service program as access state information; and / or When the first service program ends accessing the storage circuit, the state information of the first service program is marked as disabled state information.

6. The access method according to claim 1, characterized in that: The step of acquiring the state information of the second service program of the second access module upon receiving the first request information for accessing the storage circuit comprises: When receiving the first request information, sending a service program status information query instruction to the second access module to instruct the second access module to feedback the status information of the second service program according to the query instruction; Receive the status information of the second service program fed back by the second access module.

7. An access device for a storage circuit, applied to a first access module, wherein the first access module is configured with a first service program, characterized in that: The access device comprises: a state acquisition module, configured to acquire state information of a second service program of a second access module upon receiving first request information for accessing the storage circuit; A first starting module, configured to start the first service program to access the storage circuit through the first service program when the status information of the second service program is deactivated status information; An information transceiving channel is configured between the first access module and the second access module, and the status acquisition module acquires the status information of the second service program of the second access module through the information transceiving channel.

8. A terminal device, characterized in that: include: Storage circuit; A first access module, connected to the storage circuit and configured with a first service program; A second access module, connected to the storage circuit and configured with a second service program; Among them, an information transceiving channel is configured between the first access module and the second access module, and the first access module is used to obtain the status information of the second service program through the information transceiving channel when receiving the first request information requesting access to the storage circuit; and is also used to start the first service program to access the storage circuit through the first service program when the status information of the second service program is disabled status information.

9. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the access method according to any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the access method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method of managing priority in the context, electronic device and communication system

    CN111586651A