Image processing method and electronic equipment

Through the image processing method, the network entry license information is written into the template image to generate the network entry license logo for electronic equipment, which solves the problem of complex and high cost setting of the network entry license logo in the prior art, and improves production efficiency and flexibility.

CN119251352AActive Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410035615.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-01-03
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

In the prior art, the process of setting up an access license mark for electronic devices is complicated and time-cost, resulting in low production efficiency.

Method used

The target template image and network access license information are obtained through the image processing method, and the network access license information is written into the template image to generate the network access license logo of the electronic device, reducing the complexity and data processing volume in the production process.

Benefits of technology

It improves the production efficiency of electronic equipment, simplifies the setting process of the entry license sign, reduces time cost, and enhances the flexibility and wide application of the method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119251352A_ABST
    Figure CN119251352A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is applied to the field of image processing, and provides an image processing method and electronic equipment. The method is applied to the electronic equipment and comprises the following steps: acquiring a target template image and target network access permission information of the electronic equipment; and writing the target network access permission information into the target template image to obtain a target network access permission mark of the electronic equipment. Based on the technical method provided by the invention, the cost of setting the network access permission sign for the electronic equipment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing, and more specifically, to an image processing method and an electronic device. Background Art

[0002] The state implements a network access licensing system for telecommunication terminal equipment, radio communication equipment and telecommunication equipment involved in network interchange for access to public telecommunication networks. Their use must comply with national standards and obtain a network access licensing mark. Manufacturers can use labels to attach network access licensing marks to the exterior, nameplate or packaging of electronic equipment based on product characteristics.

[0003] The number of electronic devices produced by manufacturing enterprises is huge. The manufacturer generates a network access permission mark for each electronic device and sets it on the corresponding electronic device. The processing process is relatively complicated and time-consuming. Summary of the invention

[0004] The present application provides an image processing method and electronic device, which can reduce the time cost of setting a network access permission mark for an electronic device and improve the production efficiency of the electronic device.

[0005] In a first aspect, an image processing method is provided, which is applied to an electronic device, and the method comprises: acquiring a target template image and target network access permission information of the electronic device; and writing the target network access permission information into the target template image to obtain a target network access permission mark of the electronic device.

[0006] The method provided in the embodiment of the present application is that the electronic device generates a target network access permission mark for the electronic device based on the target template image and the target network access permission information of the electronic device. Therefore, after the manufacturer obtains the network access permission information of each electronic device according to the national network access permission system, the manufacturer can write the network access permission information into each electronic device without the need for the manufacturer to generate a network access permission mark for each electronic device separately, thereby reducing the complexity and data processing volume of setting the network access permission mark for the electronic device during the production process, reducing the time cost of setting the network access permission mark for the electronic device, and improving the production efficiency of the electronic device.

[0007] In a possible implementation, the method further includes: obtaining a target image identifier corresponding to the target network access permission information; and obtaining a target template image includes: determining the target template image corresponding to the target image identifier among multiple template images based on a correspondence between the image identifier and the template image.

[0008] According to the correspondence between the image identifier and the template image, the target template image corresponding to the target image identifier is determined, thereby improving the flexibility and wide applicability of the image processing method of the present application.

[0009] In a possible implementation, the electronic device records multiple network access permission information of the electronic device and candidate image identifiers corresponding to each network access permission information, and different candidate image identifiers represent different countries; the method also includes: obtaining the target country; obtaining the target image identifier corresponding to the target network access permission information includes: determining the target image identifier among the multiple candidate image identifiers, and the target image identifier represents the target country.

[0010] Different candidate country identifiers represent different countries, so as to obtain the target country, the target image identifier representing the target country can be determined from multiple candidate country identifiers, making the method of determining the target image identifier more flexible, thereby improving the flexibility and wide applicability of the image processing method of the present application. Among multiple network access permission information, the network access permission information corresponding to the target image identifier is the target network access permission information.

[0011] In a possible implementation manner, the acquiring the target country includes: acquiring a mobile country code recorded in a subscriber identification module in the electronic device, and the target country is a country represented by the mobile country code.

[0012] The target country is determined based on the SIM card set in the electronic device, without the need for user operation, thus improving the user experience.

[0013] In a possible implementation manner, acquiring the target country includes: determining the target country where the electronic device is located according to a network where the electronic device resides.

[0014] The country where the electronic device is located is determined as the target country based on the network where the electronic device resides, without the need for user operation, thereby improving the user experience.

[0015] In a possible implementation manner, the system file of the electronic device includes the target template image.

[0016] Setting the template image in the system file can prevent the template image from being tampered with, making the generated target network access permission mark more reliable.

[0017] In a possible implementation manner, the target template image records the type information of the electronic device.

[0018] By setting the model information of the electronic device in the template image, it is possible to avoid the electronic device having to add the model information during each image processing process, thereby improving the processing efficiency of the electronic device.

[0019] In one possible implementation, the obtaining of the target template image and the target network access permission information of the electronic device includes: obtaining the target template image and the target network access permission information of the electronic device while obtaining a query authentication operation of the user; the method also includes: displaying the target network access permission mark.

[0020] In a second aspect, an image processing apparatus is provided, comprising a unit for executing the method in the first aspect. The apparatus may be a terminal device or a chip in the terminal device.

[0021] In a third aspect, an electronic device is provided, comprising one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method of the first aspect.

[0022] In a fourth aspect, a chip system is provided, characterized in that the chip system is applied to an electronic device, the chip system comprises one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method of the first aspect.

[0023] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes instructions, and when the instructions are executed on an electronic device, the electronic device executes the method of the first aspect.

[0024] According to a sixth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method according to the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a schematic diagram of a network access permission sign;

[0026] Figure 2 It is a schematic diagram of the location of the network access permission sign;

[0027] Figure 3 It is a schematic flow chart of a method for setting a network access permission mark for an electronic device;

[0028] Figure 4 is a schematic diagram of a hardware system of an electronic device applicable to the present application;

[0029] Figure 5 is a schematic diagram of a software system of an electronic device applicable to the present application;

[0030] Figure 6is a schematic diagram of a software system of another electronic device applicable to the present application;

[0031] Figures 7 and 8 is a schematic diagram of a graphical user interface of an electronic device provided in an embodiment of the present application;

[0032] Fig. 9 is a schematic flow chart of an image processing method provided in an embodiment of the present application;

[0033] Fig.10 is a schematic diagram of a graphical user interface of an electronic device provided in an embodiment of the present application;

[0034] Fig.11 It is a schematic structural diagram of an image processing device provided by the present application. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0036] The state implements a network access licensing system for telecommunications terminal equipment, radio communication equipment and telecommunications equipment involving network interchange used to access public telecommunications networks. Their use must comply with national standards and obtain a network access licensing mark.

[0037] Figure 1 It is a schematic diagram of a network access permission mark.

[0038] like Figure 1 As shown in (a) and (b) of FIG. 8 , the network access permission mark may include a template image 210 , device model information 220 , and network access permission information 230 .

[0039] The template image 210 may include preset characters 211, graphic logos 212, etc. The preset characters in the template image 210 may be Figure 1 "Network Access Permit" as shown in (a) or Figure 1 "Network Trial" as shown in (b) in the figure.

[0040] The device model information 220 indicates a device signal of the electronic device.

[0041] In a certain country, different electronic devices may correspond to different network access permission information.

[0042] like Figure 1 As shown in (c) and (d) in FIG. 1 , the template image 210 may further include a background texture 213 and a background color.

[0043] Manufacturers can use labels to attach network access permission marks based on product characteristics. That is, on the outer body of electronic equipment products (such as Figure 2 (a) in the above), nameplate or packaging (such as Figure 2 A label with a network access permission mark printed on it can be pasted or attached to relevant locations such as those shown in (b) above.

[0044] Or, if Figure 2 As shown in (c) in the figure, the network access permission mark can be set on a sticker, and the sticker can record the model of the electronic device, the name of the manufacturer, the international mobile equipment identity (IMEI) and the identification code of the IMEI, etc. The sticker can be affixed to the outer body, nameplate or packaging of the electronic device product.

[0045] IMEI can also be called the serial number or serial number of an electronic device, etc., which is used to identify each independent mobile communication device in a mobile phone network.

[0046] Figure 3 The invention is a schematic flow chart of a method for setting a network access permission mark of an electronic device.

[0047] Step S301, obtaining network access permission information of the electronic device.

[0048] The network access permission information of the electronic device can be determined by applying or filing with the department that licenses the network access permission mark. The network access permission information of the electronic device can be uniformly generated and issued by the department. Alternatively, the network access permission information of the electronic device can be calculated by the manufacturer of the electronic device according to the preset calculation rules and agreed or approved by the department. The network access permission information can be different for different electronic devices in the same country. That is, in a certain country, the network access permission information of an electronic device can uniquely identify the electronic device.

[0049] The network access permission information is the unique identification code of the network access permission mark and is the necessary basis for querying the network access permission mark.

[0050] Step S302: Create a network access permission mark for the electronic device based on the network access permission information of the electronic device.

[0051] The production of network access permission marks may include processes such as printing and laminating of network access permission marks.

[0052] After step S302, the produced network access permission mark may be checked to avoid problems such as printing position error or printing information error in the produced network access permission mark.

[0053] Step S303: affix the network access permission mark to the electronic device.

[0054] Step S304: Check the network access permission mark affixed to the electronic device.

[0055] By inspecting the network access permission marks on electronic devices, problems such as affixing the network access permission marks to the wrong electronic devices can be avoided.

[0056] After the electronic device obtains the network access permission authorization, a physical network access permission mark can be produced, and the produced physical network access permission mark can be transported, distributed, pasted, inspected, etc., so as to set the network access permission mark in the form of a label adhesion. The process of setting the network access permission mark for the electronic device is relatively complicated, takes a long time, and has low setting efficiency.

[0057] Furthermore, the network access permission mark of the same electronic device may be different in different countries. When the device is remanufactured or the sales address of the device changes, the electronic device needs to be transported to the production or maintenance outlet to reset the network access permission mark.

[0058] In order to reduce the cost of setting the network access permission mark, the electronic equipment manufacturer can add the device model information 220 and the network access permission information 230 to the template image 210 to obtain the electronic network access permission mark of the electronic equipment. The template image 210 can be a permission mark vector image.

[0059] Exemplarily, the identification setting device of the manufacturing enterprise can obtain the template image 210, the device model information 220 and the network access permission information 230 of the electronic device, generate the network access permission mark of the electronic device, and store the network access permission mark in the electronic device.

[0060] The number of electronic devices produced by manufacturing enterprises is huge. The manufacturer generates a network access permission mark for each electronic device and transmits it to the corresponding electronic device, so that the electronic device stores the electronic network access permission mark to achieve the setting of the network access permission mark of the electronic device. The processing process is still relatively complicated and time-consuming.

[0061] In order to solve the above problems, the present application provides an image processing method and an electronic device. The image processing method provided in the embodiment of the present application can be applied to Figure 4 In the electronic device shown.

[0062] Figure 4 A hardware system of an electronic device suitable for the present application is shown.

[0063] The method provided in the embodiments of the present application can be applied to various electronic devices capable of network communication, such as mobile phones, tablet computers, wearable devices, laptop computers, netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0064] Figure 4 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0065] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0066] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0067] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0068] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0069] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0070] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0071] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0072] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0073] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0074] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0075] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into the SIM card interface 195 to achieve contact with the electronic device 100, and can also be pulled out from the SIM card interface 195 to achieve separation from the electronic device 100. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. Multiple cards can be inserted into the same SIM card interface 195 at the same time, and the types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to achieve functions such as calls and data communications. In some embodiments, the electronic device 100 uses an embedded SIM (embedded-SIM, eSIM) card, and the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0076] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0077] For the software structure of the electronic device 100, the layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, respectively, the application layer, the application framework layer, the system library of the Android runtime (Android runtime), and the kernel layer. The application layer can include a series of application packages.

[0078] The application layer may include applications (APP) such as camera, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, wallpaper, gallery, setting, etc.

[0079] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0080] The application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a data integration module, and the like.

[0081] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures. The phone manager is used to provide communication functions for the electronic device 100. The resource manager provides various resources for applications. The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.

[0082] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0083] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0084] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0085] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0086] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple common audio and video formats, as well as static image files. The media library can support multiple audio and video encoding formats. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.

[0087] The kernel layer is the layer between hardware and software. The kernel layer may include driver modules such as display driver, camera driver, audio driver, and sensor driver.

[0088] like Figure 5 As shown, the data authentication module can be set in the kernel layer or the system library.

[0089] The data authentication module can be used to receive the identification request information sent by the setup APP. The identification request information sent by the setup APP can be transmitted to the data authentication module with or without being forwarded by the data integration module. The identification request information includes the signature information of the setup APP. The data authentication module can be used to verify the identity of the requester based on the signature information in the identification request information, that is, to determine whether the identification request information is sent by the setup APP.

[0090] The setting APP can use the signature algorithm to perform a signature operation on the signature string according to the application key (APP key) of the setting APP, thereby obtaining the signature information. The identification request information also includes the application identification of the setting APP. The data authentication module can set the application identification of the APP to determine the application key of the setting APP, use the signature algorithm to perform a signature operation to obtain the verification signature information, and verify the verification signature information with the signature information in the identification request information.

[0091] When the verification is successful, that is, when it is determined whether the identity of the requester is the setting APP, the data authentication module can be used to read the target network access permission information stored in the memory and send the target network access permission information to the data integration module in the application framework layer.

[0092] The setting APP may send a flag data request message to the data integration module. The flag data request message may include or not include the identification request message. In the case where the flag data request message includes the identification request message, the data integration module may send the identification request message to the data authentication module.

[0093] The data integration module may read the target image template stored in the memory when receiving the mark data request information.

[0094] The data integration module can be used to send the target network access permission information and the target template image to the setting APP in the application layer.

[0095] The setting APP can write the target network access permission information into the target template image to obtain the target network access permission mark of the electronic device.

[0096] The target network access permission information and the target template image may be stored in the same or different storages.

[0097] Exemplarily, both the target template image and the target network access permission information may be stored in a non-volatile memory.

[0098] The target template image may record common information and may be located in a mirror file of the electronic device.

[0099] An image file is actually similar to a compressed package. It compiles a specific series of files into a single file in a certain format to facilitate users to download and use it, such as a beta version of an operating system, game, etc.

[0100] The image file may also include the operating system of the electronic device, etc. In the electronic device, the image file may be set to read-only to prevent the application from modifying the data in the image file.

[0101] The target network access permission information can record information unique to each electronic device. During the production process of the production line, the target network access permission information can be written into the memory of the electronic device. That is to say, after the electronic device is manufactured and before it enters the market, the target network access permission information of the electronic device can be applied to the target country where the electronic device is expected to be sold, and the target network access permission information can be written into the memory of the electronic device.

[0102] Exemplarily, after obtaining the target network access permission information, the writing device may send a writing request message to the electronic device. The writing request message is used to instruct the electronic device to write the target network access permission information in the memory. The writing request may include the signature information of the writing device. The data authentication module may authenticate the writing request message, that is, verify the identity of the requester according to the signature information in the writing request message. When it is determined that the identity of the requester is the writing device, the data authentication module may write the target network access permission information into the memory.

[0103] By verifying the identity of the requester who instructs to write the target network access permission information through the data authentication module, the target network access permission information can be prevented from being tampered with.

[0104] Exemplarily, the write request information can also be used to instruct the electronic device to write the signature information of the target network access permission information. The data authentication module can also verify the authenticity of the target network access permission information based on the signature information of the target network access permission information. For example, the data authentication module can verify the authenticity of the target network access permission information when receiving the identification request information sent by the setting APP. If the target network access permission information has not been tampered with, the target network access permission information is authentic and reliable and can be successfully verified. If the verification is successful, that is, if it is determined that the target network access permission information is authentic and reliable, the data authentication module will send the target network access permission information to the data integration module in the application framework layer.

[0105] The data authentication module verifies the authenticity of the target network access permission information, which can be understood as detecting whether the target network access permission information has been tampered with. If the target network access permission information is authentic, that is, it has not been tampered with, the data authentication module can send the target network access permission information to the data integration module in the application framework layer.

[0106] Figure 5 The description is given by taking the example that only the target template image and the target network access permission information are stored in the memory of the electronic device.

[0107] During the production of electronic devices, the target countries where the electronic devices are sold can be predicted. According to the predicted target countries, the template image of the target country can be used as the target template image, and the network access permission information of the electronic device in the target country can be used as the target network access permission information. Thus, the target template image and the target network access permission information can be stored in the memory of the electronic device.

[0108] However, there may be deviations in the forecast of the sales countries of electronic devices. In some cases, during the sales process of electronic devices, the sales countries of electronic devices may need to be adjusted according to the sales situation of the electronic devices of the model in various countries, resulting in differences between the actual sales countries of electronic devices and the forecast.

[0109] If only the target template image and the target network access permission information are stored in the memory of the electronic device, when there is a deviation in the prediction result, that is, the electronic device needs to be sold in other countries other than the target country, the target template image and the target network access permission information in the electronic device need to be modified, which is more complicated to process. In addition, transporting the electronic device to a maintenance point or other location where the target template image and the target network access permission information can be modified increases the cost.

[0110] In order to adapt to the situation that the electronic device may be sold in multiple countries, one or more network access permission information and multiple template images may be stored in the electronic device. Figure 6 Taking as an example, the case where at least one network access permission information and multiple template images are stored in the electronic device is described.

[0111] like Figure 6 As shown, the kernel layer or system library may be provided with a SIM card information reading module and a network information reading module.

[0112] The setting APP can send a logo data request message to the data integration module. The data integration module can read the image identifier stored in the memory and the corresponding relationship with the template image when receiving the logo data request message. Different image identifiers represent different countries.

[0113] The setting APP may send identification request information to the data authentication module. The identification data request information may include or not include identification request information. In the case where the identification data request information includes identification request information, the data integration module may forward the identification request information to the data authentication module to implement the setting APP sending identification request information to the data authentication module.

[0114] The identification request information includes the signature information of the setting APP. The data authentication module can be used to verify the identity of the requester according to the signature information in the identification request information, that is, to determine whether the identification request information is sent by the setting APP.

[0115] When the verification is successful, that is, the identity of the requester is determined to be the setting APP, the data authentication module can be used to read at least one network access permission information and the candidate image identifier corresponding to each network access permission information stored in the memory, and send at least one network access permission information and the candidate image identifier corresponding to each network access permission information to the data integration module in the application framework layer.

[0116] When the number of the at least one network access permission information is one, the data integration module may determine that the network access permission information is the target network access permission information.

[0117] In the case where the number of the at least one network access permission information is multiple, the data integration module may send the first query information to the SIM card information reading module in the kernel layer or the system library. When receiving the first query information, the SIM card information reading module may read the international mobile subscriber identity (IMSI) of the SIM card set in the electronic device. The IMSI includes a mobile country code (MCC), a mobile network code (MNC), and a mobile subscription identification number (MSIN).

[0118] The SIM card information reading module may send the first country indication information to the data integration module. The first country indication information is used to indicate the country indicated by the MCC. Exemplarily, the SIM card information reading module may send the IMSI of the SIM card set in the electronic device or the MCC in the IMSI to the data integration module.

[0119] The data integration module can determine a target image identifier from multiple candidate image identifiers, and the target country represented by the target image identifier is the same as the country represented by the first country indication information. In other words, the country represented by the first country indication information, that is, the country represented by the MCC, can be used as the target country.

[0120] In some cases, the electronic device may be provided with multiple SIM cards. The SIM card information reading module may read the IMSI of the main SIM card and send the first country indication information to the data integration module according to the IMSI of the main SIM card.

[0121] When the number of the at least one network access permission information is multiple, the data integration module may also send the second query information to the network information reading module in the kernel layer or the system library. When receiving the second query information, the network information reading module sends the target operator information of the network where the electronic device resides to the data integration module. The data integration module may determine the target country according to the target operator information.

[0122] The operator information may include an identifier of a target operator of a network where the electronic device resides, such as a code or a name, etc. According to the correspondence between the operator identifier and the country, the target country corresponding to the identifier of the target operator is determined.

[0123] Alternatively, the operator information may include an MCC and a mobile network code (MNC). The data integration module may use the country represented by the MCC as the target country. Different operators correspond to different MNCs.

[0124] The operator information may be information sent by a network device in the network where the electronic device resides to the network information reading module.

[0125] The second query information may be information of the telephone manager (TelephonyManager) class. For example, the second query information may be information about obtaining network operator information (getNetworkOperator) or obtaining network operator name information (getNetworkOperatorName).

[0126] Exemplarily, when the number of the at least one network access permission information is plural and no SIM is provided in the electronic device, the data integration module may send the second query information to the network information reading module.

[0127] The network information reading module can send second country indication information to the data integration module. The second country indication information is used to indicate the country where the electronic device is located.

[0128] The data integration module can determine a target image identifier from multiple candidate image identifiers, and the target country represented by the target image identifier is the same as the country represented by the second country indication information. In other words, the country represented by the second country indication information, that is, the country where the electronic device is located, can be used as the target country.

[0129] A plurality of template images are stored in the memory. After determining the target image identifier, the data integration module can read the target template image corresponding to the target image identifier in the memory. Alternatively, the data integration module can read the image identifier stored in the memory and the corresponding relationship with the template image, as well as the plurality of template images, when receiving the mark data request information sent by the device APP, and determine the target template image from the plurality of template images read when the target image identifier is determined.

[0130] After determining the target image identifier, the data integration module may determine that the network access permission information corresponding to the target image identifier is the target network access permission information.

[0131] The data integration module can send the target network access permission information and the target template image to the setting APP. The setting APP can write the target network access permission information into the target template image to obtain the target network access permission mark of the electronic device.

[0132] The multiple template images in the memory may be located in an image file in the memory. The image file may also include an operating system. That is, during the production process of the electronic device, the image file may be stored in the electronic device. In the electronic device, the image file may be set to read-only to prevent the application from modifying the data in the image file.

[0133] After determining at least one country where a batch of electronic devices may be sold, the manufacturer can obtain the network access permission information of each electronic device in the batch of electronic devices in each of the at least one country, that is, obtain the permission for each electronic device to access the network in each of the at least one country. Before selling, the manufacturer can write the network access permission information of each electronic device in each of the at least one country, as well as the candidate image identifier corresponding to each network access permission information, into the memory of the electronic device. For each electronic device, the candidate image identifier corresponding to each network access permission information represents the country corresponding to the network access permission information. In other words, for each country represented by the candidate image identifier, the network access permission information corresponding to the candidate image identifier of the electronic device can uniquely identify the electronic device. For different countries, due to different preset calculation rules, electronic devices can have different network access permission information.

[0134] Exemplarily, the writing device may be used to send a writing request to the electronic device. The writing request may instruct the electronic device to write at least one network access permission information and a candidate image identifier corresponding to each network access permission information in the memory. The writing request includes at least one network access permission information and a candidate image identifier corresponding to each network access permission information.

[0135] The write request may include signature information of the write device, and the data authentication module may authenticate the write request information, that is, verify the identity of the requester according to the signature information in the write request information. When it is determined that the identity of the requester is the write device, the data authentication module may write at least one network access permission information of the target network access permission information and the candidate image identifier corresponding to each network access permission information into the memory.

[0136] The write request may also instruct the electronic device to write signature information of at least one network access permission information in the memory. The data authentication module may verify the authenticity of the at least one network access permission information based on the signature information of the at least one network access permission information. If the verification is passed, that is, it is determined that the at least one network access permission information is authentic (that is, it has not been tampered with), the data authentication module may determine the target network access permission information in the at least one network access permission information, and send the target network access permission information to the setting APP.

[0137] Alternatively, the write request may also instruct the electronic device to write the signature information of each network access permission information in the memory. When the data authentication module determines the target network access permission information in the at least one network access permission information, the authenticity of the target network access permission information is verified according to the signature information of the target network access permission information. When the verification is passed, that is, it is determined that the target network access permission information is true (that is, it has not been tampered with), the data authentication module can send the target network access permission information to the setting APP.

[0138] When it is impossible to accurately predict the countries where electronic equipment will be sold, the network access permission information of multiple possible sales countries is written into the electronic equipment. Thus, when a batch of electronic equipment mobile phones are sold in one country and the remaining electronic equipment are sold in another country, there is no need to rewrite the network access permission information and there is no need to transport the electronic equipment to a maintenance point that can modify the stored template image and network access permission information, thereby reducing the cost in the sales process.

[0139] It should be understood that in an electronic device, the number of image templates may be greater than or equal to the number of network access permission information. The multiple template images recorded in the electronic device may include template images of multiple countries where a certain model of electronic device is expected to be sold. The number of at least one network access permission information recorded in the electronic device may be equal to the number of countries where the electronic device or a batch of electronic devices including the electronic device is expected to be sold. The countries where a certain model of electronic device is expected to be sold may be greater than or equal to the countries where a batch of electronic devices of the same model is expected to be sold.

[0140] When the operating system of the electronic device is used for the first time or the user checks the network access permission mark of the electronic device, the electronic device can determine the target identifier in at least one network access permission information and the target image template in multiple image templates according to the target image identifier representing the target country, thereby dynamically generating an electronic target network access permission mark. The target network access permission mark can be flexibly generated according to the state of the electronic device.

[0141] Combine the following Figures 7 and 8 , the application scenarios of the image processing method provided in the embodiments of the present application are described.

[0142] Figure 7 (a) of FIG. 1 shows a graphical user interface (GUI) of an electronic device, and the GUI is a desktop 710 of the electronic device. When a camera start operation is detected in which a user clicks a camera icon 711 of a setting application (APP) on the desktop 710, the electronic device can start the camera application and display a screen such as Figure 7 Another GUI shown in (b) in the figure may be referred to as a setting interface 720.

[0143] The setting interface 720 may include an authentication information icon 721. When the electronic device detects that the user clicks the authentication information icon 721, the setting APP of the electronic device may obtain the target network access permission mark through the image processing method provided in the embodiment of the present application. The electronic device may display the following information: Figure 8 Another GUI is shown, which may be referred to as an authentication information interface 730. The authentication information interface 730 includes a target network access permission flag 731 obtained by setting the APP.

[0144] In addition, when the electronic device is turned on, for example, when the operating system of the electronic device is used for the first time (such as the first time a user turns on the electronic device after purchasing it, or the first time a user turns on the electronic device after restoring or upgrading the operating system of the electronic device), the setting APP can execute the image processing method provided in the embodiment of the present application to enable the electronic device to display the target network access permission mark.

[0145] Combine the following Fig. 9 The image processing method provided in the embodiment of the present application is described in detail. The execution subject of the method provided in the present application can be an electronic device, or a software / hardware module capable of image processing in the electronic device. For the sake of convenience, the electronic device is used as an example in the following embodiments.

[0146] Fig. 9is a schematic flow chart of an image processing method provided in an embodiment of the present application. The method may include steps S910 to S920, and these steps are described in detail below.

[0147] Step S910: Acquire a target template image and target network access permission information of the electronic device.

[0148] The target template image may include one or more of text, shading, background color, etc. The target template image may be a licensing logo vector image.

[0149] The state implements a network access license system for telecommunication terminal equipment, radio communication equipment and telecommunication equipment involved in network interchange for access to public telecommunication networks. Electronic devices with network access license information are electronic devices that have obtained permission to access public telecommunication networks. The target network access license information of electronic devices is used to identify electronic devices. The target network access license information may include multiple characters.

[0150] Step S920: write the target network access permission information into the target template image to obtain the target network access permission mark of the electronic device.

[0151] The image processing method provided in the embodiment of the present application generates a target network access permission mark by an electronic device. Therefore, after the manufacturer obtains the network access permission information of each electronic device according to the national network access permission system, the manufacturer can write the network access permission information into each electronic device without generating and writing the network access permission mark for each electronic device separately, thereby reducing the complexity of the production process and the amount of data processing and improving the production efficiency of electronic equipment.

[0152] One or more template images may be recorded in the electronic device. When the electronic device records one template image, the template image is recorded as the target template image.

[0153] If multiple template images are recorded in the electronic device, the target image identifier corresponding to the target network access permission information can be obtained before step S910. Therefore, in step S910, according to the correspondence between the image identifier and the template image, the target template image corresponding to the target image identifier can be determined from the multiple template images.

[0154] According to the correspondence between the image identifier and the template image, the target template image corresponding to the target image identifier is determined, thereby improving the flexibility of the image processing method of the present application.

[0155] The electronic device may record one or more network access permission information of the electronic device and a candidate image identifier corresponding to each network access permission information. Different image identifiers may represent different countries.

[0156] That is, different network access permission information identifies the electronic device in the country indicated by the candidate image identifier corresponding to the network access permission information, that is, the electronic device can be identified as the network access permission information corresponding to the candidate image identifier in the country indicated by the candidate image identifier.

[0157] When the number of network access permission information recorded in the electronic device is one, the network access permission information is recorded as the target network access permission information, and the image identifier corresponding to the target network access permission information is the target image identifier.

[0158] In the case where the number of network access permission information recorded in the electronic device is multiple, the target country can also be obtained before performing step S910. Therefore, in step S910, the target image identifier can be determined from multiple candidate image identifiers, and the target image identifier represents the target country. That is, from multiple candidate image identifiers, the candidate image identifier representing the target country can be determined as the target image identifier.

[0159] Different candidate country identifiers represent different countries, so that the target country can be obtained. The target image identifier representing the target country can be determined from multiple candidate country identifiers, making the method of determining the target image identifier more flexible, thereby improving the flexibility and wide applicability of the image processing method of the present application.

[0160] The target country may be indicated by the user or determined according to a SIM card configured in the electronic device or a network in which the electronic device resides.

[0161] In some embodiments, when the electronic device detects that the user clicks the authentication information icon 721, if the electronic device records multiple network access permission information, that is, records multiple candidate image identifiers, the electronic device may display the following: Fig.10 The GUI shown in the figure may be referred to as a selection interface 740. The selection interface 740 includes a plurality of country icons 741 to 743. The plurality of country icons 741 to 743 respectively represent the country A, country B and country C represented by the plurality of candidate image identifiers.

[0162] When detecting that the user clicks on an icon of any country among the plurality of country icons 741 to 743 , the electronic device may take the country represented by the country icon clicked by the user as the target country.

[0163] In other embodiments, when multiple network access permission information, that is, multiple candidate image identifiers are recorded in the electronic device, the IMSI of the SIM card set in the electronic device can be read. The IMSI includes the MCC. The country indicated by the MCC in the IMSI can be used as the target country.

[0164] That is, if a plurality of candidate image identifiers include a country represented by an MCC, the country represented by the MCC may be used as a target country.

[0165] The target country is determined based on the SIM card set in the electronic device, without the need for user operation, thus improving the user experience.

[0166] Exemplarily, when no SIM card is set in the electronic device or the plurality of candidate image identifiers do not include a country represented by the MCC, the target country may be a country indicated by the user.

[0167] In some other embodiments, when a plurality of network access permission information is recorded in the electronic device, the country where the electronic device is located can be determined as the target country according to the network where the electronic device resides.

[0168] Exemplarily, the network where the electronic device resides may be provided by the target operator. When the electronic device begins to reside in the network, or when the electronic device sends a query request, the network device may send the operator information to the electronic device. The operator information may include an MCC. The country indicated by the MCC in the operator information may be understood as the country where the electronic device is located, that is, the country indicated by the MCC in the operator information may be used as the target country.

[0169] Alternatively, the electronic device may also determine the country where the electronic device is located based on the frequency band of the network in which it resides.

[0170] That is, if a plurality of candidate image identifications include the country where the electronic device is located, the country where the electronic device is located may be used as the target country.

[0171] The country where the electronic device is located is determined as the target country based on the network where the electronic device resides, without the need for user operation, thereby improving the user experience.

[0172] Exemplarily, when the electronic device is not resident in the network or the plurality of candidate image identifiers do not include the country where the electronic device is located determined based on the network where the electronic device resides, the target country may be the country indicated by the user.

[0173] Exemplarily, when no SIM card is set in the electronic device or the multiple candidate image identifiers do not include the country represented by the MCC, the country where the electronic device is located can be determined as the target country according to the network where the electronic device resides.

[0174] In the electronic device, at least one template image may be recorded in a system file or other file of the electronic device.

[0175] Files can be classified into system files, library files, user files, etc. according to their nature and purpose.

[0176] System files can be understood as files in a folder for storing main files of the operating system. System files are generally automatically created during the installation of the operating system and the relevant files are placed in the corresponding folder. In other words, system files can be image files including the operating system, or can be understood as files obtained after installing the image files including the operating system.

[0177] System files directly affect the normal operation of the system and are generally not allowed to be changed at will, that is, they are set to read-only status. The existence of system files plays an important role in maintaining the stability of the computer system.

[0178] Setting the template image in the system file can prevent the template image from being tampered with, making the generated target network access permission mark more reliable.

[0179] The network access permission mark may include the model information of the electronic device and the network access permission information. The network access permission information is related to the individual electronic device, and for electronic devices of the same model, the electronic device model information is the same. Setting the model information of the electronic device in the template image can avoid the electronic device from adding the model information to the initial template image during each image processing process, thereby improving the efficiency of electronic device processing.

[0180] That is, each template image can be obtained by adding the model information of the electronic device to the initial template image. For different countries, the initial template images can be the same or different.

[0181] The image processing method provided in the embodiment of the present application can be performed while obtaining the user's query authentication operation.

[0182] When the target network access permission mark is obtained, the target network access permission mark can be displayed.

[0183] The user's query authentication operation may be the user's first boot operation of the electronic device's operating system, that is, the first boot operation performed by the user after purchasing the electronic device, or the first boot operation performed by the user after restoring or upgrading the operating system of the electronic device. Figure 7 The user clicks the authentication information icon on the setting interface.

[0184] The method provided in the embodiment of the present application generates a target network access permission mark by an electronic device. Therefore, after the manufacturer obtains the network access permission information of each electronic device according to the national network access permission system, the manufacturer can write the network access permission information into each electronic device without generating and writing the network access permission mark for each electronic device separately, thereby reducing the complexity of the production process and the amount of data processing and improving the production efficiency of electronic equipment.

[0185] It should be understood that the above examples are intended to help those skilled in the art understand the embodiments of the present application, rather than to limit the embodiments of the present application to the specific numerical values ​​or specific scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of the present application.

[0186] Combination of the above Fig. 9 , describes in detail the image processing method of the embodiment of the present application, and will now be combined with Fig.10 It should be understood that the image processing device in the embodiment of the present application can execute various image processing methods in the aforementioned embodiment of the present application, that is, the specific working process of the following various products can refer to the corresponding process in the aforementioned method embodiment.

[0187] Fig.11 It is a schematic diagram of an image processing device provided in an embodiment of the present application.

[0188] The image processing apparatus 1100 includes an acquisition unit 1110 and a processing unit 1120 .

[0189] In some embodiments, the image processing apparatus 1100 may perform Fig. 9 The image processing method shown.

[0190] The acquisition unit 1110 is used to acquire the target template image and the target network access permission information of the electronic device.

[0191] The processing unit 1120 is configured to write the target network access permission information into the target template image to obtain a target network access permission mark of the electronic device.

[0192] Optionally, the acquisition unit 1110 is further configured to acquire a target image identifier corresponding to the target network access permission information.

[0193] The acquisition unit 1110 is further configured to determine the target template image corresponding to the target image identifier from among multiple template images according to the corresponding relationship between the image identifier and the template image.

[0194] Optionally, the electronic device records a plurality of network access permission information of the electronic device and a candidate image identifier corresponding to each network access permission information, and different candidate image identifiers represent different countries.

[0195] The acquisition unit 1110 is further used to acquire the target country.

[0196] The acquisition unit 1110 is further configured to determine the target image identifier among the plurality of candidate image identifiers, wherein the target image identifier represents the target country.

[0197] Optionally, the acquisition unit 1110 is further configured to acquire a mobile country code recorded in a subscriber identification module in the electronic device, and the target country is a country represented by the mobile country code.

[0198] Optionally, the acquiring unit 1110 is further configured to determine the target country where the electronic device is located according to a network where the electronic device resides.

[0199] Optionally, the system file of the electronic device includes the target template image.

[0200] Optionally, the target template image records type information of the electronic device.

[0201] Optionally, the acquisition unit 1110 is further configured to acquire the target template image and target network access permission information of the electronic device in case of acquiring a query authentication operation of the user.

[0202] The image processing device 1100 further includes a display unit, and the display unit is used to display the target network access permission mark.

[0203] It should be noted that the above-mentioned image processing device 1100 is embodied in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

[0204] For example, a "unit" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0205] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0206] The present application also provides a chip, the chip comprising a data interface and one or more processors. When the one or more processors execute instructions, the one or more processors read the instructions stored in the memory through the data interface to implement the image processing method described in the above method embodiment.

[0207] The one or more processors may be general-purpose processors or special-purpose processors. For example, the one or more processors may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices such as discrete gates, transistor logic devices, or discrete hardware components.

[0208] The chip may be used as a component of a terminal device or other electronic devices. For example, the chip may be located in the electronic device 100 .

[0209] The processor and the memory may be provided separately or integrated together. For example, the processor and the memory may be integrated on a system on chip (SOC) of a terminal device. That is, the chip may also include a memory.

[0210] The memory may store a program, which may be executed by the processor to generate instructions, so that the processor executes the image processing method described in the above method embodiment according to the instructions.

[0211] Optionally, data may be stored in the memory. Optionally, the processor may read data stored in the memory, and the data may be stored at the same storage address as the program, or may be stored at a different storage address than the program.

[0212] Exemplarily, the memory can be used to store relevant programs of the image processing method provided in the embodiments of the present application, and the processor can be used to call relevant programs of the image processing method stored in the memory to implement the image processing method in the embodiments of the present application.

[0213] For example, the processor may be used to obtain a target template image and target network access permission information of the electronic device; and write the target network access permission information into the target template image to obtain a target network access permission mark of the electronic device.

[0214] The chip can be arranged in an electronic device.

[0215] The present application also provides a computer program product, which, when executed by a processor, implements the image processing method described in any method embodiment of the present application.

[0216] The computer program product may be stored in a memory, for example, a program, which is finally converted into an executable target file that can be executed by a processor after preprocessing, compiling, assembling and linking.

[0217] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the image processing method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.

[0218] The computer-readable storage medium is, for example, a memory. The memory may be a volatile memory or a nonvolatile memory, or the memory may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0219] The embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data may be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).

[0220] In the description of this application, the terms "first", "second", etc. are used only for descriptive purposes and should not be understood as indicating or implying relative importance, or a specific order or sequence. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0221] In this application, "at least one" means one or more, and "more" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0222] It should be understood that in the various embodiments of the present application, the size of the serial numbers 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 application.

[0223] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0224] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0225] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0226] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0227] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

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

Claims

1. An image processing method, characterized in that: Applied to electronic equipment, the method comprises: Acquire a target template image and target network access permission information of the electronic device; The target network access permission information is written into the target template image to obtain a target network access permission mark of the electronic device.

2. The method according to claim 1, characterized in that The method further includes: obtaining a target image identifier corresponding to the target network access permission information; The acquiring of the target template image includes: determining the target template image corresponding to the target image identifier among a plurality of template images according to a correspondence between the image identifier and the template image.

3. The method according to claim 2, characterized in that The electronic device records a plurality of network access permission information of the electronic device and a candidate image identifier corresponding to each network access permission information, and different candidate image identifiers represent different countries; The method further comprises: obtaining a target country; The acquiring of the target image identifier corresponding to the target network access permission information includes: determining the target image identifier among a plurality of candidate image identifiers, wherein the target image identifier represents the target country.

4. The method according to claim 3, characterized in that The target countries include: The mobile country code recorded in the user identification module in the electronic device is obtained, and the target country is the country represented by the mobile country code.

5. The method according to claim 3, characterized in that: The target countries include: The target country where the electronic device is located is determined according to the network where the electronic device resides.

6. The method according to any one of claims 1 to 5, characterized in that The system file of the electronic device includes the target template image.

7. The method according to any one of claims 1 to 6, characterized in that The target template image records the type information of the electronic device.

8. The method according to any one of claims 1 to 7, characterized in that The acquiring of the target template image and the target network access permission information of the electronic device comprises: acquiring the target template image and the target network access permission information of the electronic device in the case of acquiring a query authentication operation of the user; The method further includes: displaying the target network access permission mark.

9. An electronic device, characterized in that: The electronic device includes: one or more processors, and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method as claimed in any one of claims 1 to 8.

10. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises instructions, which, when executed on an electronic device, enable the electronic device to perform the method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Information processing method and system, electronic device and computer readable storage medium

    CN109634990A

  • Label generation method and device, terminal device and computer readable storage medium

    CN110197520A

  • Image generation method and device, computer equipment and storage medium

    CN115205416A

  • Image processing method and device, electronic equipment and storage medium

    CN115797504A

  • Template processing method and device, equipment and medium

    CN116740232A