CN110753106A - File uploading method and device and electronic equipment - Google Patents

File uploading method and device and electronic equipment Download PDF

Info

Publication number
CN110753106A
CN110753106A CN201910989026.6A CN201910989026A CN110753106A CN 110753106 A CN110753106 A CN 110753106A CN 201910989026 A CN201910989026 A CN 201910989026A CN 110753106 A CN110753106 A CN 110753106A
Authority
CN
China
Prior art keywords
file
uploading
uploaded
rule
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910989026.6A
Other languages
Chinese (zh)
Inventor
朱盼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201910989026.6A priority Critical patent/CN110753106A/en
Publication of CN110753106A publication Critical patent/CN110753106A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a file uploading method and device and electronic equipment, wherein the method comprises the following steps: acquiring file data of a file to be uploaded; acquiring a service rule parameter of the file to be uploaded based on the type of the file to be uploaded, wherein the service rule parameter comprises first information used for describing the file to be uploaded and second information of a receiver of the file to be uploaded; obtaining an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded; and calling an uploading service function of the flow layer to upload the file data by using the effective uploading certificate through the rule layer. The file uploading method and the file uploading device can simply and conveniently achieve file uploading, uploading services among different types of files are not mutually interfered, and maintenance cost is reduced.

Description

File uploading method and device and electronic equipment
Technical Field
The present disclosure relates to the field of file processing technologies, and in particular, to a file uploading method and apparatus, and an electronic device.
Background
The file uploading is a function with very high use frequency in the development of the mobile terminal, can upload the file of the mobile terminal to the server terminal, provides a foundation for functions of sharing, saving, serving, re-downloading and the like, and is an indispensable link in modern social applications and mainstream applications. With the rapid development of communication technologies such as 4G and 5G, the media format of the internet has been developed from the initial text to the current pictures and videos, and the requirement for uploading files is also increasingly dense and diversified. The quick and convenient file uploading component can help a developer to reduce development and maintenance cost, stabilize application and bring better experience for a user.
The existing file uploading technology is seriously coupled, once a service rule is changed or an uploading file type needs to be newly added, a developer needs to modify or even rewrite a plurality of places, and the maintenance cost is higher.
Disclosure of Invention
The present disclosure provides a technical scheme for uploading files.
According to an aspect of the present disclosure, there is provided a file uploading method, including:
acquiring file data of a file to be uploaded;
acquiring a service rule parameter of the file to be uploaded based on the type of the file to be uploaded, wherein the service rule parameter comprises first information used for describing the file to be uploaded and second information of a receiver of the file to be uploaded;
obtaining an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded;
and calling an uploading service function of the flow layer to upload the file data by using the effective uploading certificate through the rule layer.
In some possible manners, the obtaining file data of a file to be uploaded includes:
and converting the file to be uploaded into binary data by utilizing the flow layer, and determining the binary data as the file data.
In some possible manners, the obtaining the business rule parameter corresponding to the file data based on the type of the file to be uploaded includes:
determining a rule strategy corresponding to the type of the file to be uploaded in the rule layer based on the type of the file to be uploaded;
and calling the rule strategy to obtain the service rule parameters of the file to be uploaded.
In some possible approaches, the method further comprises:
in response to receiving an instruction to add a rule policy of a first file type, associating and storing the first file type with the rule policy of the first file type in the rule layer.
In some possible manners, the obtaining, by a rule layer, an effective upload credential based on the business rule parameter of the file to be uploaded includes:
requesting an effective uploading certificate from the process layer through the rule layer;
inquiring an effective uploading certificate corresponding to the business rule parameter in an uploading certificate library through the process layer;
and transmitting the inquired effective uploading certificate to the rule layer.
In some possible manners, the obtaining an effective upload credential through a rule layer based on the business rule parameter of the file to be uploaded further includes:
responding to the situation that the effective uploading voucher corresponding to the business rule parameter of the file to be uploaded is not inquired in the uploading voucher library by the process layer, and requesting the server for uploading the voucher;
and determining the received uploading certificate returned by the server as a valid uploading certificate.
In some possible approaches, the method further comprises:
the flow layer performs validity verification on each uploading certificate in the uploading certificate library and updates the uploading certificate library based on the verification result of validity, wherein,
the updating the upload credential repository based on the validation result comprises:
and deleting the invalid uploading certificate.
In some possible embodiments, the method further comprises:
and receiving and displaying the uploading result.
According to a second aspect of the present disclosure, there is provided a file uploading apparatus including:
the acquisition module is used for acquiring file data of a file to be uploaded;
the control module is used for obtaining the service rule parameters of the file to be uploaded based on the type of the file to be uploaded, wherein the service rule parameters comprise the file data and the information of the uploading address of the file to be uploaded; and the file uploading module is used for acquiring an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded, and calling an uploading service function of a flow layer to upload the file data through the rule layer by using the effective uploading certificate.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any of the first aspects.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the first aspect described above.
In the embodiment of the disclosure, the file uploading method can configure different service rule parameter types for different file types at the rule layer, when uploading files of corresponding types, a rule strategy matched with the file type to be uploaded can be directly called to obtain the service rule parameters, an effective uploading certificate is obtained through interaction between the rule layer and the flow layer, and an uploading service function of the flow layer is called through the rule layer, so that uploading of file data is realized. The embodiment of the disclosure can configure the matched rule strategies for different types of files through the rule layer, that is, the service rule parameters related to the files can be flexibly obtained, uploading services among different types of files are not interfered with each other, and the maintenance cost is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 illustrates a flow chart of a text upload method according to an embodiment of the present disclosure;
fig. 2 shows a flowchart of step S20 according to an embodiment of the present disclosure;
fig. 3 shows a flowchart of step S30 according to an embodiment of the present disclosure;
FIG. 4 shows a flowchart of an upload timing of a file upload method according to an embodiment of the present disclosure;
FIG. 5 shows a block diagram of a file uploading apparatus according to an embodiment of the present disclosure;
FIG. 6 illustrates a block diagram of an electronic device 800 in accordance with an embodiment of the disclosure;
fig. 7 illustrates a block diagram of another electronic device 1900 in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
The embodiment of the present disclosure provides a file uploading method, where an execution subject of the file uploading method may be any electronic device, for example, the file uploading method may be executed by a terminal device or a server or other processing device, where the terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like. In some possible implementations, the text upload method may be implemented by a processor calling computer readable instructions stored in a memory.
Fig. 1 is a flowchart illustrating a text uploading method according to an embodiment of the present disclosure, and as shown in fig. 1, the text uploading method includes:
s10: acquiring file data of a file to be uploaded;
in some possible implementations, the text uploading method may be applied to any terminal device or server, and the following description takes an example in which the electronic device applies the file uploading method of the embodiment of the present disclosure. Various types of application programs (apps) can be loaded in the electronic device, and a user can upload a desired file through the application programs when operating the electronic device, where the type of the file to be uploaded can include a document, a picture, a video, or any other type of file, and the disclosure is not particularly limited thereto.
In some possible embodiments, the electronic device may receive, in operation, a file uploading operation performed by a user, and generate a file uploading request correspondingly, where the file uploading request may include a file to be uploaded and a type of the file to be uploaded or a rule policy matched with the file to be uploaded, or may also include identification information of the electronic device or an application program that needs to upload the file, or may also include information of a destination address to be uploaded, which is not limited in this disclosure.
In some possible embodiments, the process layer of the application program of the electronic device may directly convert the file to be uploaded into the file data in the preset format after receiving the file uploading request, or may also call a file conversion function of the rule layer to convert the file to be uploaded into the file data in the preset format. The application programs in the electronic device in the embodiment of the disclosure may be configured with a flow layer and a rule layer, and the flow layer and the rule layer may be configured with different function interfaces, respectively, wherein a plurality of application programs may multiplex the same flow layer, each application program may be configured with a respective rule layer, or a plurality of application programs may multiplex the same rule layer, and the disclosure may be configured as required. The process layer can be used for uniformly defining a file uploading interface, and can call the same uploading service function when uploading services of different file types are executed. The rule layer may be configured to configure different rule policies, where each rule policy is matched with a corresponding file type, and the rule policies may be used as a file processing function, where a user acquires file data of a file to be uploaded, such as at least one of a file type, a file size, a picture width, a height, and a video duration, and for each type of file type, the acquired file data may be the same or different, and may specifically be determined according to the corresponding rule policy.
In some possible embodiments, the preset format of the file data may include binary data, or may be data in other formats. In addition, different conversion modes can be provided for different types of files, and different types of file data can be provided for different system platforms (such as an iOS system and an Android system), which is not specifically limited by the present disclosure. For example, for the example of converting png format pictures into binary data under the iOS platform, the conversion method of executing file data may be: NSData data (uiimagepngrepressation (image)). image represents png format picture as file to be uploaded, UIImagePNGRepresentation represents file conversion function, and NSData represents file data in binary data form.
S20: acquiring a service rule parameter of the file to be uploaded based on the type of the file to be uploaded, wherein the service rule parameter comprises first information used for describing the file to be uploaded and second information of a receiver of the file to be uploaded;
in some possible embodiments, the service rule parameters of the file to be uploaded can be obtained by calling a rule policy matched with the type of the file to be uploaded in the rule layer through the flow layer under the condition that the flow layer receives the file uploading request. As described in the foregoing embodiment, the rule layer may be configured with rule policies matching different file types, and the process layer may determine the matching rule policies according to the types of the files to be uploaded, and perform acquisition of the service rule parameters of the files to be uploaded.
The service rule parameter obtained in the embodiment of the present disclosure may include first information and second information, where the first information may be information related to a file to be uploaded, and is used to describe the file to be uploaded, for example, the first information may include at least one of a file size, a type, a length, a width, a dimension, a resolution, and a duration of the file to be uploaded, or may also include other parameter information not shown, which is not specifically limited by the present disclosure. The second parameter may include information of a receiving party corresponding to the file to be uploaded, for example, a destination address to be uploaded may be included, or a communication mode, information of a sending party, and the like may also be included, which is not specifically limited in this disclosure.
S30: obtaining an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded;
in some possible embodiments, in the case of obtaining the business rule parameter of the file to be uploaded, the upload credential provided by the file server may be further obtained. The rule layer can directly request the effective uploading voucher from the process layer and receive the transmitted effective uploading voucher from the process layer. The content of the upload voucher is a string generated by the file server, and some other descriptive information, such as an expiration date, etc. The upload certificate itself represents an authorization permission, and when a file is uploaded to the file server, the file server needs to provide the file certificate, and then checks the certificate to determine whether to accept the upload request. Most file servers are charged separately so that authorization must be granted to allow uploads.
S40: and calling an uploading service function of the flow layer to upload the file data by using the effective uploading certificate through the rule layer.
In some possible embodiments, in the case of obtaining a valid upload credential, the rule layer may call an upload service function in the flow layer to perform an upload operation of the file data to the file server. The effective uploading certificate and the file data can be simultaneously transmitted to the file server, so that the file server can verify the uploading operation.
By the embodiment, the matched rule strategies can be conveniently configured for different types of files in the rule layer, the business rule parameters related to the files can be flexibly obtained, uploading services among the different types of files are not mutually interfered, and the maintenance cost is reduced.
The following describes a specific process of the embodiments of the present disclosure with reference to the drawings. As described in the foregoing embodiment, a user may generate a file upload request by operating an application program in an electronic device, and a flow layer of the application program may convert a file to be uploaded into a preset format when receiving the file upload request, for example, the conversion may be directly performed by a file conversion function in the flow layer, or the file data of the file to be uploaded may be obtained by calling a file conversion function in a rule layer to perform the conversion. In addition, according to the file type of the file to be uploaded, a rule strategy matched with the type of the file to be uploaded corresponding to the file uploading request in the flow layer can be called, and the service rule parameters of the file to be uploaded are obtained. The business rule parameters can comprise first information of the file to be uploaded and second information of the receiver. Fig. 2 shows a flowchart of step S20 according to an embodiment of the present disclosure, where the obtaining, based on the type of the file to be uploaded, a business rule parameter corresponding to the file data includes:
s21: determining a rule strategy corresponding to the type of the file to be uploaded in the rule layer based on the type of the file to be uploaded;
s22: and calling the rule strategy to obtain the service rule parameters of the file to be uploaded.
In some possible embodiments, the flow layer may directly invoke a rule policy matching the type of the file to be uploaded in the flow layer when the file upload request is received, where the rule policy matching the type of the file to be uploaded may be determined first. And executing the rule strategy based on the file to be uploaded to obtain the service rule parameters of the file to be uploaded. In the embodiment of the present disclosure, the rule layer may include at least one rule policy corresponding to a file type, and the rule policy may be expressed as a function for acquiring a service rule parameter of a file to be uploaded, so that the service rule parameter of the file to be uploaded may be acquired by calling the function when the file type is determined.
In some possible embodiments, by invoking a rule policy matched with the file to be uploaded, the first information of the file to be uploaded may be obtained by performing processing on the file to be uploaded, where the first information may include at least one of a type, a size, a length, a width, a duration, and a resolution of the file to be uploaded, and as long as the information related to the file to be uploaded is used as the first information. Meanwhile, for different types of files to be uploaded, the corresponding rule strategies can be different, and the corresponding obtained first information can be different, so that the method can be suitable for different file types. Under the condition that the newly added file type needs to be uploaded, only a rule strategy corresponding to the newly added file type needs to be added in a flow layer, program configuration does not need to be changed, and the method has the characteristics of simplicity, convenience and low cost.
In addition, the business rule parameter may further include second information, where the second information may include information of at least one of an uploading party and a receiving party of the file to be uploaded, where the information of the uploading party may include at least one of an identifier of the electronic device and an identifier of an application program that performs a file uploading operation. The information of the receiver may include an address to which the file to be uploaded needs to be uploaded, such as information of geology of the cloud server.
The first information and the second information obtained in the embodiment of the present disclosure may be obtained through two rule policies, or may also be obtained through one rule policy, which is not specifically limited in the present disclosure.
The embodiment can realize the acquisition of different service rule parameters of different file types through the configuration of the rule layer, wherein corresponding rule strategies can be adaptively added, and the flexible configuration of the rule strategies is realized.
Further, in the embodiments of the present disclosure, the configuration of the rule layer may be changed to add a required rule policy, for example, the electronic device may receive an instruction for adding a rule policy, for example, an instruction for adding a rule policy of the first file type. The user may generate the instruction for adding the rule policy by operating the electronic device, and may associate and store the rule policy of the first file type and the first file type in the rule layer in a case where the instruction is received. That is, the newly added uploaded file type only needs to newly add a rule strategy on the rule layer, and the process layer and the existing rules do not need to be modified, so that the maintenance cost can be reduced.
And under the condition of obtaining the service rule parameters of the file to be uploaded, an effective uploading certificate can be further obtained. Fig. 3 shows a flowchart of step S30 according to an embodiment of the present disclosure. The obtaining of the effective uploading certificate through the rule layer based on the service rule parameter of the file to be uploaded comprises:
s31: requesting an effective uploading certificate from the process layer through the rule layer;
s32: inquiring an effective uploading certificate corresponding to the uploading file business rule parameter in an uploading certificate library through the process layer;
s33: and transmitting the inquired effective uploading certificate to the rule layer.
In some possible embodiments, when the business rule parameters of the file to be uploaded are obtained by calling the rule policy of the rule layer, an effective uploading certificate can be requested from the process layer through the rule layer. The effective uploading certificate is a certificate for authorizing an application program provided by the file server to upload the file to be uploaded. The voucher may include the authorization content and the expiration date of the authorization. The corresponding effective uploading certificate is a certificate which allows the file to be uploaded, wherein the type of the file to be uploaded or other business rule parameters are included in the authorized content, and the uploading time is within the valid period.
In some possible embodiments, the rule layer sends a credential request to the flow layer in the event that the business rule parameters are obtained by invoking a rule policy of the rule layer. The process layer may include an upload credential repository, where the upload credential repository may include at least one credential, that is, a credential file for each purpose, and the process layer may query, in the upload credential repository, an effective upload credential corresponding to a business rule parameter of the upload file and transmit the queried credential to the rule layer, when receiving a credential request.
In some possible embodiments, the upload credential library in the process layer may not include an effective upload credential matching the business rule parameter of the file to be uploaded, and at this time, the process layer may further request the server for the effective upload credential. The process layer can request the server for uploading the certificate under the condition that the effective uploading certificate corresponding to the business rule parameter of the file to be uploaded is not inquired in the uploading certificate library; the server can further request the corresponding file certificate from the file server, and the server sends the file certificate returned by the file server to the process layer, further determines the received uploading certificate returned by the server as an effective uploading certificate, and further sends the effective uploading certificate to the rule layer.
The file certificate sent by the file service provider may be compressed and encrypted, and the rule layer may perform parsing processing, such as decompression and decryption, on the obtained file certificate to obtain a corresponding effective file certificate. By the configuration, data security can be improved, meanwhile, the flow layer can not execute data analysis, and the operations such as data processing and analysis are executed only through the rule layer, so that the cost of the flow layer can be further saved.
As described in the foregoing embodiment, the process layer may store an upload credential repository, and the process layer may verify validity of each credential in the upload credential repository. For example, the validity of the certificate in the uploaded certificate repository may be verified at a preset time interval, which may be a preset time, such as a week, a month, or other set time, and this disclosure is not limited thereto. Verifying the validity of the certificate may include verifying whether the certificate is within a validity period, indicating that the certificate is valid if the certificate is within the validity period, and indicating that the certificate is invalid if the certificate exceeds the validity period.
In the case of obtaining the validity result of each credential, the credential in the uploaded credential repository may be updated, for example, an invalid credential may be deleted, and only a valid credential may be retained.
Through the configuration, the voucher in the uploaded voucher library of the process layer can be ensured to be in the validity period. The time for effectively uploading the certificate matched with the business rule parameters can be shortened, and the waste of storage space is reduced.
In some possible embodiments, when the rule layer obtains an effective upload credential, the rule layer may call an upload service interface (function) of the process layer, and the upload service interface of the process layer may transmit the file data of the file to be uploaded and the effective upload credential to the file server, thereby completing the file upload service. In the process of calling the uploading service interface of the flow layer, the uploading interface of the file server can be further called, so that the uploading operation of the file data of the file to be uploaded is realized.
The file server can verify whether the uploading certificate is valid or not and generate an uploading result under the condition that the file server receives the file data to be uploaded and the uploading certificate. When the uploading certificate is verified to be valid, the file data can be stored, uploading results which are uploaded successfully are generated, and when the uploading certificate is verified to be invalid, the file data can be discarded, and uploading results which are uploaded unsuccessfully are generated. Or the file server can also verify whether the file data is damaged, and if the file data is damaged, an uploading result of uploading failure can be generated.
In some possible embodiments, the file server may return the upload result to the process layer, and similarly, the return result may also be compressed, decrypted or otherwise processed, and the process layer transmits the upload result to the rule layer, and performs parsing through the rule layer, and transmits the parsed upload result to the process layer. And then the electronic equipment can display the uploading result, so that the user can conveniently know the uploading result.
To facilitate an understanding of the embodiments of the present disclosure, the following description is made by way of example. Fig. 4 illustrates an upload timing flowchart of a file upload method according to an embodiment of the present disclosure. As shown in fig. 4, a user may operate the electronic device to upload a file such as a picture or video to the file server. The file uploading request can be generated firstly, the uploading interface of the process layer can be called based on the file uploading request, and the file uploading request can include the file type or information of the matched rule strategy, so that the process layer can directly call the rule strategy matched with the file to be uploaded in the rule layer to obtain the service rule parameters, and simultaneously, the file data of the file to be uploaded can be obtained through the process layer or the rule layer. And under the condition that the rule layer obtains the service rule parameters, the rule layer can request the flow layer for effective uploading of the certificate. If the process layer inquires a valid uploading certificate (token) in the uploading certificate library, the process layer can directly transmit the certificate to the rule layer. Or, if the process layer does not inquire a valid upload credential in the upload credential repository, the process layer may request a credential from a cloud server (a server corresponding to the application). The cloud server can request the file server for uploading the certificate, the file server returns original certificate data to the remote server, the cloud server can conduct operations such as encryption on the certificate data and returns the encrypted certificate data to the process layer, the process layer transmits the received data to the rule layer, and the rule layer conducts analysis to obtain the effective uploading certificate. Meanwhile, the process layer can also maintain and update the certificate in the file certificate library and delete the invalid certificate. The rule layer can call the uploading service interface of the flow layer under the condition of obtaining the effective uploading voucher, further call the uploading interface of the file server through the uploading service interface, and provide the effective uploading voucher. The file server may return the upload result after verifying the file credential or the file data. The flow layer further transmits the returned uploading result to the rule layer, and the rule layer transmits the analyzed uploading result to the flow layer after analyzing. And then displaying the uploading result in the electronic equipment.
The method and the device can realize that different service rule parameter types are configured for different file types in the rule layer, when files of corresponding types are uploaded, the rule strategy matched with the file types to be uploaded can be directly called to obtain the service rule parameters, effective uploading certificates are obtained through interaction between the rule layer and the flow layer, and uploading service functions of the flow layer are called through the rule layer to realize uploading of file data. The embodiment of the disclosure can configure the matched rule strategies for different types of files through the rule layer, that is, the service rule parameters related to the files can be flexibly obtained, uploading services among different types of files are not interfered with each other, and the maintenance cost is reduced.
In addition, the rule layer in the embodiment of the disclosure only interacts with the flow layer, the flow layer is responsible for interacting with an uploading component (application program) and a cloud, the uploading component is responsible for interacting with a user, the flow layer is responsible for maintaining a token management pool (file voucher pool), the token can be periodically deleted to obtain an overdue token, the flow layer is used for connecting the main users in series with the flow, the basic service is provided and is not responsible for any data analysis, the data analysis is all responsible for the rule layer, the flow layer belongs to the core of the uploading component, the rule layer is an attachment part of the uploading component, and the rule layer does not carry out cross-platform support along with the uploading component.
The existing file uploading technology still stays at a function level, componentization is not performed, a developer needs to rewrite codes of the whole uploading function in each application, development cost is high, the existing file uploading technology is seriously coupled, once a service rule is changed or an uploading file type needs to be newly added, the developer needs to modify or even rewrite a plurality of places, and maintenance cost is high. The existing file uploading technology provides different uploading interfaces aiming at different types of files, has different parameters, leads to complex use and high use cost, and has no layered design, so that related functions are difficult to reuse on different platforms. In contrast, the embodiment of the present disclosure adopts a modular decoupling concept to perform a layered design, and uses a combination of a service rule layer (hereinafter referred to as a "rule layer") and an upload process layer (hereinafter referred to as a "process layer"), so that the process layer can be multiplexed between different platforms, development cost is reduced, multiplexing capability is enhanced, the rule layer adopts a decision mode design, different services can share different rules independently, mutual interference between the different rules is avoided, and maintenance cost is reduced. The uploading interface is uniformly defined by the flow layer, different files use the same uploading interface, and the user can use the file more easily. The newly added uploaded file type only needs to newly add rules at a rule layer, does not need to modify a process layer and the existing rules, and reduces the maintenance cost
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted.
In addition, the present disclosure also provides a file uploading apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the file uploading methods provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the methods section are not repeated.
Fig. 5 is a block diagram illustrating a file uploading apparatus according to an embodiment of the present disclosure, and as shown in fig. 5, the file uploading apparatus includes:
the acquisition module is used for acquiring file data of a file to be uploaded;
the control module is used for obtaining the business rule parameters of the file to be uploaded based on the type of the file to be uploaded, and the business rule parameters comprise first information used for describing the file to be uploaded and second information of a receiver of the file to be uploaded; the file uploading module is used for acquiring an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded; and calling an uploading service function of the flow layer to upload the file data by using the effective uploading certificate through the rule layer.
In some possible embodiments, the obtaining file data of a file to be uploaded includes:
and converting the file to be uploaded into binary data by utilizing the flow layer, and determining the binary data as the file data.
In some possible embodiments, the obtaining, based on the type of the file to be uploaded, a business rule parameter corresponding to the file data includes:
determining a rule strategy corresponding to the type of the file to be uploaded in the rule layer based on the type of the file to be uploaded;
and calling the rule strategy to obtain the service rule parameters of the file to be uploaded.
In some possible embodiments, the control module is further configured to:
in response to receiving an instruction to add a rule policy of a first file type, associating and storing the first file type with the rule policy of the first file type in the rule layer.
In some possible embodiments, the obtaining, by a rule layer, a valid upload credential based on the business rule parameter of the file to be uploaded includes:
requesting an effective uploading certificate from the process layer through the rule layer;
inquiring an effective uploading certificate corresponding to the business rule parameter in an uploading certificate library through the process layer;
and transmitting the inquired effective uploading certificate to the rule layer.
In some possible embodiments, the obtaining, by a rule layer, an effective upload credential based on the business rule parameter of the file to be uploaded further includes:
responding to the situation that the effective uploading voucher corresponding to the business rule parameter of the file to be uploaded is not inquired in the uploading voucher library by the process layer, and requesting the server for uploading the voucher;
and determining the received uploading certificate returned by the server as a valid uploading certificate.
In some possible embodiments, the control module is further configured to:
performing validity verification on each uploading certificate in the uploading certificate library through the process layer, and updating the uploading certificate library based on a verification result of the validity, wherein,
the updating the upload credential repository based on the validation result comprises:
and deleting the invalid uploading certificate.
In some possible embodiments, the apparatus further comprises a display module for receiving and displaying the uploading result.
In some possible embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured as the above method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 6 illustrates a block diagram of an electronic device 800 in accordance with an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 6, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 7 illustrates a block diagram of another electronic device 1900 in accordance with an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 7, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A file uploading method is characterized by comprising the following steps:
acquiring file data of a file to be uploaded;
acquiring a service rule parameter of the file to be uploaded based on the type of the file to be uploaded, wherein the service rule parameter comprises first information used for describing the file to be uploaded and second information of a receiver of the file to be uploaded;
obtaining an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded;
and calling an uploading service function of the flow layer to upload the file data by using the effective uploading certificate through the rule layer.
2. The method according to claim 1, wherein the obtaining of the file data of the file to be uploaded comprises:
and converting the file to be uploaded into binary data by utilizing the flow layer, and determining the binary data as the file data.
3. The method according to claim 1, wherein the obtaining of the business rule parameter corresponding to the file data based on the type of the file to be uploaded comprises:
determining a rule strategy corresponding to the type of the file to be uploaded in the rule layer based on the type of the file to be uploaded;
and calling the rule strategy to obtain the service rule parameters of the file to be uploaded.
4. The method of claim 3, further comprising:
in response to receiving an instruction to add a rule policy of a first file type, associating and storing the first file type with the rule policy of the first file type in the rule layer.
5. The method according to claim 1, wherein obtaining valid uploading credentials through a rule layer based on business rule parameters of the file to be uploaded comprises:
requesting an effective uploading certificate from the process layer through the rule layer;
inquiring an effective uploading certificate corresponding to the business rule parameter in an uploading certificate library through the process layer;
and transmitting the inquired effective uploading certificate to the rule layer.
6. The method according to claim 5, wherein the obtaining of the valid uploading certificate through a rule layer based on the business rule parameter of the file to be uploaded further comprises:
responding to the situation that the effective uploading voucher corresponding to the business rule parameter of the file to be uploaded is not inquired in the uploading voucher library by the process layer, and requesting the server for uploading the voucher;
and determining the received uploading certificate returned by the server as a valid uploading certificate.
7. The method of claim 5 or 6, further comprising:
the flow layer performs validity verification on each uploading certificate in the uploading certificate library and updates the uploading certificate library based on the verification result of validity, wherein,
the updating the upload credential repository based on the validation result comprises:
and deleting the invalid uploading certificate.
8. The method of claim 1, further comprising:
and receiving and displaying the uploading result.
9. A file uploading apparatus, comprising:
the acquisition module is used for acquiring file data of a file to be uploaded;
the control module is used for obtaining the service rule parameters of the file to be uploaded based on the type of the file to be uploaded, wherein the service rule parameters comprise the file data and the information of the uploading address of the file to be uploaded; and the file uploading module is used for acquiring an effective uploading certificate through a rule layer based on the service rule parameter of the file to be uploaded, and calling an uploading service function of a flow layer to upload the file data through the rule layer by using the effective uploading certificate.
10. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any of claims 1 to 9.
CN201910989026.6A 2019-10-17 2019-10-17 File uploading method and device and electronic equipment Pending CN110753106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910989026.6A CN110753106A (en) 2019-10-17 2019-10-17 File uploading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910989026.6A CN110753106A (en) 2019-10-17 2019-10-17 File uploading method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110753106A true CN110753106A (en) 2020-02-04

Family

ID=69278705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910989026.6A Pending CN110753106A (en) 2019-10-17 2019-10-17 File uploading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110753106A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522779A (en) * 2020-06-22 2020-08-11 上海通联金融服务有限公司 Configuration processing method for multi-system file interaction
CN113890872A (en) * 2021-09-07 2022-01-04 深圳Tcl新技术有限公司 Data set uploading method and device, electronic equipment and storage medium
CN114924808A (en) * 2022-05-12 2022-08-19 中国电子科技集团公司第二十九研究所 SRAM type FPGA on-orbit reliable loading method based on duplicate storage program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2882193A1 (en) * 2013-12-04 2015-06-10 Facebook, Inc. Uploading and transcoding media files
TW201631492A (en) * 2015-02-26 2016-09-01 宏碁股份有限公司 File transmission method and system
CN108833154A (en) * 2018-06-06 2018-11-16 中科创达软件股份有限公司 Data processing method, device and the electronic equipment of rule-based engine
CN109871354A (en) * 2019-01-16 2019-06-11 平安科技(深圳)有限公司 A kind of method and device of file process
CN110188135A (en) * 2019-05-30 2019-08-30 中国联合网络通信集团有限公司 Document generating method and equipment
CN110213623A (en) * 2019-06-03 2019-09-06 上海哔哩哔哩科技有限公司 Video method for uploading, video upload device and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2882193A1 (en) * 2013-12-04 2015-06-10 Facebook, Inc. Uploading and transcoding media files
TW201631492A (en) * 2015-02-26 2016-09-01 宏碁股份有限公司 File transmission method and system
CN108833154A (en) * 2018-06-06 2018-11-16 中科创达软件股份有限公司 Data processing method, device and the electronic equipment of rule-based engine
CN109871354A (en) * 2019-01-16 2019-06-11 平安科技(深圳)有限公司 A kind of method and device of file process
CN110188135A (en) * 2019-05-30 2019-08-30 中国联合网络通信集团有限公司 Document generating method and equipment
CN110213623A (en) * 2019-06-03 2019-09-06 上海哔哩哔哩科技有限公司 Video method for uploading, video upload device and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522779A (en) * 2020-06-22 2020-08-11 上海通联金融服务有限公司 Configuration processing method for multi-system file interaction
CN111522779B (en) * 2020-06-22 2023-04-14 上海通联金融服务有限公司 Configuration processing method for multi-system file interaction
CN113890872A (en) * 2021-09-07 2022-01-04 深圳Tcl新技术有限公司 Data set uploading method and device, electronic equipment and storage medium
CN113890872B (en) * 2021-09-07 2024-03-12 深圳Tcl新技术有限公司 Data set uploading method and device, electronic equipment and storage medium
CN114924808A (en) * 2022-05-12 2022-08-19 中国电子科技集团公司第二十九研究所 SRAM type FPGA on-orbit reliable loading method based on duplicate storage program

Similar Documents

Publication Publication Date Title
EP2961128B1 (en) Method, system, computer program and computer program product for binding a token key to an account
US10313870B2 (en) Identity verification method and apparatus, and storage medium
CN113343212B (en) Device registration method and apparatus, electronic device, and storage medium
CN105847243B (en) Method and device for accessing intelligent camera
CN110753106A (en) File uploading method and device and electronic equipment
US9723486B2 (en) Method and apparatus for accessing network
CN110049062B (en) Verification code verification method, device, system, server, electronic equipment and storage medium
KR101642019B1 (en) Method, apparatus, program, and recording medium of verifying terminal
CN107147815B (en) Call processing method and device based on taxi taking
CN107819740B (en) Terminal device verification method, terminal device, sound box, server and medium
CN107423146B (en) Method, device and system for controlling mutual calling of application programs
CN111917728A (en) Password verification method and device
CN111030897A (en) Wired network distribution method and device, electronic equipment and storage medium
CN105282162A (en) Processing method and device for account management business
CN109962958B (en) Document processing method and device
US10402562B2 (en) Method and device for encrypting application
CN112163046A (en) Block chain-based equipment data storage method, device and system
CN109992503B (en) Automatic testing method and device
CN106791925B (en) Video generation method and device
CN107395724B (en) Network request method and device
CN111050209A (en) Multimedia resource playing method and device
CN110740360B (en) Multimedia resource playing method and device
CN111294230B (en) Parameter acquisition method and device
CN109255601B (en) Terminal bus card processing method and device
CN111695158B (en) Operation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204